[New-bugs-announce] [issue42876] '''"""''' != '""""'

Andreas Zeller report at bugs.python.org
Sat Jan 9 13:40:48 EST 2021


New submission from Andreas Zeller <zeller at cispa.saarland>:

The following line of code fails in Python 3.6, which I find surprising.

>>> assert '''"""''' == '""""'  # Fails

Note that the following all pass as expected:

>>> assert """'''""" == "'''"  # Passes
>>> assert '''""''' == '""'  # Passes

----------
components: Interpreter Core
messages: 384736
nosy: andreas-zeller
priority: normal
severity: normal
status: open
title: '''"""''' != '""""'
type: behavior
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42876>
_______________________________________


More information about the New-bugs-announce mailing list