New submission from Kodiologist <[email protected]>:
On Python 3.8.2, the below program runs without errors. On Python 3.9.0b1, it
raises "TypeError: 'tuple' object is not callable" for the last line.
d1 = {'a': 1}
d2 = {'c': 3}
def fun(a, b, c):
return a, b, c
print(fun(**d1, b='b', **d2))
----------
messages: 370400
nosy: Kodiologist
priority: normal
severity: normal
status: open
title: Certain uses of dictionary unpacking raise TypeError
type: behavior
versions: Python 3.9
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue40830>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com