Is it possible to introduce into PySide6 Python-only features, such as __enter__ and __exit__ functions? It would be sweet to replace settings.beginGroup("sectionName") and settings.endGroup() with a single with settings.section("sectionName"): ..., for example.
Presently, I make a class based on QSettings to provide such a syntax.