Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upbpo-34790: Implement deprecation of passing coroutines to asyncio.wait() #16977
Conversation
This comment has been minimized.
This comment has been minimized.
Adding a |
This comment has been minimized.
This comment has been minimized.
Done, removing [aeros:~/repos/aeros-cpython]$ ./python -W error -m test test_asyncio == Tests result: SUCCESS == 1 test OK. Total duration: 43.2 sec |
LGTM. |
This comment has been minimized.
This comment has been minimized.
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. |
This comment has been minimized.
This comment has been minimized.
@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). |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Thanks. |
This comment has been minimized.
This comment has been minimized.
Yeah, I'll have to spend more time fleshing those ideas out and consider if the proposals might be worthwhile. Thanks! |
aeros commentedOct 29, 2019
•
edited by bedevere-bot
/cc @1st1 @asvetlov
https://bugs.python.org/issue34790