Message10004
I didn't really see the bug-fix as an "API change". But I'll add that as it could conceivably bite a user. We're not close to running out of integers yet.
Playing with this, if having ensured my *$py.class files are old, then I hide the source x.py, the old Jython (API version matches x$py.class) runs, with the expected wrong result, while the new Jython (API version one up from x$py.class) says:
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named x
rather than anything more nuanced about what really happened.
In comparable circumstances, CPython says:
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: Bad magic number in u\v\w\x.pyc
although I suppose that could be put better too. |
|
Date |
User |
Action |
Args |
2015-05-04 09:15:09 | jeff.allen | set | messageid: <1430730909.99.0.521054768023.issue2158@psf.upfronthosting.co.za> |
2015-05-04 09:15:09 | jeff.allen | set | recipients:
+ jeff.allen, fwierzbicki, zyasoft, Arfrever, tkanerva |
2015-05-04 09:15:09 | jeff.allen | link | issue2158 messages |
2015-05-04 09:15:09 | jeff.allen | create | |
|