Message269507
| 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:01 | mcobden | set | recipients:
+ mcobden, gvanrossum, vstinner, yselivanov |
| 2016年06月29日 14:46:01 | mcobden | set | messageid: <1467211561.08.0.329801464417.issue27415@psf.upfronthosting.co.za> |
| 2016年06月29日 14:46:00 | mcobden | link | issue27415 messages |
| 2016年06月29日 14:46:00 | mcobden | create |
|