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)
N
Neal Norwitz committed
d4e5be53409699d89c358bd16784bad59c37dfa7
Parent: 7779b20