Irit Katriel <iritkatr...@gmail.com> added the comment:

Reproduced in 3.11:

>>> f(a=1, 2, 3)
  File "<stdin>", line 1
    f(a=1, 2, 3)
               ^
SyntaxError: positional argument follows keyword argument
>>> f(a=1, *(2, 3))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: f() got multiple values for argument 'a'
>>>

----------
nosy: +iritkatriel
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.6, Python 3.7, Python 
3.8

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue34882>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to