I was creating a long list of strings like this:
tlds = [
'com',
'net',
'org'
'edu',
'gov',
...
]
I missed a comma after 'org'. Python automatically concatenated it with the string in the next line, into 'orgedu'. This became a bug very hard to identify.
There are already many ways to define multi-line strings, some very explicit. So I wonder is there a way to disable this particular behavior?