[Python-Dev] PEP 573 -- Module State Access from C Extension Methods

Jeroen Demeyer J.Demeyer at UGent.be
Wed Apr 25 14:46:02 EDT 2018


On 2018-04-25 20:33, Petr Viktorin wrote:
> Perhaps "m_objclass" could point to the module in this case

That was exactly my idea also today. Instead of treating m_objclass as 
the defining class, we should generalize it to be the "parent" of the 
function: either the class or the module.



More information about the Python-Dev mailing list