summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Tishler <jason@tishler.net>2002-08-13 11:42:41 (GMT)
committerJason Tishler <jason@tishler.net>2002-08-13 11:42:41 (GMT)
commit83499db4f0ff82bb2f7a60ff593245d0ee55c2cf (patch)
tree5c237d9cfc96e134d3584faaaff0771846a53a17
parent4571e9d42a3b1734635385eb2c4328cfe82496cd (diff)
downloadcpython-83499db4f0ff82bb2f7a60ff593245d0ee55c2cf.zip
cpython-83499db4f0ff82bb2f7a60ff593245d0ee55c2cf.tar.gz
cpython-83499db4f0ff82bb2f7a60ff593245d0ee55c2cf.tar.bz2
Bug #556025: list(xrange(1e9)) --> seg fault
Close the bug report again -- this time for Cygwin due to a newlib bug. See the following for the details: http://sources.redhat.com/ml/newlib/2002/msg00369.html Note that this commit is only a documentation (i.e., comment) change.
-rw-r--r--Lib/test/test_b1.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/test/test_b1.py b/Lib/test/test_b1.py
index f8a3f01..938e76d 100644
--- a/Lib/test/test_b1.py
+++ b/Lib/test/test_b1.py
@@ -534,6 +534,11 @@ try:
# this assumes that the max data size (sys.maxint) == max address size
# this also assumes that the address size is at least 4 bytes
# with 8 byte addresses, the bug is not well tested
+ #
+ # Note: This test is expected to SEGV under Cygwin 1.3.12 or earlier
+ # due to a newlib bug. See the following mailing list thread for the
+ # details:
+ # http://sources.redhat.com/ml/newlib/2002/msg00369.html
list(xrange(sys.maxint / 4))
except MemoryError:
pass