[issue3426] os.path.abspath with unicode argument should call os.getcwdu

Ezio Melotti report at bugs.python.org
Thu Jan 14 05:58:03 CET 2010


Ezio Melotti <ezio.melotti at gmail.com> added the comment:

I added the fix on ntpath and more tests. I also refactored the tests I added for posixpath.
I don't know what is the situation of os2emxpath and macpath and if they should be fixed too. The code for abspath is currently the same on all 4 the modules but I don't see any easy way to avoid the duplication and move it to genericpath because they call the module-dependent join and normpath.

----------
Added file: http://bugs.python.org/file15867/issue3426-2.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3426>
_______________________________________


More information about the Python-bugs-list mailing list