Message113677
I can't get it crash on a path that short. I can produce an error message if I push it beyond the 254 limit, but you can work around that by applying the filesystem namespace prefix:
<code>
import os
path = "c:\\" + "\\".join (130 * ['xx'])
os.makedirs (path)
#
# will fail more or less violently
#
path = "\\\\?\\" + path
os.makedirs (path)
os.listdir (path)
</code>
Probably related issues:
http://bugs.python.org/issue9246
http://bugs.python.org/issue4071 |
|
Date |
User |
Action |
Args |
2010-08-12 13:01:34 | tim.golden | set | recipients:
+ tim.golden, aheejin |
2010-08-12 13:01:34 | tim.golden | set | messageid: <1281618094.85.0.399844148579.issue9575@psf.upfronthosting.co.za> |
2010-08-12 13:01:33 | tim.golden | link | issue9575 messages |
2010-08-12 13:01:33 | tim.golden | create | |
|