Yury Selivanov

Results 403 comments of Yury Selivanov

I've no idea what's going on. I can reproduce this bug with python installed from MacPorts. I can't reproduce it with python I build from source.

The bug is the following program: ``` python import signal import asyncio def foo(): pass async def bar(): pass def main(): loop = asyncio.get_event_loop() loop.add_signal_handler(signal.SIGINT, lambda: None) loop.add_signal_handler(signal.SIGHUP, lambda: None)...

Maybe. It should be something that changes how & when objects are GCed. The above traceback happens when objects are GCed after the signals module is finalized (and that's what...

> But what would be the purpose of lowering the limit for reading the headers in that example? It might make sense for an HTTP server, to read the first...

We'll need tests for this new functionality. I think that `max_connections` functionality is neat, but what's the use case again?

But what criteria do you use to pick up a sound number for `max_connections`? Is it just some arbitrary number, or there is a way to calculate an optimal one...

> I'm writing some tests btw, but before I get too far, are you generally okay with the location of the functionality and the way the start_serving arguments are stored...

@gvanrossum What do you think on this one? 3.7?

> Re: subclassing AbstractServer, I believe I brought this up in the forum in the context of allowing a user to bring their own Server subclass to start_server but it...

Please reopen this PR at https://github.com/python/cpython. This repo is going to be deleted soon.