Message162517
| Author |
brett.cannon |
| Recipients |
Ronan.Lamy, brett.cannon, jcea, ncoghlan |
| Date |
2012年06月08日.02:49:24 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1339123766.27.0.656719017084.issue15031@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| 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 |
|