[issue34127] Gramatically incorrect error message for some calls with wrong number of arguments

2018-07-22 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks, I have created https://bugs.python.org/issue34193 to address PR comments and further enhancements in getargs.c -- ___ Python tracker _

[issue34127] Gramatically incorrect error message for some calls with wrong number of arguments

2018-07-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: Nice work. Thanks for the patch. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue34127] Gramatically incorrect error message for some calls with wrong number of arguments

2018-07-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 1426daa4fe47d8f8be0d416f7cba7adae1d5839f by Raymond Hettinger (Xtreak) in branch 'master': bpo-34127: Fix grammar in error message with respect to argument count (GH-8395) https://github.com/python/cpython/commit/1426daa4fe47d8f8be0d416f7cba7

[issue34127] Gramatically incorrect error message for some calls with wrong number of arguments

2018-07-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: We don't normally backport an exception message change unless its content, as opposed to style, is erroneous. -- type: -> enhancement versions: -Python 3.6, Python 3.7 ___ Python tracker

[issue34127] Gramatically incorrect error message for some calls with wrong number of arguments

2018-07-22 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I have added a simple patch based on the changes by https://bugs.python.org/issue29951. The C code related error messages doesn't seem to have been covered by tests and I have added some tests. I have limited knowledge of C and this is my first C p

[issue34127] Gramatically incorrect error message for some calls with wrong number of arguments

2018-07-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- keywords: +patch pull_requests: +7922 stage: needs patch -> patch review ___ Python tracker ___

[issue34127] Gramatically incorrect error message for some calls with wrong number of arguments

2018-07-21 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue34127] Gramatically incorrect error message for some calls with wrong number of arguments

2018-07-21 Thread Raymond Hettinger
Raymond Hettinger added the comment: > Raymond, will we accept a patch for this? If the patch is simple and minimal, then this seems like a minor but nice little improvement. -- ___ Python tracker

[issue34127] Gramatically incorrect error message for some calls with wrong number of arguments

2018-07-21 Thread ANJALI BANSAL
ANJALI BANSAL added the comment: Is this still active? I want to fix the patch. -- nosy: +ANJALI BANSAL ___ Python tracker ___ ___

[issue34127] Gramatically incorrect error message for some calls with wrong number of arguments

2018-07-20 Thread ppperry
ppperry added the comment: Another test case: >> classmethod() Traceback (most recent call last): File "", line 2, in check TypeError: classmethod expected 1 arguments, got 0 -- title: Gramatically incorrect error message for some descriptor calls with wrong number of arguments -