commit | d4e5be53409699d89c358bd16784bad59c37dfa7 | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Wed May 22 23:19:17 2002 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Wed May 22 23:19:17 2002 +0000 |
tree | e73ff4030deebb52034b224a1525e3a4e8bba5f0 | |
parent | 7779b208aedd9622029b20712c918c97a2c67eed [diff] |
Closes: #556025 seg fault when doing list(xrange(1e9)) A MemoryError is now raised when the list cannot be created. There is a test, but as the comment says, it really only works for 32 bit systems. I don't know how to improve the test for other systems (ie, 64 bit or systems where the data size != addressable size, e.g. 64 bit data, but 48 bit addressable memory)