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, asvetlov, gvanrossum, vstinner, yselivanov
Date 2017-12-20.21:37:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1513805863.95.0.213398074469.issue25749@psf.upfronthosting.co.za>
In-reply-to
Content
There's no point in exporting the Server class as "asyncio.Server".  It'd created and managed by the event loop, and there's no point to instantiate it in user code.

We can add an abstract base class AbstractServer though, similar to AbstractFuture and AbstractTask proposed in https://bugs.python.org/issue32364.

This is a low priority feature and can probably wait till 3.8 though.
History
Date User Action Args
2017-12-20 21:37:44yselivanovsetrecipients: + yselivanov, gvanrossum, vstinner, asvetlov, Ron Frederick
2017-12-20 21:37:43yselivanovsetmessageid: <1513805863.95.0.213398074469.issue25749@psf.upfronthosting.co.za>
2017-12-20 21:37:43yselivanovlinkissue25749 messages
2017-12-20 21:37:43yselivanovcreate