Barney Gale
f772d0d08a
GH-78707: Drop deprecated pathlib.PurePath.[is_]relative_to()
arguments ( #118780 )
...
Remove support for supplying additional positional arguments to
`PurePath.relative_to()` and `is_relative_to()`. This has been deprecated
since Python 3.12.
2024-05-10 15:53:46 +00:00
Barney Gale
b4bdf83cc6
GH-116380: Revert move of pathlib globbing code to pathlib._glob
( #118678 )
...
The previous change made the `glob` module slower to import, because it
imported `pathlib._glob` and hence the rest of `pathlib`.
Reverts a40f557d7b
.
2024-05-07 00:32:48 +00:00
Barney Gale
d8d94911e2
Move pathlib implementation out of __init__.py
( #118582 )
...
Use the `__init__.py` file only for imports that define the API, following the example of asyncio.
2024-05-05 20:57:19 +01:00