This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: Deprecate string concatenation without plus
Type: enhancement Stage: resolved
Components: Interpreter Core Versions: Python 3.7
Status: closed Resolution: rejected
Dependencies: Superseder:
Assigned To: Nosy List: Aivar.Annamaa, serhiy.storchaka
Priority: normal Keywords:

Created on 2017-01-24 08:32 by Aivar.Annamaa, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (3)
msg286152 - (view) Author: Aivar Annamaa (Aivar.Annamaa) * Date: 2017-01-24 08:32
How quickly will you notice the bug here:

for sequence in ["Command",


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.
msg286155 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2017-01-24 08:45
See PEP 3126.
msg286156 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2017-01-24 08:48
See also the topic "Implicit string literal concatenation considered harmful?" on Python-Ideas:

If you want to revive this issue, it is better to do this on the Python-Ideas mailing list.
Date User Action Args
2022-04-11 14:58:42adminsetgithub: 73545
2019-02-28 21:37:53r.david.murrayunlinkissue36148 superseder
2019-02-28 21:36:34r.david.murraylinkissue36148 superseder
2017-01-24 08:48:29serhiy.storchakasetstatus: open -> closed
resolution: rejected
messages: + msg286156

stage: resolved
2017-01-24 08:45:58serhiy.storchakasetnosy: + serhiy.storchaka
messages: + msg286155
2017-01-24 08:37:57Aivar.Annamaasetcomponents: + Interpreter Core
2017-01-24 08:32:59Aivar.Annamaacreate