Earlier this year I updated CPython to allow concurrent DNS resolution on Mac and BSD. My patch was trivial, but it took me weeks of archeological research to prove it was correct. In this article for the MongoDB Engineering Journal, I sing the ballad of my quest:

The Saga of Concurrent DNS in Python,
and the Defeat of the Wicked Mutex Troll

If silly fantasy stories are your thing, enjoy! If not, you can just read the report on bugs.python.org.

Illustration by Terry Marks