What’s New in Jython 2.5

download What’s New in Jython 2.5

of 3

Transcript of What’s New in Jython 2.5

  • 8/7/2019 Whats New in Jython 2.5

    1/3

  • 8/7/2019 Whats New in Jython 2.5

    2/3

    Hookup asm compiler to antlr, solidify and add 2.5 features

    PEP 289: Generator expressions

    PEP 263: Defining Python Source Code Encodings

    PEP 318: Function/method decorators

    PEP 308: Conditional expressions

    PEP 343: with statement

    PEP 342: Coroutines via generators

    PEP 341: Unified try/except/finally

    PEP 352: Exceptions as new-style classes

    UpgradeTo25CPythonLib

    PEP 292: Simpler String Substitutions

    PEP 327: decimal type

    Ongoing parser fixes (universal newlines, line numbering, newline

    handling, interactive interpreter bugs)

    PEP 237: Unifying int/longPEP 357: Allowing Any Object to be Used for Slicing

    PEP 309: Partial Function Application

    PEP 305: csv module

    PEP 338: Executing modules as scripts

    unicodedata module

    PEP 328: Multi-line and absolute/relative imports

    elementtree module -> jython-elementtree

    New Java integration (based on new style classes)ReplaceJythonc (Not yet complete)

    The socket module now includes ipv6 support

    The socket module now also includes Internationalized Domain Names

    (RFC 3490) support on Java 6

    Performance improvements around method invocation. 2.5.2 runs the

    richards benchmark 3x faster and the pystone benchmark 20% faster than

    2.5.1

    The posix/nt module was rewritten in Java and the performance of its oftenperformance-critical stat function has significantly improved

    Improved OSError errno messages on Windows

    Slightly improved startup time (ongoing Issue #1380)

    Better readline module emulation (required for IPython support)

    Python functions can be directly passed to Java methods that take a single

    method interface (such as Callable or Runnable)

    Add google indexer (by Yin Wang and Steve Yegge)

    Acknowledgements

    The authors would like to thank those developers that made the Jython 2.5.2

  • 8/7/2019 Whats New in Jython 2.5

    3/3

    release possible. We also thank the community for helping to repair any issues

    that are found.