[issue44815] asyncio.gather no DeprecationWarning if task are passed

2021-09-03 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: A regression in 3.9.7 (issue45097) seems related to this issue. Could you have a look? -- nosy: +yan12125 ___ Python tracker ___ ___

[issue44815] asyncio.gather no DeprecationWarning if task are passed

2021-08-18 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Sam! ✨ 🍰 ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue44815] asyncio.gather no DeprecationWarning if task are passed

2021-08-18 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset b2779b2aa16acb3fd1297ccfe2fe5aaa007f74ae by Sam Bull in branch '3.9': [3.9] bpo-44815: Always show deprecation in asyncio.gather/sleep() (GH-27569) https://github.com/python/cpython/commit/b2779b2aa16acb3fd1297ccfe2fe5aaa007f74ae -- nosy:

[issue44815] asyncio.gather no DeprecationWarning if task are passed

2021-08-02 Thread Sam Bull
Change by Sam Bull : -- pull_requests: +26076 pull_request: https://github.com/python/cpython/pull/27569 ___ Python tracker ___ ___

[issue44815] asyncio.gather no DeprecationWarning if task are passed

2021-08-02 Thread Sam Bull
Sam Bull added the comment: There is another issue with asyncio.sleep() too, if the passed argument is 0. This also tripped up the tests in aiohttp (though I've also used an explicit 0 in production code to yield back to the loop). -- ___ Python t

[issue44815] asyncio.gather no DeprecationWarning if task are passed

2021-08-02 Thread Sam Bull
Change by Sam Bull : -- keywords: +patch pull_requests: +26075 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27568 ___ Python tracker ___ ___

[issue44815] asyncio.gather no DeprecationWarning if task are passed

2021-08-02 Thread Sam Bull
New submission from Sam Bull : When calling asyncio.gather() a DeprecationWarning is only emitted if no tasks are passed (which is probably the exceptional case, rather than the standard one). This has resulted in us missing this deprecated argument in aiohttp until we received a bug report