[issue15845] Fixing some byte-to-string conversion warnings

Serhiy Storchaka report at bugs.python.org
Mon Jan 7 20:46:29 CET 2013


Serhiy Storchaka added the comment:

> This will raise an error if curdir is a non-ascii str, so, unless the same error was already raised later in the code, this is backward incompatible.

On all supported platforms curdir is a ascii str (':' on Mac Classic, '.' on all other). The same idiom used in glob module.

----------

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


More information about the Python-bugs-list mailing list