Amaury Forgeot d'Arc <amaur...@gmail.com> added the comment: nul is a special "dos device" _getfullpathname() correctly returns \\.\nul, but normpath() then simplifies it to \\nul
I suggest that normpath() be changed to consider \\.\ as a special prefix, and keep it intact when it appears at the start of the path. See also http://msdn.microsoft.com/en-us/library/aa365247(VS.85).aspx ---------- keywords: +easy nosy: +amaury.forgeotdarc _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7909> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com