Message411220
Attached bug.py reproduces the bug without unittest, just run:
./python bug.py
On Python 3.10, it writes:
---
LOOP 0
LOOP 1
(...)
LOOP 14
LOOP 15
---
On the main branch, it fails with:
---
LOOP 0
LOOP 1
LOOP 2
LOOP 3
LOOP 4
LOOP 5
LOOP 6
LOOP 7
Traceback (most recent call last):
File "/home/vstinner/bug.py", line 24, in <module>
Bug().run()
^^^^^^^^^^^
File "/home/vstinner/bug.py", line 19, in run
raise Exception("bug")
^^^^^^^^^^^^^^^^^^^^^^
Exception: bug
--- |
|
Date |
User |
Action |
Args |
2022-01-22 02:18:28 | vstinner | set | recipients:
+ vstinner, gvanrossum, Mark.Shannon, eric.snow, kj |
2022-01-22 02:18:28 | vstinner | set | messageid: <1642817908.43.0.273139146679.issue46465@roundup.psfhosted.org> |
2022-01-22 02:18:28 | vstinner | link | issue46465 messages |
2022-01-22 02:18:28 | vstinner | create | |
|