[issue46995] Make Task.set_name() mandatory for third-parties

2022-03-13 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue46995] Make Task.set_name() mandatory for third-parties

2022-03-13 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 7e473e94a52024ac821dd2f206290423e4987ead by Andrew Svetlov in branch 'main': bpo-46995: Deprecate missing asyncio.Task.set_name() for third-party task implementations (GH-31838)

[issue46995] Make Task.set_name() mandatory for third-parties

2022-03-12 Thread Andrew Svetlov
Change by Andrew Svetlov : -- keywords: +patch pull_requests: +29937 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31838 ___ Python tracker ___

[issue46995] Make Task.set_name() mandatory for third-parties

2022-03-12 Thread Andrew Svetlov
New submission from Andrew Svetlov : The method was introduced by Python 3.8 Let's raise DeprecationWarning if third-party task implementation doesn't support it. Convert the depreciation into a strict error in Python 3.13 -- components: asyncio messages: 414990 nosy: asvetlov,