This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:08vstinnersetrecipients: + vstinner, gregory.p.smith, vinay.sajip
2020-03-28 00:09:08vstinnersetmessageid: <1585354148.79.0.932092133964.issue40091@roundup.psfhosted.org>
2020-03-28 00:09:08vstinnerlinkissue40091 messages
2020-03-28 00:09:08vstinnercreate