Eric Fahlgren added the comment: My test case:
def long(): z = a = b = c = d = e = f = g = h = 1 while x: x = x if x and x or not x else x above line repeated 2999 more times import dis print(dis.findlabels(long.__code__.co_code)[:10]) Buggy output: [35510, 35509, 62, 69, 78, 81, 93, 100, 109, 112] Correct output: [101046, 101045, 62, 69, 78, 81, 93, 100, 109, 112] ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26448> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com