Clean
Make this work on Python 2

http://bugs.python.org/issue13943