[Python-Dev] [Python-checkins] cpython (3.4): asyncio: async() function is deprecated in favour of ensure_future(). (original) (raw)

Yury Selivanov yselivanov.ml at gmail.com
Mon May 11 21:47:16 CEST 2015


Yes, I'm in the process of writing it ;) (as well as for new set_task_factory())

Thanks, Yury

On 2015-05-11 3:42 PM, Paul Moore wrote:

On 11 May 2015 at 19:50, yury.selivanov <python-checkins at python.org> wrote:

https://hg.python.org/cpython/rev/b78127eafad7 changeset: 95956:b78127eafad7 branch: 3.4 parent: 95953:a983d63e3321 user: Yury Selivanov <yselivanov at sprymix.com> date: Mon May 11 14:48:38 2015 -0400 summary: asyncio: async() function is deprecated in favour of ensurefuture().

files: Lib/asyncio/baseevents.py | 2 +- Lib/asyncio/tasks.py | 27 ++++- Lib/asyncio/windowsevents.py | 2 +- Lib/test/testasyncio/testbaseevents.py | 6 +- Lib/test/testasyncio/testtasks.py | 48 +++++---- Lib/test/testasyncio/testwindowsevents.py | 2 +- Misc/NEWS | 4 +- 7 files changed, 57 insertions(+), 34 deletions(-) Surely this should include a doc change? Paul


Python-Dev mailing list Python-Dev at python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/yselivanov.ml%40gmail.com



More information about the Python-Dev mailing list