Roundup Robot added the comment:
New changeset 38b2307372bf by Benjamin Peterson in branch 'default':
allow test node after ** in calls (closes #24176)
https://hg.python.org/cpython/rev/38b2307372bf
--
nosy: +python-dev
resolution: - fixed
stage: - resolved
status: open - closed
New submission from Thomas Caswell:
On the current tip (changeset: 96023:4b5461dcd190) the following results in a
syntax error
def test(a='a', b='b'):
print(a, b)
opta = dict()
optb = dict(a=1, b=2)
test(**(opta or {})) # - works on all python
test(**optb or {})# - fails on current
Changes by Yury Selivanov yseliva...@gmail.com:
--
nosy: +benjamin.peterson, yselivanov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24176
___