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.

Author gilles-duboscq
Recipients Anne Archibald, Manjusaka, gilles-duboscq, vstinner
Date 2021-02-18.17:13:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I'm not sure it's the same but we have seen stack traces looking like the one there:

Current thread 0x00007fffa857e3c0 (most recent call first):
  File "/sw/lib/python3.7/", line 748 in getaddrinfo
  File "/sw/lib/python3.7/", line 707 in create_connection
  File "/sw/lib/python3.7/http/", line 938 in connect
  File "/sw/lib/python3.7/http/", line 966 in send
  File "/sw/lib/python3.7/http/", line 1026 in _send_output
  File "/sw/lib/python3.7/http/", line 1247 in endheaders
  File "/sw/lib/python3.7/http/", line 1298 in _send_request
  File "/sw/lib/python3.7/http/", line 1252 in request

For us it happens when using multiprocessing: the main process forks 2 processes and both use urlopen at roughly the same time. We are seeing this on Python 3.7.2 on macOS 10.14.3.
Date User Action Args
2021-02-18 17:13:02gilles-duboscqsetrecipients: + gilles-duboscq, vstinner, Manjusaka, Anne Archibald
2021-02-18 17:13:02gilles-duboscqsetmessageid: <>
2021-02-18 17:13:02gilles-duboscqlinkissue39853 messages
2021-02-18 17:13:02gilles-duboscqcreate