bpo-36933: Remove sys.set_coroutine_wrapper (marked for removal in 3.8) (GH-13577)

It has been documented as deprecated and to be removed in 3.8; 

From a comment on another thread – which I can't find ; leave get_coro_wrapper() for now, but always return `None`.


https://bugs.python.org/issue36933
This commit is contained in:
Matthias Bussonnier 2019-05-28 00:10:59 -07:00 committed by Miss Islington (bot)
parent 436c2b0d67
commit 3880f263d2
11 changed files with 7 additions and 287 deletions

View file

@ -337,7 +337,6 @@ library/zipapp,,:main,"$ python -m zipapp myapp -m ""myapp:main"""
library/zipapp,,:fn,"pkg.mod:fn"
library/zipapp,,:callable,"pkg.module:callable"
library/stdtypes,,::,>>> m[::2].tolist()
library/sys,,`,# ``wrapper`` creates a ``wrap(coro)`` coroutine:
whatsnew/3.5,,:root,'WARNING:root:warning\n'
whatsnew/3.5,,:warning,'WARNING:root:warning\n'
whatsnew/3.5,,::,>>> addr6 = ipaddress.IPv6Address('::1')

1 c-api/arg :ref PyArg_ParseTuple(args, "O|O:ref", &object, &callback)
337 library/zipapp :fn pkg.mod:fn
338 library/zipapp :callable pkg.module:callable
339 library/stdtypes :: >>> m[::2].tolist()
library/sys ` # ``wrapper`` creates a ``wrap(coro)`` coroutine:
340 whatsnew/3.5 :root 'WARNING:root:warning\n'
341 whatsnew/3.5 :warning 'WARNING:root:warning\n'
342 whatsnew/3.5 :: >>> addr6 = ipaddress.IPv6Address('::1')