[issue36282] Not accurate error message for exact number of positional arguments

2019-03-14 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: behavior -> enhancement ___ Python tracker ___

[issue36282] Not accurate error message for exact number of positional arguments

2019-03-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset f2f55e7f03d332fd43bc665a86d585a79c3b3ed4 by Serhiy Storchaka in branch 'master': bpo-36282: Improved error message for too much positional arguments. (GH-12310) https://github.com/python/cpython/commit/f2f55e7f03d332fd43bc665a86d585a79c3b3ed4

[issue36282] Not accurate error message for exact number of positional arguments

2019-03-13 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +12285 stage: -> patch review ___ Python tracker ___ ___

[issue36282] Not accurate error message for exact number of positional arguments

2019-03-13 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : Due to minor error, the error message for too many positional arguments is not accurate if the function uses Argument Clinic. For example: >>> int.from_bytes(b'a', 'little', False) Traceback (most recent call last): File "", line 1, in TypeError: