New submission from Guido van Rossum: (Bruce Leban, on python-ideas:)
""" ntpath still gets drive-relative paths wrong on Windows: >>> ntpath.join(r'\\a\b\c\d', r'\e\f') '\\e\\f' # should be r'\\a\b\e\f' >>> ntpath.join(r'C:\a\b\c\d', r'\e\f') '\\e\\f' # should be r'C:\e\f' (same behavior in Python 2.7 and 3.3) """ (Let's also make sure PEP 428 / pathlib fixes this.) ---------- components: Library (Lib) keywords: easy messages: 201784 nosy: gvanrossum, pitrou priority: normal severity: normal status: open title: ntpath doesn't join paths correctly when a drive is present type: behavior versions: Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19456> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com