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 iritkatriel
Recipients benjamin.peterson, daniel.urban, dholth, eric.araujo, iritkatriel, serhiy.storchaka
Date 2021-06-19.18:58:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1624129103.31.0.795060859911.issue12022@roundup.psfhosted.org>
In-reply-to
Content
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__'
>>>
History
Date User Action Args
2021-06-19 18:58:23iritkatrielsetrecipients: + iritkatriel, benjamin.peterson, eric.araujo, daniel.urban, dholth, serhiy.storchaka
2021-06-19 18:58:23iritkatrielsetmessageid: <1624129103.31.0.795060859911.issue12022@roundup.psfhosted.org>
2021-06-19 18:58:23iritkatriellinkissue12022 messages
2021-06-19 18:58:23iritkatrielcreate