[issue38560] Disallow iterable argument unpacking after a keyword argument?

Brandt Bucher report at bugs.python.org
Tue Oct 29 11:48:29 EDT 2019


Brandt Bucher <brandtbucher at gmail.com> added the comment:

I’ve thought about it and I’m +1 on DeprecationWarning in 3.9 and SyntaxError in 3.10.

Removing any type of legal function call is tricky, but this is such obscure, sneaky syntax that it’s likely an accident/bug if it does pop up (that’s how I discovered it). And every instance can be trivially refactored.

----------
title: Allow iterable argument unpacking after a keyword argument? -> Disallow iterable argument unpacking after a keyword argument?

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38560>
_______________________________________


More information about the Python-bugs-list mailing list