SIGN IN SIGN UP

gh-88569: add `ntpath.isreserved()` (#95486)

Add `ntpath.isreserved()`, which identifies reserved pathnames such as "NUL", "AUX" and "CON".

Deprecate `pathlib.PurePath.is_reserved()`.

---------

Co-authored-by: Eryk Sun <eryksun@gmail.com>
Co-authored-by: Brett Cannon <brett@python.org>
Co-authored-by: Steve Dower <steve.dower@microsoft.com>
B
Barney Gale committed
7e31d6dea276ac91402aefb023c58d239dfd9246
Parent: 6c2b419
Committed by GitHub <noreply@github.com> on 1/26/2024, 6:14:24 PM