-
Python
How To Deadlock Your Python With getaddrinfo
What happens if you run this code? import os import socket import threading def lookup(): socket.getaddrinfo('python.org', 80) t = threading.Thread(target=lookup)…
Read More » -
Python
Black Pipe Testing A Connected Application In C
This is the fourth article in my series on “black pipe” testing. Here I describe testing libmongoc (the MongoDB C…
Read More » -
Python
Test MongoDB Failure Scenarios With MockupDB
This is the fifth article in my series on “black pipe” testing. Traditional black box tests work well if your…
Read More » -
Python
Tech Talks Are Campfires: Jesse’s Three Reasons You Should Speak At PyCon
The PyCon call for proposals has been open a few weeks now—why should you submit a talk? Why should you…
Read More » -
Python
MockupDB: Testing The MongoDB C Driver With Python
This is the third article in my series on “black pipe” testing. The series describes how to test networked code,…
Read More » -
Python
Testing PyMongo As A Black Pipe
This is the second article in my six-part series on “black pipe” testing. PyMongo, the official Python client for MongoDB,…
Read More » -
NoSQL
The MongoDB Shell’s New CRUD API
We released the latest development version of MongoDB the other week. The official announcement focuses on bug fixes, but I’m…
Read More » -
Python
Eventually Correct: Async Testing With Tornado
Async frameworks like Tornado scramble our usual unittest strategies: how can you validate the outcome when you do not know…
Read More » -
Python
PyMongo And Key Order In Subdocuments
Or, "Why does my query work in the shell but not PyMongo?" Variations on this question account for a large…
Read More »
- 1
- 2