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 <>
> 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"))
Date User Action Args
2012-07-30 11:46:03vstinnersetrecipients: + vstinner, ned.deily, chris.jerdonek, python-dev
2012-07-30 11:46:03vstinnersetmessageid: <>
2012-07-30 11:46:03vstinnerlinkissue15463 messages
2012-07-30 11:46:02vstinnercreate