New submission from mert <mertdemirb...@gmail.com>:

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 <rep...@bugs.python.org>
<https://bugs.python.org/issue44778>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to