summaryrefslogtreecommitdiffstats
path: root/Python/importdl.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2021-06-29 08:28:15 (GMT)
committerGitHub <noreply@github.com>2021-06-29 08:28:15 (GMT)
commit6cb145d23f5cf69b6d7414877d142747cd3d134c (patch)
tree0617efcd6911c14a1b8003bb9bee5fc68e521103 /Python/importdl.c
parent20a88004bae8ead66a205a125e1fe979376fc3ea (diff)
downloadcpython-6cb145d23f5cf69b6d7414877d142747cd3d134c.zip
cpython-6cb145d23f5cf69b6d7414877d142747cd3d134c.tar.gz
cpython-6cb145d23f5cf69b6d7414877d142747cd3d134c.tar.bz2
bpo-44471: Change error type for bad objects in ExitStack.enter_context() (GH-26820)
A TypeError is now raised instead of an AttributeError in ExitStack.enter_context() and AsyncExitStack.enter_async_context() for objects which do not support the context manager or asynchronous context manager protocols correspondingly.
Diffstat (limited to 'Python/importdl.c')
0 files changed, 0 insertions, 0 deletions