Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
PR 26809 makes "with" and "async with" raising TypeError instead of AttributeError for wrong types. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue12022> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com