Contents TableOfContents

Jython 2.2

Slots

Bug Triage

regrtest Failures

Jython 2.3

yield is always a keyword.

enumerate() built-in added.

int() will now return a long instead of raising OverflowError if a number is too large.

built-in types support extending slicing syntax.

list.insert() changed to be consistent with negative slice indexing.

list.index() takes optional start, stop arguments.

Dictionaries gained a pop() method and .fromkeys() class method.

dict() constructor takes keyword arguments.

assert no longer checks debug flag.

Many type objects are now callable.

Replace jythonc

Solidify Import System

Fix Java to Python naming integration

PEP 218: A Standard Set Datatype

PEP 263: Defining Python Source Code Encodings

PEP 273: Importing Modules from Zip Archives

PEP 278: Universal Newline Support

PEP 285: A Boolean Type

PEP 305: Pickle Enhancements

Jython 2.4

Built-in set, frozenset

Unifying int/long

Generator expressions

Function/method decorators

Multi-line imports

Jython 2.5

Conditional expressions

'with' statement

Absolute & relative imports

Unified try/except/finally

New generator features

Exceptions as new-style classes

The index method