This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients benjamin.peterson, peter.fankhaenel, vstinner
Date 2011-05-23.14:30:42
SpamBayes Score 0.00045698427
Marked as misclassified No
Message-id <1306161043.04.0.823162617748.issue12159@psf.upfronthosting.co.za>
In-reply-to
Content
len(obj) is implemented using PyObject_Size() which is stores the result into a Py_ssize_t, and so is limited to sys.maxsize (2**31-1 or 2**63-1).

This implementation detail should be documented.
History
Date User Action Args
2011-05-23 14:30:43vstinnersetrecipients: + vstinner, benjamin.peterson, peter.fankhaenel
2011-05-23 14:30:43vstinnersetmessageid: <1306161043.04.0.823162617748.issue12159@psf.upfronthosting.co.za>
2011-05-23 14:30:42vstinnerlinkissue12159 messages
2011-05-23 14:30:42vstinnercreate