Does PyModule_GetDict return information about class method variables?

MD manasd at gmail.com
Thu Aug 9 22:34:37 EDT 2007


Hi,

   I have a variable which is defined inside a class method. When I
call PyModule_GetDict on the module containing this class, the
dictionary doesn't contain any information about this variable. Is
this expected behavior? If so, what options do I have to access this
variable from my Python C extension.

Thanks and Regards,
-MD




More information about the Python-list mailing list