[Python-Dev] PEP 0424: A method for exposing a length hint
Serhiy Storchaka
storchaka at gmail.com
Mon Jul 16 11:42:09 CEST 2012
More information about the Python-Dev mailing list
Mon Jul 16 11:42:09 CEST 2012
- Previous message: [Python-Dev] PEP 0424: A method for exposing a length hint
- Next message: [Python-Dev] PEP 0424: A method for exposing a length hint
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 16.07.12 10:36, Stefan Behnel wrote: > Return values could be -1 for "don't know" and -2 for "infinite" at the C > level, and NotImplemented for "don't know" at the Python level. PY_SSIZE_T_MAX is better value for "infinite". In any case no difference for consumer between PY_SSIZE_T_MAX and a real infinity.
- Previous message: [Python-Dev] PEP 0424: A method for exposing a length hint
- Next message: [Python-Dev] PEP 0424: A method for exposing a length hint
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list