[issue2292] Missing *-unpacking generalizations

Neil Girdhar report at bugs.python.org
Wed Jan 21 02:26:45 CET 2015


Neil Girdhar added the comment:

Detecting overrides and raising TypeError. E.g.,

    >>> def f(x, y):
    ...     print(x, y)
    ...
    >>> f(x=5, **{'x': 3}, y=2)
    Traceback (most recent call last):
      ...
    TypeError: f() got multiple values for keyword argument 'x'

----------
Added file: http://bugs.python.org/file37801/starunpack10.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue2292>
_______________________________________


More information about the Python-bugs-list mailing list