[issue41670] Windows and Linux execute the same code differently

2020-08-30 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +Mark.Shannon, pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue41670] Windows and Linux execute the same code differently

2020-08-30 Thread Ammar Askar
Ammar Askar added the comment: minimal reproducer without coverage: import sys def f(): try: for i in []: pass return 1 except: return 2 def tracer(frame, event, _): if event == 'line': print("executing line {}".format(frame.f_lineno)) return

[issue41670] Windows and Linux execute the same code differently

2020-08-30 Thread Ned Batchelder
New submission from Ned Batchelder : Coverage.py bug reports https://github.com/nedbat/coveragepy/issues/1022 and https://github.com/nedbat/coveragepy/issues/959 demonstrate the same Python code, with the same disassembly, executing differently. In https://discuss.python.org/t/same-python-ve