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/2015-December/142550.html below:

[Python-Dev] Asynchronous context manager in a typical network server

[Python-Dev] Asynchronous context manager in a typical network server [Python-Dev] Asynchronous context manager in a typical network serverSven R. Kunze srkunze at mail.de
Sun Dec 20 17:01:16 EST 2015
On 18.12.2015 22:09, Guido van Rossum wrote:
> I guess we could make the default arg to sleep() 1e9. Or make it None 
> and special-case it. I don't feel strongly about this -- I'm not sure 
> how baffling it would be to accidentally leave out the delay and find 
> your code sleeps forever rather than raising an error (since if you 
> don't expect the infinite default you may not expect this kind of 
> behavior). But I do feel it's not important enough to add a new 
> function or method.

Why still guessing the best surrogate for infinity?

Seems like python is just missing int('inf'). :/

Best,
Sven
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