mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Add note about PEP 357.
This commit is contained in:
parent
38fff8c4e4
commit
9aa37ab5d2
1 changed files with 5 additions and 0 deletions
|
|
@ -12,6 +12,11 @@ What's New in Python 2.5 alpha 1?
|
|||
Core and builtins
|
||||
-----------------
|
||||
|
||||
- PEP 357, patch 1436368: add an __index__ method to int/long and a matching
|
||||
nb_index slot to the PyNumberMethods struct. The slot is consulted instead
|
||||
of requiring an int or long in slicing and a few other contexts, enabling
|
||||
other objects (e.g. Numeric Python's integers) to be used as slice indices.
|
||||
|
||||
- Fixed various bugs reported by Coverity's Prevent tool.
|
||||
|
||||
- PEP 352, patch #1104669: Make exceptions new-style objects. Introduced the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue