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 <rep...@bugs.python.org> <http://bugs.python.org/issue15845> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com