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/2006-November/070023.html below:

[Python-Dev] infinities

[Python-Dev] infinities [Python-Dev] infinitiesFredrik Lundh fredrik at pythonware.com
Sun Nov 26 18:13:16 CET 2006
tomer filiba wrote:

> no, it requires *infinity* to accomplish x - y == x; y != 0, for example:
> 
> while limit > 0:
>     limit -= len(chunk)
> 
> with limit = posinf, the above code should be equivalent to "while True".

that's a remarkably stupid way to count bytes.  if you want to argue for 
additions to the language, you could at least bother to come up with a 
sane use case.

</F>

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