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 vstinner
Recipients Anne Archibald, Manjusaka, gilles-duboscq, vstinner
Date 2021-02-18.18:01:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Oh wait, I removed that lock:

commit 0de437de6210c2b32b09d6c47a805b23d023bd59
Author: Victor Stinner <>
Date:   Thu May 28 17:23:39 2020 +0200

    bpo-25920: Remove socket.getaddrinfo() lock on macOS (GH-20177)
    On macOS, socket.getaddrinfo() no longer uses an internal lock to
    prevent race conditions when calling getaddrinfo(). getaddrinfo is
    thread-safe is macOS 10.5, whereas Python 3.9 requires macOS 10.6 or
    The lock was also used on FreeBSD older than 5.3, OpenBSD older than
    201311 and NetBSD older than 4.

Please open a new issue specific to macOS: specify your macOS version, your Python version and how you installed or built Python.
Date User Action Args
2021-02-18 18:01:09vstinnersetrecipients: + vstinner, Manjusaka, Anne Archibald, gilles-duboscq
2021-02-18 18:01:09vstinnersetmessageid: <>
2021-02-18 18:01:09vstinnerlinkissue39853 messages
2021-02-18 18:01:09vstinnercreate