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.

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 2022-04-11 14:59 by admin.

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
2022-04-11 14:59:37adminsetgithub: 86359
2020-10-29 10:43:40flying sheepsetcomponents: + IO
versions: + Python 3.8
2020-10-29 10:42:52flying sheepcreate