From: kishor s. <kis...@gm...> - 2016-04-28 17:59:57
|
>You might like to add a bug report to tack this issue. If you have a patch to add __module__ I’ll review and add. I kind of figured out the issue. Issue is we are using PyCFunction_New to register the modules in the method. If we replace PyCFunction_New with PyCFunction_NewEx it solves the problem with module level function e.g. PyObject* func = PyCFunction_NewEx( |