[issue17044] Implement PEP 422: Simple class initialisation hook

Nick Coghlan report at bugs.python.org
Thu Mar 14 22:34:51 CET 2013


Nick Coghlan added the comment:

Oh, that's bizarre - the presence of __locals__ is a side effect of
calling locals() in the class body. So perhaps passing the namespace
as a separate __init_class__ parameter is a better option.

----------

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


More information about the Python-bugs-list mailing list