Issue1409
Created on 2009-07-25.18:13:49 by jimwhite, last changed 2009-07-26.08:17:00 by nriley.
msg4940 (view) |
Author: Jim White (jimwhite) |
Date: 2009-07-25.18:13:48 |
|
PyScriptEngineFactory returns "2.5.0" (a literal in the engine
implementation) for ScriptEngine.LANGUAGE_VERSION and
(Version.PY_MAJOR_VERSION, Version.PY_MINOR_VERSION,
Version.PY_MICRO_VERSION) for ScriptEngine.ENGINE_VERSION.
They should be the other way 'round.
This is part of the way that JSR-223 addresses the issue about conflicts
in different engines (the JSR-223 API implementation) that support the
"same" language in possibly incompatible ways.
|
msg4945 (view) |
Author: Nicholas Riley (nriley) |
Date: 2009-07-26.08:04:40 |
|
The way we're numbering things right now, Jython 2.5.x is compatible with version 2.5 of the Python language. Perhaps getLanguageVersion() should
return "2.5" rather than "2.5.0", but I think they're correct as is. (The
names of the constants in Version.java are potentially confusing...)
|
msg4946 (view) |
Author: Nicholas Riley (nriley) |
Date: 2009-07-26.08:17:00 |
|
OK, I just checked that in (r6587). At least it's not hard-coded any
more. :-)
|
|
Date |
User |
Action |
Args |
2009-07-26 08:17:00 | nriley | set | status: open -> closed resolution: fixed messages:
+ msg4946 |
2009-07-26 08:04:40 | nriley | set | nosy:
+ nriley messages:
+ msg4945 |
2009-07-25 18:16:27 | jimwhite | set | files:
+ jython-engine-version-patch.txt |
2009-07-25 18:13:49 | jimwhite | create | |
|