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 akira
Recipients akira, gvanrossum, vstinner, yselivanov
Date 2015-11-02.16:55:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1446483319.57.0.76121078527.issue25536@psf.upfronthosting.co.za>
In-reply-to
Content
asyncio code uses "sys.platform == 'win32'" to detect OS.
asyncio docs use both os.name and sys.platform.

As far as I can tell there is no *practical* difference
between "os.name == 'nt" and "sys.platform == 'win32'"
for choosing asyncio.ProactorEventLoop()

I've attached a patch that replaces all os.name occurrences
in asyncio docs with sys.platform.
History
Date User Action Args
2015-11-02 16:55:19akirasetrecipients: + akira, gvanrossum, vstinner, yselivanov
2015-11-02 16:55:19akirasetmessageid: <1446483319.57.0.76121078527.issue25536@psf.upfronthosting.co.za>
2015-11-02 16:55:19akiralinkissue25536 messages
2015-11-02 16:55:19akiracreate