Cecile Tonglet added the comment:
Sure! It seems to work, the process returns an exit code of 0 and I see no
traceback but the message is still displayed in the terminal.
(Also I did something weird because your patch applies on branch master and I
ran it with Python 3.6... I suppose it shouldn't be a problem)
[0] [11:54:13] /tmp > d run -it --rm -v /tmp:/tmp:ro -v
~/repos/cpython/Lib/asyncio:/usr/local/lib/python3.6/asyncio:ro python:3.6
python /tmp/test_ipv6.py
error while attempting to bind on address ('::1', 27015, 0, 0): cannot assign
requested address
[0] [11:54:19] /tmp > d run -it --rm -v /tmp:/tmp:ro python:3.6 python
/tmp/test_ipv6.py
Traceback (most recent call last):
File "/usr/local/lib/python3.6/asyncio/base_events.py", line 1043, in
create_server
sock.bind(sa)
OSError: [Errno 99] Cannot assign requested address
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/tmp/test_ipv6.py", line 11, in <module>
server = loop.run_until_complete(server_creation)
File "/usr/local/lib/python3.6/asyncio/base_events.py", line 466, in
run_until_complete
return future.result()
File "/usr/local/lib/python3.6/asyncio/base_events.py", line 1047, in
create_server
% (sa, err.strerror.lower()))
OSError: [Errno 99] error while attempting to bind on address ('::1', 27015, 0,
0): cannot assign requested address
[1] [11:54:52] /tmp >
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue30945>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com