[issue37108] Positional-only arguments break super()

2019-05-31 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Thank you very much, Serhiy, for the catch! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue37108] Positional-only arguments break super()

2019-05-31 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 3a46d5c293d39995dc5218bf46a7d92b16fb2a15 by Pablo Galindo in branch 'master': bpo-37108: Support super with methods that use positional-only arguments (GH-13695) https://github.com/python/cpython/commit/3a46d5c293d39995dc5218bf46a7d92b16

[issue37108] Positional-only arguments break super()

2019-05-31 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +13581 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13695 ___ Python tracker __

[issue37108] Positional-only arguments break super()

2019-05-31 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : 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 print(C()) File "pep570super.py", line 10, in __new__ return super().