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 achimnol
Recipients achimnol, asvetlov, gvanrossum, socketpair, yselivanov
Date 2018-01-13.18:03:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I strongly agree to have discretion of CancelledError and other general exceptions, though I don't have concrete ideas on good unobtrusive ways to achieve this.

If I write my codes carefully I could control most of cancellation explicitly, but it is still hard to control it in 3rd-party libraries that I depend on. Often they just raise random errors, or CancelledError is swallowed.

Also it would be nice to have some documentation and examples on how to write "cancellation-friendly" coroutine codes.
Date User Action Args
2018-01-13 18:03:34achimnolsetrecipients: + achimnol, gvanrossum, asvetlov, socketpair, yselivanov
2018-01-13 18:03:34achimnolsetmessageid: <>
2018-01-13 18:03:34achimnollinkissue32528 messages
2018-01-13 18:03:33achimnolcreate