Message162517
So the problem with the function is that had this been implemented in Python 3.2 it already would be outdated thanks to the 3.3 change of storing the file size in the .pyc file, and simply changing the length of the sequence returned would probably break code.
I have thought about exposing something like this over the years, and I always come back to the conclusion that it is really touchy and the best you could do is pass in the data and info you have from the source and either raise the proper exception or return the code object/bytes. |
|
Date |
User |
Action |
Args |
2012-06-08 02:49:26 | brett.cannon | set | recipients:
+ brett.cannon, jcea, ncoghlan, Ronan.Lamy |
2012-06-08 02:49:26 | brett.cannon | set | messageid: <1339123766.27.0.656719017084.issue15031@psf.upfronthosting.co.za> |
2012-06-08 02:49:25 | brett.cannon | link | issue15031 messages |
2012-06-08 02:49:24 | brett.cannon | create | |
|