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 rhettinger
Recipients ezio.melotti, kristjan.jonsson, meador.inge, pitrou, progrper, rhettinger, terry.reedy
Date 2012-04-15.19:37:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1334518641.15.0.3290661537.issue14507@psf.upfronthosting.co.za>
In-reply-to
Content
ISTM this would do more harm than good.  An introduce a new requirement for all iterators, introducing new arbitrary limits and slowing down all iterators (this is currently a simple, fast, light-weight protocol). 

Also this seems to be just a CPython issue (the JVM manages its own stack).   Please don't muck-up the iterator protocol over this non-issue.  It isn't worth it.  If someone wants a stackless version of Python, they should use a stackless version of Python.

There are other crashers we choose to ignore (involving gc.getreferrers, bytecode hacks, ctypes, etc).  I think this should go in that category and I would be happy to add a note to that effect in the docs for itertools.
History
Date User Action Args
2012-04-15 19:37:21rhettingersetrecipients: + rhettinger, terry.reedy, pitrou, kristjan.jonsson, ezio.melotti, meador.inge, progrper
2012-04-15 19:37:21rhettingersetmessageid: <1334518641.15.0.3290661537.issue14507@psf.upfronthosting.co.za>
2012-04-15 19:37:20rhettingerlinkissue14507 messages
2012-04-15 19:37:20rhettingercreate