dotcloud/docker-py — pull request #132 by jakedt (2013-12-31 19:38:00+00:00)
Title: A socket that is wrapped in a file-like object must be set to blocking.

fixes #124

The python documentation mentions that the socket mode must be set to blocking when wrapped in a file interface with makefile(). For example, here: http://bugs.python.org/issue7322

This change resolves the issue on push for me.