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 chris.jerdonek, ned.deily, python-dev, vstinner
Date 2012-07-30.11:46:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1343648763.56.0.326733885317.issue15463@psf.upfronthosting.co.za>
In-reply-to
Content
> I provided a patch to show how this can easily be done.

Your patch does not create a path longer than 100 characters. I didn't want to write such test, but I can review a patch adding such test.

The limit is not only applied on the filename, but also on the function name. It is maybe easier (more portable) to declare a function with a very long name:

exec(compile("def " + "f"*600 + "(): raise ValueError()\n" + "f"*600 + "()", "a", "exec"))
History
Date User Action Args
2012-07-30 11:46:03vstinnersetrecipients: + vstinner, ned.deily, chris.jerdonek, python-dev
2012-07-30 11:46:03vstinnersetmessageid: <1343648763.56.0.326733885317.issue15463@psf.upfronthosting.co.za>
2012-07-30 11:46:03vstinnerlinkissue15463 messages
2012-07-30 11:46:02vstinnercreate