On 25Dec2019 01:20, [email protected]
<[email protected]> wrote:
About the extra comma, it's da**ed useful:
[...]
The real problem is this one:
a = 1,
Unreadable and prone to subtle errors, because maybe you added the
comma by mistake. Caution: Debugging Nightmares.
Hoo, yes. Only the other week I spent _way_ too long debugging exactly
that mistake because I'd cut/pasted a parameter into some inline code.
Suddenly a int was a tuple.
With luck I'll recognise that mistake faster next time.
Cheers,
Cameron Simpson <[email protected]>
--
https://mail.python.org/mailman/listinfo/python-list