[issue41518] incorrect printing behavior with parenthesis symbols

Eric V. Smith report at bugs.python.org
Mon Aug 10 15:08:20 EDT 2020


Eric V. Smith <eric at trueblade.com> added the comment:

Here's what I see:

Python 3.6.9 (default, Jul 21 2019, 14:33:59)
[GCC 7.4.0] on cygwin
Type "help", "copyright", "credits" or "license" for more information.
>>> stack = ['(', '(', '[', ']', ')']
>>> for i in stack:
...     print(i)
...
(
(
[
]
)

That looks correct to me. What exact version of 3.6 are you using, and on what platform?

----------
nosy: +eric.smith

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


More information about the Python-bugs-list mailing list