This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients ncoghlan, serhiy.storchaka, yselivanov
Date 2021-06-21.07:43:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1624261433.34.0.758010123752.issue44471@roundup.psfhosted.org>
In-reply-to
Content
For consistency with the "with" statement (see issue12022) ExitStack.enter_context() should raise TypeError instead of AttributeError if the argument is not a context manager. Same for AsyncExitStack.enter_async_context().
History
Date User Action Args
2021-06-21 07:43:53serhiy.storchakasetrecipients: + serhiy.storchaka, ncoghlan, yselivanov
2021-06-21 07:43:53serhiy.storchakasetmessageid: <1624261433.34.0.758010123752.issue44471@roundup.psfhosted.org>
2021-06-21 07:43:53serhiy.storchakalinkissue44471 messages
2021-06-21 07:43:53serhiy.storchakacreate