A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-July/026504.html below:

[Python-Dev] Termination of two-arg iter()

[Python-Dev] Termination of two-arg iter() [Python-Dev] Termination of two-arg iter()Greg Ewing greg@cosc.canterbury.ac.nz
Mon, 15 Jul 2002 13:40:41 +1200 (NZST)
Oren Tirosh <oren-py-d@hishome.net>:

> The hypothetical IteratorExhausted is an error.

Calling it IteratorExhaustedError would make this clearer.

But I'm not sure it would be a good idea to complexify
the iterator protocol any more than absolutely necessary,
and thus place an extra burden on all iterator implementors.

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg@cosc.canterbury.ac.nz	   +--------------------------------------+




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4