Carsten Docktor added the comment:
I'd consider this a bug, because I find it quite error prone. But I get the
point that it might be currently used.
Thank you for your response.
I'll rely on third party checkers for this.
--
resolution: -> rejected
stage: -> resolved
status: ope
Serhiy Storchaka added the comment:
It is valid Python syntax, so SyntaxErorr cannot be raised.
SyntaxWarning is an option, but the Python compiler only emits it if we
absolutely sure that the code contains a bug (either it does not work as
intended or can work differently on other implement
New submission from Carsten Docktor :
I recently found several bugs, which came from the "feature" shown below.
Is python supposed to use string concatenation in a list environment like this?
Why would this be appreciated?
## Expected Behavior
The example below should raise a SyntaxErorr for