Message166883
> 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:03 | vstinner | set | recipients:
+ vstinner, ned.deily, chris.jerdonek, python-dev |
2012-07-30 11:46:03 | vstinner | set | messageid: <1343648763.56.0.326733885317.issue15463@psf.upfronthosting.co.za> |
2012-07-30 11:46:03 | vstinner | link | issue15463 messages |
2012-07-30 11:46:02 | vstinner | create | |
|