Nontrivial way to do it is dynamically scan the python 3.12 namespace, and add these warnings.
Is there any big downside to do it the boring way, hardcode a list and compare the error to the list?
Is there any big downside to do it the boring way, hardcode a list and compare the error to the list?