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 ashkop
Recipients ashkop, docs@python, gdementen
Date 2015-03-13.08:39:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1426235985.66.0.0285242313603.issue23645@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2015-03-13 08:39:45ashkopsetrecipients: + ashkop, gdementen, docs@python
2015-03-13 08:39:45ashkopsetmessageid: <1426235985.66.0.0285242313603.issue23645@psf.upfronthosting.co.za>
2015-03-13 08:39:45ashkoplinkissue23645 messages
2015-03-13 08:39:45ashkopcreate