object: add PyObject_FromVoidPtr
Add an implementation of Py_InitModule.