Message 85742 - Python tracker
I think simple renaming would be fine. I do not see how module_methods could be made static; however, the init_callbacks_in_module function should probably be removed completely. Some other symbols could be made static because they are only used in a single source file, Array_Type and CData_Type for example (there may be more). For MallocClosure/FreeClosure and the fedoraproject patch: Where does ffi_closure_alloc and ffi_closure_free come from?