[This issue](http://bugs.python.org/issue10272) seems relevant, wasn't backported to anything before 3.2.