Raymond Hettinger added the comment:

> Python has no mechanism for identifying the difference
> between an infinitely long generator and a long but finite generator.
> Eventually, if you left the code running, it should eventually 
> exhaust physical memory and the page file, then die with a MemoryError

This is exactly the case.

----------
nosy: +rhettinger
resolution:  -> not a bug
status: open -> closed
type: crash -> behavior

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21984>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to