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

2014-10-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 85de13b746ac by Serhiy Storchaka in branch 'default': Fixed tests on Windows for issue #21883. https://hg.python.org/cpython/rev/85de13b746ac -- ___ Python tracker ___

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

2014-10-04 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

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

2014-10-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2ba2ee5713bd by Serhiy Storchaka in branch 'default': Issue #21883: os.path.join() and os.path.relpath() now raise a TypeError with https://hg.python.org/cpython/rev/2ba2ee5713bd -- nosy: +python-dev ___

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

2014-09-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Ah, tests fail when Python runs without the -bb option. Here is fixed path. -- Added file: http://bugs.python.org/file36744/os_path_typeerrors_2.patch ___ Python tracker ___

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

2014-09-27 Thread Serhiy Storchaka
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_ty

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

2014-09-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka nosy: +serhiy.storchaka stage: -> patch review versions: +Python 3.5 -Python 3.4 ___ Python tracker ___ _

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

2014-06-29 Thread Matt Bachmann
Matt Bachmann added the comment: Includes change and tests. The test is similar so I just broke out the logic -- Added file: http://bugs.python.org/file35806/error_message.patch ___ Python tracker

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

2014-06-29 Thread Matt Bachmann
Changes by Matt Bachmann : Removed file: http://bugs.python.org/file35805/error_message.patch ___ Python tracker ___ ___ Python-bugs-list mail

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

2014-06-29 Thread Matt Bachmann
Changes by Matt Bachmann : -- keywords: +patch Added file: http://bugs.python.org/file35805/error_message.patch ___ Python tracker ___ ___

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

2014-06-29 Thread Matt Bachmann
New submission from Matt Bachmann: Howdy! I encountered this error when accidently passing in mixed types to reldir >>> import os >>> os.path.relpath('/Users/bachmann', b'.') Traceback (most recent call last): File "", line 1, in File "/usr/local/Cellar/python3/3.4.1/Frameworks/Python.fra