[issue21883] relpath: Provide better errors when mixing bytes and strings

Serhiy Storchaka report at bugs.python.org
Sat Sep 27 14:41:38 CEST 2014


Serhiy Storchaka added the comment:

Error message for posixpath.join() was fixed and enhanced in issue22034. Here is a patch which extends this enhancement to relpath() and to other os.path implementations (ntpath and macpath).

----------
Added file: http://bugs.python.org/file36743/os_path_typeerrors.patch

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


More information about the Python-bugs-list mailing list