]> granicus.if.org Git - python/commitdiff
Bug #556025: list(xrange(1e9)) --> seg fault
authorJason Tishler <jason@tishler.net>
Tue, 13 Aug 2002 11:42:41 +0000 (11:42 +0000)
committerJason Tishler <jason@tishler.net>
Tue, 13 Aug 2002 11:42:41 +0000 (11:42 +0000)
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.

Lib/test/test_b1.py

index f8a3f0167b14162624f74c1e49f4d1dd3e5e015c..938e76d5ae70be081d9f9607eb5568b5f52cb66b 100644 (file)
@@ -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