Skip to content

GH-94597: add deprecation warnings for subclassing AbstractChildWatcher - #99386

Merged
gvanrossum merged 3 commits into
python:mainfrom
kumaraditya303:async-deprecate
Nov 12, 2022
Merged

GH-94597: add deprecation warnings for subclassing AbstractChildWatcher#99386
gvanrossum merged 3 commits into
python:mainfrom
kumaraditya303:async-deprecate

Conversation

@kumaraditya303

@kumaraditya303kumaraditya303 commented Nov 11, 2022

Copy link
Copy Markdown
Contributor

@kumaraditya303

kumaraditya303 commented Nov 11, 2022

Copy link
Copy Markdown
ContributorAuthor

This isn't really needed as deprecation warning will be emitted anyway when configuring the child watcher via set_child_watcher but still adding for anyone who is subclassing this but not configuring the child watcher for whatever reason.

@gvanrossumgvanrossum left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(Do double check the appearance of the deprecation note.)

Comment threadDoc/library/asyncio-policy.rst
@gvanrossum
gvanrossum merged commit aa87432 into python:mainNov 12, 2022
@kumaraditya303
kumaraditya303 deleted the async-deprecate branch November 12, 2022 07:18
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@kumaraditya303@gvanrossum@bedevere-bot