
report at bugs
Nov 13, 2009, 5:10 PM
Post #1 of 5
(244 views)
Permalink
|
|
[issue5827] os.path.normpath doesn't preserve unicode
|
|
Ezio Melotti <ezio.melotti [at] gmail> added the comment: Thanks for the patch, I tried it on Linux and it seems to solve the problem. A few comments about it: 1) I'd change all the self.assertEqual(type(posixpath.normpath(u"")), unicode) to self.assertTrue(isinstance(posixpath.normpath(u""), unicode)); 2) a test for normpath(u'.') should probably be added; 3) in ntpath.py the 'slash' is actually a backslash, so the name of the var should be changed; ---------- nosy: +ezio.melotti, kcwu, loewis, sandberg priority: -> normal stage: -> patch review _______________________________________ Python tracker <report [at] bugs> <http://bugs.python.org/issue5827> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
|