Brian Curtin <cur...@acm.org> added the comment:

I committed the code you speak of (posix__getfinalpathname in 
Modules/posixmodule.c), but I don't know if I have a great answer for that 
question. It looks like VOLUME_NAME_NT (path with volume device path) should 
just be changed to VOLUME_NAME_DOS (path with drive letter). In fact, I think 
it would be more "accurate" since NT yields with a larger path, thus we 
over-allocate up front before we go on and use DOS and then trim the target 
path down.

Jason (author of that function, added as nosy) might have some other input as 
to why he used VOLUME_NAME_NT there.

----------
assignee: rhettinger -> 
nosy: +jaraco
status: pending -> open

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

Reply via email to