[issue23316] Incorrect evaluation order of function arguments with *args
Neil Girdhar
report at bugs.python.org
Mon Jan 26 17:43:30 CET 2015
Neil Girdhar added the comment:
After thinking about this a bit more, my suggestion is not to fix it. Instead, I suggest that PEP 8 be modified to suggest that all positional arguments and iterable argument unpackings precede keyword arguments and keyword argument unpackings. Then, a tool like autopep8 is free to reorganize argument lists. Such reorganization will not be possible if f(*a(), b=b()) is different than f(b=b(), *a()).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23316>
_______________________________________
More information about the Python-bugs-list
mailing list