[Python-checkins] r42900 - python/trunk/Misc/NEWS
guido.van.rossum
python-checkins at python.org
Tue Mar 7 19:54:10 CET 2006
Author: guido.van.rossum
Date: Tue Mar 7 19:54:08 2006
New Revision: 42900
Modified:
python/trunk/Misc/NEWS
Log:
Add note about PEP 357.
Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS (original)
+++ python/trunk/Misc/NEWS Tue Mar 7 19:54:08 2006
@@ -12,6 +12,11 @@
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
More information about the Python-checkins
mailing list