Message238014
This is true. In ceval.c default value for end index is PY_SSIZE_T_MAX. Whereas in sysmodule.c defined:
SET_SYS_FROM_STRING("maxsize",
PyInt_FromSsize_t(PY_SSIZE_T_MAX));
SET_SYS_FROM_STRING("maxint",
PyInt_FromLong(PyInt_GetMax()));
I added a patch that fixes documentation. But please note, that __getslice__ is deprecated since Python 2.0 and is no longer supported in Python 3. Use __getitem__ instead. |
|
Date |
User |
Action |
Args |
2015-03-13 08:39:45 | ashkop | set | recipients:
+ ashkop, gdementen, docs@python |
2015-03-13 08:39:45 | ashkop | set | messageid: <1426235985.66.0.0285242313603.issue23645@psf.upfronthosting.co.za> |
2015-03-13 08:39:45 | ashkop | link | issue23645 messages |
2015-03-13 08:39:45 | ashkop | create | |
|