Skip to content

Use ConfigParser, because SafeConfigParser is removed with Python 3.12#102

Open
m-hacker wants to merge 1 commit intowamdam:masterfrom
m-hacker:m-hacker-patch-1
Open

Use ConfigParser, because SafeConfigParser is removed with Python 3.12#102
m-hacker wants to merge 1 commit intowamdam:masterfrom
m-hacker:m-hacker-patch-1

Conversation

@m-hacker
Copy link

@m-hacker m-hacker commented Sep 9, 2025

The import SafeConfigParser is deprecated since Python 3.2 and was removed with Python 3.12. I have updated the import.

See: https://docs.python.org/3/whatsnew/3.12.html

configparser no longer has a SafeConfigParser class. Use the shorter ConfigParser name instead.

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.

1 participant