• Neal Norwitz's avatar
    Closes: #556025 seg fault when doing list(xrange(1e9)) · d4e5be53
    Neal Norwitz yazdı
    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)
    d4e5be53
test_b1.py 21.1 KB