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 Ilya.Kulakov
Recipients Ilya.Kulakov, asvetlov, yselivanov
Date 2017-12-29.21:55:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1514584553.01.0.213398074469.issue32363@psf.upfronthosting.co.za>
In-reply-to
Content
Andrew, Yury

I test my lib against dev versions of Python and recently got an error in one of the tests due to the deprecation.

I do not argue the reason behind removing this methods, but Task.set_exception was working for me in tests: https://github.com/Kentzo/async_app/blob/250ee7a05d2af8035806ce1d86f57d0f00283db0/tests/test_utils.py#L73-L91

My use case was outside control of otherwise unconditionally blocking task (for tests only). What replacement (if any) would you suggest?
History
Date User Action Args
2017-12-29 21:55:53Ilya.Kulakovsetrecipients: + Ilya.Kulakov, asvetlov, yselivanov
2017-12-29 21:55:53Ilya.Kulakovsetmessageid: <1514584553.01.0.213398074469.issue32363@psf.upfronthosting.co.za>
2017-12-29 21:55:52Ilya.Kulakovlinkissue32363 messages
2017-12-29 21:55:52Ilya.Kulakovcreate