Message 160817 - Python tracker (original) (raw)

Well, I would argue that asyncore's design is thoroughly broken, and

passing a socket map is a poor kludge to avoid global state; in a sophisticated event loop, the socket map wouldn't be the only piece of state to pass around.

I don't disagree with you, but since it's there in the stdlib, there's no reason not to make incremental improvements involving small changes.