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 emptysquare
Recipients emptysquare, ned.deily, ronaldoussoren
Date 2016-01-30.03:18:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1454123888.05.0.866165004563.issue25924@psf.upfronthosting.co.za>
In-reply-to
Content
I've created a Mac OS 10.4 virtual machine and reproduced the getaddrinfo concurrency bug there using the attached h_resolv.c. The man page on that OS version indeed includes the "not thread-safe" warning.

The same test passes on my Mac OS 10.10 system.

I am convinced that getaddrinfo is thread-safe on Mac OS 10.5+, and I'm attaching a patch to disable the lock on these systems.
History
Date User Action Args
2016-01-30 03:18:08emptysquaresetrecipients: + emptysquare, ronaldoussoren, ned.deily
2016-01-30 03:18:08emptysquaresetmessageid: <1454123888.05.0.866165004563.issue25924@psf.upfronthosting.co.za>
2016-01-30 03:18:08emptysquarelinkissue25924 messages
2016-01-30 03:18:07emptysquarecreate