[New-bugs-announce] [issue31118] Make super() work with staticmethod by using __class__ for both arguments to super()

Ashwini Chaudhary report at bugs.python.org
Fri Aug 4 02:42:55 EDT 2017


New submission from Ashwini Chaudhary:

>From this question I noticed that super() doesn't work with static methods with no arguments: https://stackoverflow.com/q/45498675/846892

My question is what's the issue with using __class__ for both arguments to super() in case of static method? Or was it just an oversight.

----------
messages: 299733
nosy: ashwch
priority: normal
severity: normal
status: open
title: Make super() work with staticmethod by using __class__ for both arguments to super()
type: enhancement
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue31118>
_______________________________________


More information about the New-bugs-announce mailing list