New submission from Serhiy Storchaka <storchaka+cpyt...@gmail.com>:
See the example pep570super.py. super() without arguments does not work for positional-only arguments. Traceback (most recent call last): File "pep570super.py", line 13, in <module> print(C()) File "pep570super.py", line 10, in __new__ return super().__new__(cls) RuntimeError: super(): no arguments ---------- components: Interpreter Core files: pep570super.py messages: 344034 nosy: ncoghlan, pablogsal, serhiy.storchaka priority: normal severity: normal status: open title: Positional-only arguments break super() type: behavior versions: Python 3.8 Added file: https://bugs.python.org/file48379/pep570super.py _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37108> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com