Irit Katriel <iritkatr...@gmail.com> added the comment:
I've reproduced this on 3.11 (though the AttributeError is now on __enter__ and not __exit__ as was the case in msg135484): >>> import transaction >>> with transaction: pass ... Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: __enter__ >>> import sys >>> sys.__exit__ Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: module 'sys' has no attribute '__exit__' >>> ---------- nosy: +iritkatriel versions: +Python 3.11 -Python 2.7 _______________________________________ 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