[issue43563] Use dedicated opcodes to speed up calls/attribute lookups with super() as receiver

Raymond Hettinger report at bugs.python.org
Sat Mar 20 12:06:01 EDT 2021


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

Currently, super() is decoupled from the core language.  It is just a builtin that provides customized attribute lookup.  This PR makes super() more tightly integrated with the core language, treating it as if it were a keyword and part of the grammar.  Also note, users can currently create their own versions of super(), shadowing the builtin super().

----------
nosy: +rhettinger

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43563>
_______________________________________


More information about the Python-bugs-list mailing list