]> git.cworth.org Git - notmuch/commit
python: adjust legacy bindings to py 3.12
authorMichael J Gruber <git@grubix.eu>
Fri, 16 Jun 2023 11:19:26 +0000 (13:19 +0200)
committerDavid Bremner <david@tethera.net>
Sun, 9 Jul 2023 14:43:21 +0000 (11:43 -0300)
commit3771832b013012e408696897215fd0edde7dce37
treeca1c97febac142dd84a46e2822be8cac642e365f
parent95a4bf38173311597bcc4fa7f597d58bb11ed119
python: adjust legacy bindings to py 3.12

Py 3.12 finally pulled the plug on the `SafeConfigParser` class which
has been deprecated since py 3.2.

We use it in the legacy bindings only, so take the easy route of
importing `ConfigParser` as `SafeConfigParser` and monkey-patching so
that the class has the expected interface.
bindings/python/notmuch/compat.py