This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author yselivanov
Recipients Ron Frederick, gvanrossum, vstinner, yselivanov
Date 2015-11-27.22:55:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1448664907.95.0.0568451318326.issue25749@psf.upfronthosting.co.za>
In-reply-to
Content
> Yeah, I recall this point. The doc points to Server, but Guido didn't
want to expose "implementation details" of Server like sockets.
Different implementations of event loops (Yury gave the good example
of uvloop based on libuv) don't give (direct) access to sockets.

I actually found a way to extract a fileno (there is an API for that).

But Ron suggested to actually export the Server class, so that it's available as 'asyncio.Server'. And I think that *that* is a bad idea, since the actual implementation of Server is tied to event loop and transports, which may be implemented differently (as in uvloop)
History
Date User Action Args
2015-11-27 22:55:07yselivanovsetrecipients: + yselivanov, gvanrossum, vstinner, Ron Frederick
2015-11-27 22:55:07yselivanovsetmessageid: <1448664907.95.0.0568451318326.issue25749@psf.upfronthosting.co.za>
2015-11-27 22:55:07yselivanovlinkissue25749 messages
2015-11-27 22:55:07yselivanovcreate