Andres Ayala <[email protected]> added the comment:

Script to reproduce:

import os
import pathlib

# Change to the Root directory
os.chdir('/')

# Create a relative path object.
p = pathlib.Path('spam')
print(p.resolve())


Expected output:
/span

Incorrect output
//span

----------
Added file: https://bugs.python.org/file47630/plbug.py

_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue33660>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to