Message136646
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. |
|
Date |
User |
Action |
Args |
2011-05-23 14:30:43 | vstinner | set | recipients:
+ vstinner, benjamin.peterson, peter.fankhaenel |
2011-05-23 14:30:43 | vstinner | set | messageid: <1306161043.04.0.823162617748.issue12159@psf.upfronthosting.co.za> |
2011-05-23 14:30:42 | vstinner | link | issue12159 messages |
2011-05-23 14:30:42 | vstinner | create | |
|