cpython/Lib/test/test_pathlib
Barney Gale 8b3cccf3f9
GH-125413: Revert addition of pathlib.Path.scandir() method (#127377)
Remove documentation for `pathlib.Path.scandir()`, and rename the method to
`_scandir()`. In the private pathlib ABCs, make `iterdir()` abstract and
call it from `_scandir()`.

It's not worthwhile to add this method at the moment - see discussion:
https://discuss.python.org/t/ergonomics-of-new-pathlib-path-scandir/71721

Co-authored-by: Steve Dower <steve.dower@microsoft.com>
2024-12-05 21:39:43 +00:00
..
__init__.py
test_pathlib.py GH-127381: pathlib ABCs: remove PathBase.lstat() (#127382) 2024-11-29 21:03:39 +00:00
test_pathlib_abc.py GH-125413: Revert addition of pathlib.Path.scandir() method (#127377) 2024-12-05 21:39:43 +00:00