]> granicus.if.org Git - python/commit
bpo-29922: Improve error messages in 'async with' (GH-6352)
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 2 Apr 2018 22:41:38 +0000 (01:41 +0300)
committerGitHub <noreply@github.com>
Mon, 2 Apr 2018 22:41:38 +0000 (01:41 +0300)
commita68f2f0578bbf812fa2264d0e0bb388340d6e230
tree28e7b09fab40a1a44088ca682bef53dc0ee02171
parent55966f3a0d5f1bf823bd22ce1abbde267b06552f
bpo-29922: Improve error messages in 'async with' (GH-6352)

when __aenter__() or __aexit__() return non-awaitable object.
Lib/test/test_coroutines.py
Misc/NEWS.d/next/Core and Builtins/2018-04-03-00-30-25.bpo-29922.CdLuMl.rst [new file with mode: 0644]
Python/ceval.c