classification
Title: Improve socket.bind error message
Type: Stage:
Components: IO Versions: Python 3.8
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: flying sheep
Priority: normal Keywords:

Created on 2020-10-29 10:42 by flying sheep, last changed 2020-10-29 10:43 by flying sheep.

Messages (1)
msg379865 - (view) Author: (flying sheep) * Date: 2020-10-29 10:42
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.
History
Date User Action Args
2020-10-29 10:43:40flying sheepsetcomponents: + IO
versions: + Python 3.8
2020-10-29 10:42:52flying sheepcreate