Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:
Confirmed. This regression happened between 3.10 alpha 2 and today's build: $ python3.10 --version Python 3.10.0a2 $ python3.10 -m trace --trace tmp19.py --- modulename: tmp19, funcname: <module> tmp19.py(1): a = b = x = y = z = 1 tmp19.py(2): if a == 1: tmp19.py(3): if b == 1: tmp19.py(4): x = 4 tmp19.py(9): assert (a, b, x, y, z) == (1, 1, 4, 1, 1) $ py --version Python 3.10.0a3+ $ py -m trace --trace tmp19.py --- modulename: tmp19, funcname: <module> tmp19.py(1): a = b = x = y = z = 1 tmp19.py(2): if a == 1: tmp19.py(3): if b == 1: tmp19.py(4): x = 4 tmp19.py(6): y = 6 tmp19.py(9): assert (a, b, x, y, z) == (1, 1, 4, 1, 1) ---------- nosy: +pablogsal, rhettinger priority: normal -> high _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue42810> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com