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.

Author rhettinger
Recipients Eric Wieser, abarry, asmeurer, mark.dickinson, ncoghlan, r.david.murray, rhettinger, serhiy.storchaka, terry.reedy
Date 2019-07-23.19:42:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1563910938.86.0.817546845623.issue32912@roundup.psfhosted.org>
In-reply-to
Content
I'm starting to see this error even for plain text strings in existing code:

>>> dunder_methods = '''

d[k]          d.__getitem__(k) -> value 
                   \--> d.__missing__(k) -> value
                    \-----------> raise KeyError(k)
d[k] = v      d.__setitem__(k, v) -> None
del d[k]      d.__delitem__(k) -> None

'''

SyntaxError: invalid escape sequence \-


These not easily suppressed messages are really annoying.  We don't have to inflict this on our users.  IMO, this is the least user friendly change to Python 3.8 and as far as I can tell, it is entirely unnecessary (we've lived without it for 28+ years).
History
Date User Action Args
2019-07-23 19:42:18rhettingersetrecipients: + rhettinger, terry.reedy, mark.dickinson, ncoghlan, r.david.murray, serhiy.storchaka, abarry, asmeurer, Eric Wieser
2019-07-23 19:42:18rhettingersetmessageid: <1563910938.86.0.817546845623.issue32912@roundup.psfhosted.org>
2019-07-23 19:42:18rhettingerlinkissue32912 messages
2019-07-23 19:42:18rhettingercreate