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 josh.r
Recipients Arfrever, BreamoreBoy, Cristóbal Ganter, amaury.forgeotdarc, asvetlov, benjamin.peterson, eric.araujo, ezio.melotti, james.sanders, josh.r, martin.panter, r.david.murray
Date 2019-02-13.18:33:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1550082789.96.0.528631657445.issue15753@roundup.psfhosted.org>
In-reply-to
Content
Moving from pending back to open (not sure what was "pending" about it?).

The workaround is viable (and used by Python implemented dict subclasses in the standard library since they must accept **kwargs with arbitrary strings, including self), but it does seem a little silly that it's required. Leaving it as low priority since the workaround exists.

Still, would be nice to make super() seamless, pulling the first argument if the function accepts it as non-varargs, and the first element of the first argument if it's varargs. If someone reassigns self/args, that's on them; it's fine to raise a RuntimeError if they use no-arg super(), requiring them to use two-arg super explicitly in that case.
History
Date User Action Args
2019-02-13 18:33:09josh.rsetrecipients: + josh.r, amaury.forgeotdarc, benjamin.peterson, ezio.melotti, eric.araujo, Arfrever, r.david.murray, asvetlov, BreamoreBoy, martin.panter, james.sanders, Cristóbal Ganter
2019-02-13 18:33:09josh.rsetmessageid: <1550082789.96.0.528631657445.issue15753@roundup.psfhosted.org>
2019-02-13 18:33:09josh.rlinkissue15753 messages
2019-02-13 18:33:09josh.rcreate