is there a tp_getattr equivalent for module?
i want to dynamically check if an object exists in a module space
dynamically
and return it if it does.
currently i have
mymodule.getattr("foo")
where getattr is my lookup function plugged thru PyMethodDef/Py_ModuleInit
i want to be able to access foo directly, like so:
mymodule.foo