Dear Sir / Madam, 

Against the issue https://bugs.python.org/issue31504 (related to an earlier issue https://bugs.python.org/issue24243) please accept my Pull Request. 

https://github.com/python/cpython/pull/3642

Thanks and regards, 

Ashok Bakthavathsalam