This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tim.golden
Recipients aheejin, tim.golden
Date 2010-08-12.13:01:33
SpamBayes Score 0.012067289
Marked as misclassified No
Message-id <1281618094.85.0.399844148579.issue9575@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2010-08-12 13:01:34tim.goldensetrecipients: + tim.golden, aheejin
2010-08-12 13:01:34tim.goldensetmessageid: <1281618094.85.0.399844148579.issue9575@psf.upfronthosting.co.za>
2010-08-12 13:01:33tim.goldenlinkissue9575 messages
2010-08-12 13:01:33tim.goldencreate