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/2008-April/078686.html below:

[Python-Dev] thoughts on having EOFError inherit from EnvironmentError?

[Python-Dev] thoughts on having EOFError inherit from EnvironmentError?Gregory P. Smith greg at krypto.org
Wed Apr 16 23:24:20 CEST 2008
On Mon, Apr 14, 2008 at 7:11 PM, Guido van Rossum <guido at python.org> wrote:

>
> But what operations raise EOFError? Surely you're not using
> raw_input()? It's really only there for teaching.
>
>
There are quite a few things in Lib/ that raise EOFError on their own.  Most
look like reasonable uses.  ftplib's getline() is likely the one raising it
such that it is ever seen when using urrlib2.  nntplib, telnetlib, xdrlib,
getpass, aifc, chunk, sunau, gzip, & mailbox also raise it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-dev/attachments/20080416/99dc1e3b/attachment.htm 
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