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 serhiy.storchaka
Recipients ajoino, alex.gronholm, asvetlov, chris.jerdonek, dreamsorcerer, gvanrossum, iritkatriel, jab, njs, serhiy.storchaka, tinchester, yselivanov
Date 2022-02-23.17:03:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1645635810.78.0.685037384352.issue46829@roundup.psfhosted.org>
In-reply-to
Content
For reference, the msg parameter of Task.cancel() was added in issue31033.

It seems that the initial use case was for debugging. I do not see how it differs from the following example:

    r = random.random()
    if r < 0.5:
        x = 0
    else:
        x = 0
    1/x

In the traceback we see the line where an error occurred but we do not see a line which lead to this error.
History
Date User Action Args
2022-02-23 17:03:30serhiy.storchakasetrecipients: + serhiy.storchaka, gvanrossum, njs, jab, asvetlov, alex.gronholm, chris.jerdonek, yselivanov, tinchester, iritkatriel, dreamsorcerer, ajoino
2022-02-23 17:03:30serhiy.storchakasetmessageid: <1645635810.78.0.685037384352.issue46829@roundup.psfhosted.org>
2022-02-23 17:03:30serhiy.storchakalinkissue46829 messages
2022-02-23 17:03:30serhiy.storchakacreate