Message5774

Author pjenvey
Recipients mcieslik, pjenvey
Date 2010-05-23.20:56:06
SpamBayes Score 1.23497e-05
Marked as misclassified No
Message-id <1274648168.43.0.877615472574.issue1613@psf.upfronthosting.co.za>
In-reply-to
Content
The recommended way of dealing with this is to continue using str literals in your code for compatibility with 2.5, but then preprocess your code for Python 3 with the 2to3 conversion script.

The distribute installer (the replacement for setuptools) can even automatically run 2to3 on your source code for you when it's installed on Python 3

A 2.5.2 release is coming any day now, then we'll focus on 2.6 afterwards. We try to stick with mostly bug fixes for minor revisions of Python/Jython. Otherwise we can have compatibility issues -- that is, code written for 2.5.2 should work on 2.5.1 (minus bugs fixed in 2.5.2).

If you're still interested in adding bytes support for Jython 2.6, you'll basically need to modify the antlr grammar in grammar/Python.g. Python 2.6 should have tests for the new bytes syntax that you can run against
History
Date User Action Args
2010-05-23 20:56:08pjenveysetmessageid: <1274648168.43.0.877615472574.issue1613@psf.upfronthosting.co.za>
2010-05-23 20:56:08pjenveysetrecipients: + pjenvey, mcieslik
2010-05-23 20:56:08pjenveylinkissue1613 messages
2010-05-23 20:56:06pjenveycreate