[issue39920] Pathlib path methods do not work with Window Dos devices

2020-03-10 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +eryksun ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39920] Pathlib path methods do not work with Window Dos devices

2020-03-10 Thread Eric V. Smith
Eric V. Smith added the comment: I know it's of limited use, but for me, this code works (returns True) on Cygwin versions 3.8.0b4 and 3.7.4. On a native Windows build 3.8.0a0, I get the exception the OP shows. I'll try and install comparable versions when I'm at a location with better

[issue39920] Pathlib path methods do not work with Window Dos devices

2020-03-09 Thread Charles Machalow
New submission from Charles Machalow : I ran the following as admin in the Python interpreter (on Windows): >>> d = pathlib.Path(r'\\.\PHYSICALDRIVE0') >>> print(d) \\.\PHYSICALDRIVE0\ >>> d.exists() Traceback (most recent call last): File "", line 1, in File