[Python-Dev] PEP 0424: A method for exposing a length hint (original) (raw)
Antoine Pitrou solipsis at pitrou.net
Sun Jul 15 18:26:19 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 Mon, 16 Jul 2012 02:21:20 +1000 Steven D'Aprano <steve at pearwood.info> wrote:
> My conclusion is that an infinite iterator is a documentation issue. > Just tell the user that it doesn't stop, and let them shoot themselves > in the foot in they want to. Buffer overflows are a documentation issue. Just tell the user not to overwrite memory they don't mean to, and let them shoot themselves in the foot if they want.
No, buffer overflows are bugs and they get fixed.
Regards
Antoine.
-- Software development and contracting: http://pro.pitrou.net
- 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 ]