Hi, the maintainer of overrides lib here Great if @override with runtime effect is getting into 3.12! The PEP draft currently has this section https://github.com/python/peps/blob/main/pep-0698.rst#runtime-override-check... With the following:
Today, there is an Overrides library that provides decorators @overrides (sic) and @final and will enforce them at runtime. PEP 591 added a @final decorator with the same semantics as those in the Overrides library. But the override component of the runtime library is not supported statically at all, which has added some confusion around the mix/matched support.
I now added an alias `@override` for the original decorator. Also for Python 3.11 that will have runtime effect for `@final` and I *finally* could use the typing.final decorator directly - so that should solve the confusion around the mix/matched support. I hope these will make it easier for the users of the overrides library to enter Python 3.12 world where there would be an inbuilt typing.override to use. Most usage of overrides library today seems to be in Python 3.7 still so might take some time for the new Python 3.12 (to be released in 2023) to get mainstream.