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 mcobden
Recipients gvanrossum, mcobden, vstinner, yselivanov
Date 2016-06-29.14:46:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1467211561.08.0.329801464417.issue27415@psf.upfronthosting.co.za>
In-reply-to
Content
With the most recent 3.4 bugfix, calling create_server with port=None stopped working.
This also affects 3.5, and I would imagine also 3.6, but haven't checked that.

Test case:

import asyncio; l = asyncio.get_event_loop(); l.run_until_complete(l.create_server(lambda: None, host='0.0.0.0', port=None))

Expected result: a socket object
Broken result: "TypeError: an integer is required (got type NoneType)"
History
Date User Action Args
2016-06-29 14:46:01mcobdensetrecipients: + mcobden, gvanrossum, vstinner, yselivanov
2016-06-29 14:46:01mcobdensetmessageid: <1467211561.08.0.329801464417.issue27415@psf.upfronthosting.co.za>
2016-06-29 14:46:00mcobdenlinkissue27415 messages
2016-06-29 14:46:00mcobdencreate