[issue13234] os.listdir breaks with literal paths

STINNER Victor report at bugs.python.org
Tue Oct 25 22:19:53 CEST 2011


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

-        if (ch != SEP && ch != ALTSEP && ch != ':')
+        if (ch != '\\' && ch != '/' && ch != ':')

I don't understand this change in issue13234_py33_v4.patch (the change looks to be useless).

----------

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


More information about the Python-bugs-list mailing list