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/2009-April/088247.html below:

[Python-Dev] BufferedReader.peek() ignores its argument

[Python-Dev] BufferedReader.peek() ignores its argument [Python-Dev] BufferedReader.peek() ignores its argumentAntoine Pitrou solipsis at pitrou.net
Sun Apr 5 12:19:46 CEST 2009
Alexandre Vassalotti <alexandre <at> peadrop.com> writes:
> 
> I am not sure if this is a good idea. Currently, the argument of
> peek() is documented as a lower bound that cannot exceed the size of
> the buffer:

Unfortunately, in practice, the argument is neither a lower bound nor an upper
bound. It's just used as some kind of internal heuristic (in the Python version)
or not used at all (in the C version).

Regards

Antoine.


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