Patches item #1654417, was opened at 2007-02-07 12:58
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1654417&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Andy Wingo (wingo)
Assigned to: Nobody/Anonymous (nobody)
Summary: operator.c slice functions need to parse ssize_t

Initial Comment:
To reproduce, on a system with 64 bits in sys.maxint:

$ python
x = [3,4,5]
del x[1:]
x = [3,4,5]
from operator import delslice
import sys
delslice(x, 1, sys.maxint)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
OverflowError: signed integer is greater than maximum

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1654417&group_id=5470
_______________________________________________
Patches mailing list
Patches@python.org
http://mail.python.org/mailman/listinfo/patches

Reply via email to