Message365197
| Author | vstinner |
|---|---|
| Recipients | gregory.p.smith, vinay.sajip, vstinner |
| Date | 2020-03-28.00:09:08 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1585354148.79.0.932092133964.issue40091@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
By the way, I'm not sure about the error handling code path:
for handler in _at_fork_reinit_lock_weakset:
try:
handler.createLock()
except Exception as err:
# Similar to what PyErr_WriteUnraisable does.
print("Ignoring exception from logging atfork", instance,
"._reinit_lock() method:", err, file=sys.stderr)
Is it really a good idea to ignore such error?
By the way, there is an obvious typo: "instance" name doesn't exist, it should be "handler" :-) |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2020-03-28 00:09:08 | vstinner | set | recipients: + vstinner, gregory.p.smith, vinay.sajip |
| 2020-03-28 00:09:08 | vstinner | set | messageid: <1585354148.79.0.932092133964.issue40091@roundup.psfhosted.org> |
| 2020-03-28 00:09:08 | vstinner | link | issue40091 messages |
| 2020-03-28 00:09:08 | vstinner | create | |