[issue42193] Improve socket.bind error message

2020-10-29 Thread flying sheep
Change by flying sheep : -- components: +IO versions: +Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue42193] Improve socket.bind error message

2020-10-29 Thread flying sheep
New submission from flying sheep : In the end of my stack trace, I just see File "...", line 174, in bind_sockets sock.bind(sockaddr) OSError: [Errno 99] Cannot assign requested address It would be useful if it would tell me which socket that was in the error message.