Jython 2.5.2 should have the functionality of Python 2.5.2.
Doing a quick scan of the long list of release notes for Python 2.5.2, nothing immediately jumps out at me suggesting backwards compatibility is broken. Unless your code relies on the erratic behavior of one of the fixed bugs in the release notes, you should be fine.
My organization recently made the same upgrade (Jython 2.2.1 --> Jython 2.5.2) with no issues.
Some things I noticed while we were upgrading, that are peculiar to Jython:
-
os.chdir
now works on Windows.
- One of our Java packages started (properly) subclassing its
Exception
s as java.lang.Exception
s in Jython.
If you upgraded the Java runtime your Jython runs under, you should check its release notes as well, especially if your code makes extensive use of the built-in Java packages.