Message382055
| Author | ronaldoussoren |
|---|---|
| Recipients | ronaldoussoren, xxm |
| Date | 2020-11-29.12:01:48 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1606651308.57.0.58251356812.issue42500@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
The crash is not nice, but....
The script contains the following line in the definition of status():
except status() as e:
That will cause unbounded recursion when os.fstat raises an exception, which likely happens here. You probably want to catch OSError (or os.error) instead.
This scriptlet is a smaller reproduction of the problem:
def status():
try:
1/0
except status():
pass
status() |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2020-11-29 12:01:48 | ronaldoussoren | set | recipients: + ronaldoussoren, xxm |
| 2020-11-29 12:01:48 | ronaldoussoren | set | messageid: <1606651308.57.0.58251356812.issue42500@roundup.psfhosted.org> |
| 2020-11-29 12:01:48 | ronaldoussoren | link | issue42500 messages |
| 2020-11-29 12:01:48 | ronaldoussoren | create | |