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 vstinner
Recipients boya, loewis, pitrou, skrah, terry.reedy, vstinner
Date 2010-07-24.02:05:53
SpamBayes Score 0.00011293613
Marked as misclassified No
Message-id <1279937156.73.0.100854434346.issue9246@psf.upfronthosting.co.za>
In-reply-to
Content
Patch based on Python 2 source code, but raises a MemoryError (instead of an OSError) on memory allocation failure.

With my patch, bigpath.py ends with "cwd: 1028 ...aab/aaaaab" with Python Python 3.2. Same result with Python 2.6. 1028 is bigger than 1026 (previous hardcoded max length in bytes including nul byte).
History
Date User Action Args
2010-07-24 02:05:57vstinnersetrecipients: + vstinner, loewis, terry.reedy, pitrou, skrah, boya
2010-07-24 02:05:56vstinnersetmessageid: <1279937156.73.0.100854434346.issue9246@psf.upfronthosting.co.za>
2010-07-24 02:05:54vstinnerlinkissue9246 messages
2010-07-24 02:05:54vstinnercreate