[issue40967] asyncio.Task.all_tasks() and asyncio.Task.current_task() must be removed in 3.9

2022-03-12 Thread Andrew Svetlov


Change by Andrew Svetlov :


--
resolution:  -> fixed
stage: commit review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40967] asyncio.Task.all_tasks() and asyncio.Task.current_task() must be removed in 3.9

2020-07-01 Thread Kyle Stanley

Kyle Stanley  added the comment:

Thanks Rémi for working on this.

--
priority: release blocker -> normal
stage: patch review -> commit review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40967] asyncio.Task.all_tasks() and asyncio.Task.current_task() must be removed in 3.9

2020-07-01 Thread miss-islington


miss-islington  added the comment:


New changeset df59293bf0d815fe37743025d639a63a78e0c771 by Miss Islington (bot) 
in branch '3.9':
bpo-40967: Remove deprecated asyncio.Task.current_task() and 
asyncio.Task.all_tasks() (GH-20874)
https://github.com/python/cpython/commit/df59293bf0d815fe37743025d639a63a78e0c771


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40967] asyncio.Task.all_tasks() and asyncio.Task.current_task() must be removed in 3.9

2020-07-01 Thread miss-islington

miss-islington  added the comment:


New changeset 004e64e8059fe68a72890314673282f2e60d5ce1 by Rémi Lapeyre in 
branch 'master':
bpo-40967: Remove deprecated asyncio.Task.current_task() and 
asyncio.Task.all_tasks() (GH-20874)
https://github.com/python/cpython/commit/004e64e8059fe68a72890314673282f2e60d5ce1


--
nosy: +miss-islington

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40967] asyncio.Task.all_tasks() and asyncio.Task.current_task() must be removed in 3.9

2020-07-01 Thread miss-islington


Change by miss-islington :


--
pull_requests: +20422
pull_request: https://github.com/python/cpython/pull/21272

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40967] asyncio.Task.all_tasks() and asyncio.Task.current_task() must be removed in 3.9

2020-06-29 Thread Łukasz Langa

Łukasz Langa  added the comment:

Go ahead.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40967] asyncio.Task.all_tasks() and asyncio.Task.current_task() must be removed in 3.9

2020-06-29 Thread Yury Selivanov


Yury Selivanov  added the comment:

> Optimally, we want to do removals before the beta so that users can prepare 
> accordingly rather than deal with breakage in the final release.

+1 to remove it now.  Up to Lukasz to give us green or red light here, though.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40967] asyncio.Task.all_tasks() and asyncio.Task.current_task() must be removed in 3.9

2020-06-27 Thread Kyle Stanley


Kyle Stanley  added the comment:

> With beta 4 coming in 2 days it would perhaps good to choose now whether this 
> must be done for 3.9 or 3.10

Agreed. I'm definitely leaning towards 3.10 with it being decently well into 
the beta, but I'll try to bring this to Yury's attention to make a final 
decision on the matter. Optimally, we want to do removals before the beta so 
that users can prepare accordingly rather than deal with breakage in the final 
release.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40967] asyncio.Task.all_tasks() and asyncio.Task.current_task() must be removed in 3.9

2020-06-27 Thread Rémi Lapeyre

Rémi Lapeyre  added the comment:

With beta 4 coming in 2 days it would perhaps good to choose now whether this 
must be done for 3.9 or 3.10

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40967] asyncio.Task.all_tasks() and asyncio.Task.current_task() must be removed in 3.9

2020-06-14 Thread Rémi Lapeyre

Change by Rémi Lapeyre :


--
keywords: +patch
pull_requests: +20062
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/20874

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40967] asyncio.Task.all_tasks() and asyncio.Task.current_task() must be removed in 3.9

2020-06-13 Thread Kyle Stanley

Kyle Stanley  added the comment:

Thanks for bringing attention to this Rémi. 

I'm a bit concerned that it might be a bit late into the 3.9 beta to 
incorporate a removal and that we might need to consider delaying to 3.10, but 
I'll leave that up to Lukasz. Feel free to open a PR in the meantime since it 
will need to be removed either way, the only main difference is whether or not 
it gets backported to 3.9.

(I elevated the priority to "release blocker", as I think it should be a 
blocker for 3.10 if it's not for 3.9. The version should be updated 
accordingly.)

--
nosy: +aeros, lukasz.langa
priority: normal -> release blocker

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40967] asyncio.Task.all_tasks() and asyncio.Task.current_task() must be removed in 3.9

2020-06-13 Thread Rémi Lapeyre

New submission from Rémi Lapeyre :

The documentation says:


  .. deprecated-removed:: 3.7 3.9

 Do not call this as a task method. Use the :func:`asyncio.all_tasks`
 function instead.


I don't know if it's still possible to merge this in 3.9 and if so, if it 
should be a release blocker. Anyway I'm working on a PR for this.

--
components: asyncio
messages: 371449
nosy: asvetlov, remi.lapeyre, yselivanov
priority: normal
severity: normal
status: open
title: asyncio.Task.all_tasks() and asyncio.Task.current_task() must be removed 
in 3.9
versions: Python 3.10, Python 3.9

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com