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 skrah
Recipients boya, loewis, pitrou, skrah, terry.reedy, vstinner
Date 2010-07-23.21:43:39
SpamBayes Score 0.0013647572
Marked as misclassified No
Message-id <20100723214202.GA17002@yoda.bytereef.org>
In-reply-to <1279920782.43.0.39999044991.issue9246@psf.upfronthosting.co.za>
Content
Terry J. Reedy <report@bugs.python.org> wrote:
> mkdir: 242
> Traceback (most recent call last):
>   File "C:\Programs\Python31\misc\t1.py", line 14, in <module>
>     os.mkdir(s)
> WindowsError: [Error 206] The filename or extension is too long: 'C:\\Programs\\Python31\\misc\\aaaaab\\aaaaab\\aaaaab\\aaaaab\\aaaaab\\aaaaab\\aaaaab\\aaaaab\\aaaaab\\aaaaab\\aaaaab\\aaaaab\\aaaaab\\aaaaab\\aaaaab\\aaaaab\\aaaaab\\aaaaab\\aaaaab\\aaaaab\\aaaaab\\aaaaab\\aaaaab\\aaaaab\\aaaaab\\aaaaab\\aaaaab\\aaaaab\\aaaaab\\aaaaab\\aaaaab\\aaaaab'

On Windows MAX_PATH seems to be 260 characters:

http://msdn.microsoft.com/en-us/library/aa365247(VS.85).aspx
History
Date User Action Args
2010-07-23 21:43:41skrahsetrecipients: + skrah, loewis, terry.reedy, pitrou, vstinner, boya
2010-07-23 21:43:39skrahlinkissue9246 messages
2010-07-23 21:43:39skrahcreate