Message286152
How quickly will you notice the bug here:
for sequence in ["Command",
"MagicCommand",
"Open",
"Save",
"SaveAs",
"NewFile",
"EditorTextCreated"
"ShellCommand",
"ShellInput",
"ShowView",
"HideView",
"TextInsert",
"TextDelete",
]:
do_something(sequence)
?
Given the title of the issue, its probably not so hard, but usually a list literal is not the first thing to suspect.
Similar problem of missing comma may occur easily with multiline calls.
If concatenation without plus was deprecated, these mistakes would be so easy to notice. |
|
Date |
User |
Action |
Args |
2017-01-24 08:32:59 | Aivar.Annamaa | set | recipients:
+ Aivar.Annamaa |
2017-01-24 08:32:59 | Aivar.Annamaa | set | messageid: <1485246779.15.0.108891177308.issue29359@psf.upfronthosting.co.za> |
2017-01-24 08:32:59 | Aivar.Annamaa | link | issue29359 messages |
2017-01-24 08:32:58 | Aivar.Annamaa | create | |
|