New submission from Dan Snider <mr.assume.a...@gmail.com>:

Other than obvious performance implications this has, usage of LOAD_NAME makes 
defining cls.__name__ from within metaclass.__prepare__ difficult.

----------
messages: 389026
nosy: bup
priority: normal
severity: normal
status: open
title: Use LOAD_GLOBAL to set __module__ in class def
type: behavior

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue43545>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to