This port will be removed on 2020-12-31 if not fixed
This is a backport of a Python 3.3 module to Python 2.7, so I think it's OK if this goes.
Python 2 only, backport of Python 3