[Python-3000] Should len() clip to sys.maxsize or raiseOverflowError?
Greg Ewing
greg.ewing at canterbury.ac.nz
Wed Sep 3 03:54:13 CEST 2008
Nick Coghlan wrote:
> - we're just going to have to add a second C level method slot that uses
> the unaryfunc signature (returning PyObject *) for a "virtual length"
> method in addition to the existing mp_length and sq_length (which return
> PySsize_t).
As an aside, is there any plan to clean up the duplication
between the mp_ and sq_ method slots?
--
Greg
More information about the Python-3000
mailing list