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/2016-June/145435.html below:

[Python-Dev] When to use EOFError?

[Python-Dev] When to use EOFError? [Python-Dev] When to use EOFError?Ethan Furman ethan at stoneleaf.us
Mon Jun 27 18:47:31 EDT 2016
On 06/27/2016 03:20 PM, Guido van Rossum wrote:

> The point is that it's not an error. In Andre Malo's use case, at
> least, EOFError is used as a control flow exception, not as an error.

Like StopIteration then: only an error if it escapes.

--
~Ethan~

More information about the Python-Dev mailing list

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