This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author carlosdamazio
Recipients TobiasHT, carlosdamazio, serhiy.storchaka, tritium
Date 2021-12-26.13:13:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1640524381.81.0.892254718051.issue46175@roundup.psfhosted.org>
In-reply-to
Content
Normally, users assume it's safe to use `super` without explicit arguments, until an undefined behavior happens, such as now. The only thing that glances into this issue is the observation in the docs you've provided that omitting the second argument (self), `super` returns an unbounded object, which is a super object.

I mean, there are 2 alternatives: this issue is related to a lower level implementation and it's another way to solve it (of which needs investigation of course) or state that it's required to provide such arguments in the docs.

https://docs.python.org/3.9/library/functions.html#super

In the newer docs, we are assuming that `super()` is the same as `super(cls, self)`, but clearly it's not.
History
Date User Action Args
2021-12-26 13:13:01carlosdamaziosetrecipients: + carlosdamazio, serhiy.storchaka, tritium, TobiasHT
2021-12-26 13:13:01carlosdamaziosetmessageid: <1640524381.81.0.892254718051.issue46175@roundup.psfhosted.org>
2021-12-26 13:13:01carlosdamaziolinkissue46175 messages
2021-12-26 13:13:01carlosdamaziocreate