Closed hugovk closed 2 years ago
Thank you for opening this. I have merged a different version of this change into master as I work on a future release of the library. I don't plan to make a 2.x series release with just this one fix as it isn't even a problem on a currently-released version of Python.
The existing compatibility code didn't actually work, for example see https://bugzilla.redhat.com/show_bug.cgi?id=2019873 which was run against an early alpha of 3.11.
The removal was postponed from 3.11, and instead will be removed in 3.12.
https://github.com/python/cpython/pull/92503
You can simulate the removal by finding your Python 3's
configparser.py
and deletingreadfp
.