Skip to content

AsyncExitStack.enter_async_context() is mishandling exception __context__ #88760

Description

@belm0
mannequin
BPO 44594
Nosy @ncoghlan, @belm0, @njsmith, @miss-islington, @belm0
PRs
  • gh-88760: fix (Async)ExitStack handling of __context__ #27089
  • [3.10] bpo-44594: fix (Async)ExitStack handling of __context__ (gh-27089) #28730
  • [3.9] bpo-44594: fix (Async)ExitStack handling of __context__ (gh-27089) #28731
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2022-01-14.14:05:30.292>
    created_at = <Date 2021-07-09.23:59:53.594>
    labels = ['type-bug', 'library', '3.9', '3.10', '3.11']
    title = 'AsyncExitStack.enter_async_context() is mishandling exception __context__'
    updated_at = <Date 2022-01-14.14:05:30.291>
    user = 'https://github.com/belm0'

    bugs.python.org fields:

    activity = <Date 2022-01-14.14:05:30.291>
    actor = 'iritkatriel'
    assignee = 'none'
    closed = True
    closed_date = <Date 2022-01-14.14:05:30.292>
    closer = 'iritkatriel'
    components = ['Library (Lib)']
    creation = <Date 2021-07-09.23:59:53.594>
    creator = 'John Belmonte'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 44594
    keywords = ['patch']
    message_count = 8.0
    messages = ['397230', '397271', '397284', '397285', '397289', '403123', '403197', '403198']
    nosy_count = 6.0
    nosy_names = ['ncoghlan', 'jbelmonte', 'njs', 'David Hoyes', 'miss-islington', 'John Belmonte']
    pr_nums = ['27089', '28730', '28731']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue44594'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.11only security fixes3.9 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions