Eric V. Smith <e...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue41518> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com