SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

72156 0 71 Python

Some days, I think my comment of

/* this is harder to get right than you might think */

angered some God somewhere.  After noticing

    >>> range(5000000)[slice(96360, None, 439)]
    []

I found that my cute test for the slice being empty failed due to
overflow.  Fixed, and added simple test (not the above!).
M
Michael W. Hudson committed
173f11da5dae76c504dac3606c27b74673ccfee4
Parent: d7c14c6