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 Carl.Friedrich.Bolz
Recipients Carl.Friedrich.Bolz, pablogsal
Date 2021-12-10.21:24:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The error range for the "duplicate argument in function definition" SyntaxError is too large:

$ cat 
def f(a, b, c, d, e, f, g, a): pass
$ python
  File "/home/cfbolz/projects/cpython/", line 1
    def f(a, b, c, d, e, f, g, a): pass
SyntaxError: duplicate argument 'a' in function definition

I would expect only the second 'a' to be underlined.

I can try to fix this.
Date User Action Args
2021-12-10 21:24:21Carl.Friedrich.Bolzsetrecipients: + Carl.Friedrich.Bolz, pablogsal
2021-12-10 21:24:21Carl.Friedrich.Bolzsetmessageid: <>
2021-12-10 21:24:21Carl.Friedrich.Bolzlinkissue46042 messages
2021-12-10 21:24:21Carl.Friedrich.Bolzcreate