[Python-Dev] PEP for adding an sq_index slot so that any object, a or b, can be used in X[a:b] notation (original) (raw)

Jim Jewett jimjjewett at gmail.com
Mon Feb 13 22:24:52 CET 2006


Travis wrote:

The patch adds a new API function int PyObjectAsIndex(obj)

How did you decide between int and long?

Why not ssize_t?



More information about the Python-Dev mailing list