From: SourceForge.net <no...@so...> - 2006-10-13 21:01:17
|
Bugs item #1565644, was opened at 2006-09-26 12:58 Message generated for change (Settings changed) made by otmarhumbel You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112867&aid=1565644&group_id=12867 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Pekka Laukkanen (laukpe) >Assigned to: Otmar Humbel (otmarhumbel) Summary: Jython version same in HEAD as in previous release (2.2a1) Initial Comment: I installed latest HEAD installer from [1] to test it with our software. When I started it for the first time I noticed that it has the version number identical to the previoud 2.2 alpha 1 release. Jython 2.2a1 on java1.5.0_06 (JIT: null) Type "copyright", "credits" or "license" for more information. >>> import sys >>> sys.version '2.2a1' >>> sys.version_info (2, 2, 0, 'alpha', 1) Because there has been quite a lot of changes after the latest release it would help our testing if this HEAD version could have some other version (basically anything different would be ok) so that we could add version checks into the code and have different code for different Jython versions. We, for example, have a workaround for a unicode bug 1538001 [2] and now that it's fixed in HEAD we should use different code when using this version. [1] http://homepage.sunrise.ch/mysunrise/ohumbel/ [2] http://jython.org/bugs/1538001 ---------------------------------------------------------------------- Comment By: Pekka Laukkanen (laukpe) Date: 2006-10-11 19:45 Message: Logged In: YES user_id=1379331 'platform' module sounds like a great idea. Seeing the build number would make recognizing the exact version pretty trivial. Getting different result from sys.version and sys.version_info in a snapshot than in the latest version would still be nice. How CPython handling this? ---------------------------------------------------------------------- Comment By: Khalid Zuberi (kzuberi) Date: 2006-10-11 18:06 Message: Logged In: YES user_id=18288 Not sure if the snapshots will grow into a common practice for Jython, but note that cpython in 2.3 introduced a 'platform' module, and there is also patch to make it play nicer with other python implementations: http://python.org/sf/1563842 Perhaps it would be handy in general to have this module available in jython even in 2.2. Then at least one could use say platform.python_build as a differentiator. - kz ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2006-09-26 23:20 Message: Logged In: NO The revision of the HEAD installer I used was 2916. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112867&aid=1565644&group_id=12867 |