On 25Dec2019 01:20, mail.python....@marco.sulla.e4ward.com 
<mail.python....@marco.sulla.e4ward.com> 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 <c...@cskk.id.au>
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to