Commit ab8fe83
pythonGH-77621: Delay some imports from pathlib (python#112244)
Import `contextlib`, `glob` and `re` only as required.
Co-authored-by: Alex Waygood <[email protected]>1 parent e2f3f28 commit ab8fe83
File tree
2 files changed
+11
-5
lines changed- Lib
- Misc/NEWS.d/next/Library
2 files changed
+11
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | | - | |
11 | 9 | | |
12 | 10 | | |
13 | 11 | | |
14 | 12 | | |
15 | | - | |
16 | 13 | | |
17 | 14 | | |
18 | 15 | | |
| |||
75 | 72 | | |
76 | 73 | | |
77 | 74 | | |
| 75 | + | |
| 76 | + | |
78 | 77 | | |
79 | 78 | | |
80 | 79 | | |
81 | 80 | | |
82 | 81 | | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
83 | 86 | | |
84 | 87 | | |
85 | 88 | | |
86 | 89 | | |
87 | 90 | | |
88 | | - | |
| 91 | + | |
89 | 92 | | |
90 | 93 | | |
91 | 94 | | |
| |||
981 | 984 | | |
982 | 985 | | |
983 | 986 | | |
984 | | - | |
| 987 | + | |
| 988 | + | |
985 | 989 | | |
986 | 990 | | |
987 | 991 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
0 commit comments