bpo-34790: Implement deprecation of passing coroutines to asyncio.wait()#16977
Conversation
|
Adding a |
Sorry, something went wrong.
Done, removing [aeros:~/repos/aeros-cpython]$ ./python -W error -m test test_asyncio == Tests result: SUCCESS == 1 test OK. Total duration: 43.2 sec |
Sorry, something went wrong.
asvetlov
left a comment
There was a problem hiding this comment.
LGTM.
The PR should not be backported to 3.8, right?
It raises new deprecations that were absent in 3.8.0; adding them in 3.8.1 is confusing.
Sorry, something went wrong.
Yep, that's why I did this one separately from #16975, which only fixed the 3.8 whatsnew entry based on Yury's suggestion. Otherwise, the changes would've been combined into the same PR.
Agreed, I'm starting to realize that we should try to avoid implementing significant deprecations partway through a major version (3.x) when possible. It would more likely comely across to users as a surprise and lead to some confusion rather than being overly helpful. For example, if users have already ran their tests with warnings enabled and resolved any deprecation warnings for 3.8.0, I don't think it would be a great experience for them to encounter a bunch of new ones in 3.8.1. |
Sorry, something went wrong.
|
@1st1 @asvetlov What are your thoughts on updating the documentation for As a result, I would like to structure it similarly to the documentation for For more context, see #16977 (comment). |
Sorry, something went wrong.
|
Thanks. |
Sorry, something went wrong.
Yeah, I'll have to spend more time fleshing those ideas out and consider if the proposals might be worthwhile. Thanks! |
Sorry, something went wrong.
/cc @1st1 @asvetlov
https://bugs.python.org/issue34790