New submission from Basil Peace <gr...@yandex.ru>:

If a path contains a junction pointing to a dir on a letter-less drive then 
`os.path.realpath` returns `Volume{<uuid>}\dir`, without `\\?\` prefix. 

This path, of course, doesn't work correctly. Actually, it looks relative.

Original issue: https://github.com/pypa/pip/issues/10597

----------
components: Windows
messages: 404923
nosy: grv87, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: os.path.realpath returns invalid path for junction pointing to 
letter-less volume
versions: Python 3.10, Python 3.8, Python 3.9

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue45597>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to