Message 382665 - Python tracker
>On the other side, defining a Py_mod_exec_once that supports execution > >for just once can be a way. >Although the usage is little, it will be fine because the use case will >exist. IMHO, `Py_mod_exec_once` is more like a slot control flag. MAYBE we need add a module flag in `PyModuleDef`.