summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2003-04-11 18:43:06 (GMT)
committerGuido van Rossum <guido@python.org>2003-04-11 18:43:06 (GMT)
commitefbbb1c60237a9a2997dc4b1ab213e4c6f0da824 (patch)
treec2fd52c7be4ed7015749f88056e8f6c558419f8f /Misc
parenta1ce93f87cb221be9a7466c2f9d2b7dc494f458d (diff)
downloadcpython-efbbb1c60237a9a2997dc4b1ab213e4c6f0da824.zip
cpython-efbbb1c60237a9a2997dc4b1ab213e4c6f0da824.tar.gz
cpython-efbbb1c60237a9a2997dc4b1ab213e4c6f0da824.tar.bz2
Patch by Chad Netzer (with significant change):
- range() now works even if the arguments are longs with magnitude larger than sys.maxint, as long as the total length of the sequence fits. E.g., range(2**100, 2**101, 2**100) is the following list: [1267650600228229401496703205376L]. (SF patch #707427.)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index ebba33e..a85273a 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,11 @@ What's New in Python 2.3 beta 1?
Core and builtins
-----------------
+- range() now works even if the arguments are longs with magnitude
+ larger than sys.maxint, as long as the total length of the sequence
+ fits. E.g., range(2**100, 2**101, 2**100) is the following list:
+ [1267650600228229401496703205376L]. (SF patch #707427.)
+
- Some horridly obscure problems were fixed involving interaction
between garbage collection and old-style classes with "ambitious"
getattr hooks. If an old-style instance didn't have a __del__ method,