New submission from mert <[email protected]>:
PureWindowsPath('C:\\Users')
When I call __str__ method of PureWindowsPath on Windows,Cygwin,Linux
enviroment, I get "C:\Users" as expected. But when I run the same code on MingW
environment I get "C:/Users".
from pathlib import PureWindowsPath, Path
p = PureWindowsPath('C:\\Users')
print(str(p))
----------
messages: 398548
nosy: demirbey
priority: normal
severity: normal
status: open
title: os seperator error. str method of PureWindowsPath on Ming64 env
versions: Python 3.8
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue44778>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com