The upstream bug has been fixed and released in all supported Python version: https://bugs.python.org/issue14768