• Michael W. Hudson's avatar
    Some days, I think my comment of · 173f11da
    Michael W. Hudson yazdı
    	/* 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!).
    173f11da
test_slice.py 680 Bytes