Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.14.2
-
None
-
None
Description
ConfigParser's `readfp()` has been deprecated since Python 3.2 and will be removed in Python 3.12 (due October 2023).
- https://docs.python.org/3/library/configparser.html#configparser.ConfigParser.readfp
- https://github.com/python/cpython/blob/dd0e8a62df8be2a09ef6035b4c92bd9a68a7b918/Lib/configparser.py#L757-L764
It is used three times in Subversion.
The fix is to replace it with `read_file()` instead.
Untested patch attached.