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 emptysquare, hugh, ionelmc, ronaldoussoren, serhiy.storchaka, terry.reedy, vstinner, yselivanov
Date 2020-05-18.13:46:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1589809597.18.0.0236797951645.issue25920@roundup.psfhosted.org>
In-reply-to
Content
I wrote PR 20177 to avoid the netdb_lock in socket.getaddrinfo(), but the lock is still used on platforms which don't provide gethostbyname_r():

#if !defined(HAVE_GETHOSTBYNAME_R) && !defined(MS_WINDOWS)
# define USE_GETHOSTBYNAME_LOCK
#endif
History
Date User Action Args
2020-05-18 13:46:37vstinnersetrecipients: + vstinner, terry.reedy, ronaldoussoren, ionelmc, serhiy.storchaka, yselivanov, emptysquare, hugh
2020-05-18 13:46:37vstinnersetmessageid: <1589809597.18.0.0236797951645.issue25920@roundup.psfhosted.org>
2020-05-18 13:46:37vstinnerlinkissue25920 messages
2020-05-18 13:46:37vstinnercreate