[issue44090] Add class binding to unbound super objects for allowing autosuper with class methods

Raymond Hettinger report at bugs.python.org
Tue Apr 5 00:33:27 EDT 2022


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

> any objections before I propose the removal of one-argument super?

AFAICT there is nothing to be gained by deprecating the one argument form.  Because it has been stable API for two decades, removing it is guaranteed to cause some disruption. So why bother?

Anthony Sottile provided this search to showing that at least a few popular projects are using the one argument form of super():

https://sourcegraph.com/search?q=context:global+%5Cbsuper%5C%28%5B%5E%2C%5C%28%5C%29%5Cn%5D%2B%5C%29+file:.py%24&patternType=regexp&case=yes

----------

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


More information about the Python-bugs-list mailing list