It's a Python bug and should be fixed in 3.7: http://bugs.python.org/issue28180...