[issue33064] lib2to3 fails on a trailing comma after **kwargs in a function signature
Łukasz Langa
report at bugs.python.org
Tue Mar 13 03:49:12 EDT 2018
Łukasz Langa <lukasz at langa.pl> added the comment:
Yes, this ship has sailed with Python 3.6.
I understand your logic and this is indeed why we didn't support this for a long time. However, people tend to grow muscle memory to add trailing commas and that was tripping them over for no real gain on our part. So this was added. The reason I found out about lib2to3 not following suit was that 3.6 users quickly started to put those trailing commas in and tools using lib2to3 were crashing on such files :) This proves it was worth it.
----------
resolution: -> fixed
stage: patch review -> commit review
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33064>
_______________________________________
More information about the Python-bugs-list
mailing list