Size: 546
Comment:
|
Size: 1453
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 12: | Line 12: |
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. |
|
Line 29: | Line 51: |
==== PEP 305: Pickle Enhancements ==== |
|
Line 31: | Line 55: |
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 |
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