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 serhiy.storchaka
Recipients benjamin.peterson, brett.cannon, pablogsal, serhiy.storchaka, yselivanov
Date 2019-05-31.11:31:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1559302291.91.0.202997088134.issue37112@roundup.psfhosted.org>
In-reply-to
Content
>>> import ast
>>> sample = 'def f(a=1, /): pass'
>>> compile(sample, '?', 'exec')
<code object <module> at 0x7f7cacdfd5c0, file "?", line 1>
>>> compile(ast.parse(sample, '?'), '?', 'exec')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: more positional defaults than args on arguments
History
Date User Action Args
2019-05-31 11:31:31serhiy.storchakasetrecipients: + serhiy.storchaka, brett.cannon, benjamin.peterson, yselivanov, pablogsal
2019-05-31 11:31:31serhiy.storchakasetmessageid: <1559302291.91.0.202997088134.issue37112@roundup.psfhosted.org>
2019-05-31 11:31:31serhiy.storchakalinkissue37112 messages
2019-05-31 11:31:31serhiy.storchakacreate