New submission from Aivar Annamaa:
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.
----------
messages: 286152
nosy: Aivar.Annamaa
priority: normal
severity: normal
status: open
title: Deprecate string concatenation without plus
type: enhancement
versions: Python 3.7
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue29359>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com