Tim Peters <tim.one@home.com>: > I agree an .eof() method would be better than a data member. Note that > whenever Python internals hit stream EOF today, they call clearerr(), so > simply adding an feof() wrapper wouldn't suffice. Guido seemed to try to > make sure that feof() would never be useful <0.8 wink>. That's inconvenient, but only means the internal Python state flag that feof() would inspect would have to be checked after each read. -- <a href="http://www.tuxedo.org/~esr/">Eric S. Raymond</a> "...The Bill of Rights is a literal and absolute document. The First Amendment doesn't say you have a right to speak out unless the government has a 'compelling interest' in censoring the Internet. The Second Amendment doesn't say you have the right to keep and bear arms until some madman plants a bomb. The Fourth Amendment doesn't say you have the right to be secure from search and seizure unless some FBI agent thinks you fit the profile of a terrorist. The government has no right to interfere with any of these freedoms under any circumstances." -- Harry Browne, 1996 USA presidential candidate, Libertarian Party
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