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
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