Eryk Sun <eryk...@gmail.com> added the comment:

It's worth mentioning that pathlib restricts the first character of a Windows 
drive name to the set of ASCII letters in 
pathlib._WindowsFlavour.drive_letters. For example:

    >>> Path('3') / 'C:3'
    WindowsPath('C:3')

vs.

    >>> Path('3') / '{:3'
    WindowsPath('3/{:3')

This design supports normal DOS drive names such as drives assigned 
automatically or via diskmgmt.msc, diskpart.exe, and so on.

----------

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

Reply via email to