Jason R. Coombs <jar...@jaraco.com> added the comment:

In the case where I did use VOLUME_NAME_NT, I think I chose it because it 
returned a more robust result. That is, it's not clear what the result is if 
the result is not on a volume that is assigned a drive letter, but all files 
referenced must have a VOLUME_NAME_NT.

In other usage, I found that use of VOLUME_NAME_NT was unnatural, because it 
returned for the user a path that would be unfamiliar, rather than the more 
traditional VOLUME_NAME_DOS.

So, where the result is to be used by the interpreter and isn't exposed to the 
user, it seems prudent to use VOLUME_NAME_NT, and where the user will see the 
result, use VOLUME_NAME_DOS.

I admit, this is only a rule of thumb and may be subject to correction, but 
this was my motivation when making these selections.

----------

_______________________________________
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