[issue15849] PEP 3121, 384 Refactoring applied to xx module

Robin Schreiber report at bugs.python.org
Sun Aug 18 15:34:56 CEST 2013


Robin Schreiber added the comment:

Everything except for the Xxo_Type. But you are right. Then again, why are these global static variables from the start? Isn't this because xxmodule is some kind of "dummy" module that is supposed to demonstrate some coding conventions on how to build extension modules? 
Another possibility could be the faster lookup of the variables, which is now of course invalidated if we store it within the module state.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15849>
_______________________________________


More information about the Python-bugs-list mailing list