Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

Because '{' in '{:3' is a drive letter. When you open file with path '{:3' you 
open file with name '3' in the current directory of drive '{', not file with 
name '{:3' on current drive and directory.

It is not a Python bug. If you think there is a bug, please file a report for 
Windows. The behavior of os.path.join() will be changed after Windows change 
its file path resolution rules.

----------
nosy: +serhiy.storchaka -2262720766
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

_______________________________________
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