Message10004

Author jeff.allen
Recipients Arfrever, fwierzbicki, jeff.allen, tkanerva, zyasoft
Date 2015-05-04.09:15:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1430730909.99.0.521054768023.issue2158@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2015-05-04 09:15:09jeff.allensetmessageid: <1430730909.99.0.521054768023.issue2158@psf.upfronthosting.co.za>
2015-05-04 09:15:09jeff.allensetrecipients: + jeff.allen, fwierzbicki, zyasoft, Arfrever, tkanerva
2015-05-04 09:15:09jeff.allenlinkissue2158 messages
2015-05-04 09:15:09jeff.allencreate