Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ConfigParser read_file compatibilty #32

Closed
wants to merge 1 commit into from

Conversation

hugovk
Copy link

@hugovk hugovk commented May 10, 2022

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.

python/cpython#92503

You can simulate the removal by finding your Python 3's configparser.py and deleting readfp.

@mmerickel
Copy link
Member

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.

@mmerickel mmerickel closed this May 16, 2022
@hugovk hugovk deleted the fix-configparser branch May 16, 2022 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants