Message364646
If I set up a simple recursion exception function, that calls itself every time an error is raised, Python throws a SIGABRT and crashes due to a "Stack Overflow".
def x():
try:
raise Exception()
except Exception:
x()
Oddly enough, my system installation of Python 2.7 threw a RuntimeError instead of aborting, which is what I expected. |
|
Date |
User |
Action |
Args |
2020-03-20 02:25:20 | ThePokestarFan | set | recipients:
+ ThePokestarFan, ronaldoussoren, ned.deily |
2020-03-20 02:25:19 | ThePokestarFan | set | messageid: <1584671119.97.0.0188719299435.issue40021@roundup.psfhosted.org> |
2020-03-20 02:25:19 | ThePokestarFan | link | issue40021 messages |
2020-03-20 02:25:19 | ThePokestarFan | create | |
|