[issue13234] os.listdir breaks with literal paths
Martin v. Löwis
report at bugs.python.org
Tue Oct 25 20:33:41 CEST 2011
Martin v. Löwis <martin at v.loewis.de> added the comment:
This issue is getting messy. I declare that this issue is *only* about the original problem reported in msg146031. When that is fixed, this issue will be closed, and any further issues need to be reported separately.
As for the original problem, ISTM that the right fix is to replace
namebuf[len++] = '/';
with
namebuf[len++] = '\\';
No further change should be necessary.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13234>
_______________________________________
More information about the Python-bugs-list
mailing list