Skip to content

error message when __aexit__ is not async #74108

@TadhgMcDonald-Jensen

Description

@TadhgMcDonald-Jensen
BPO 29922
Nosy @ned-deily, @bitdancer, @asvetlov, @markshannon, @serhiy-storchaka, @1st1, @ilevkivskyi, @RazerM, @miss-islington
PRs
  • bpo-29922: Improve error messages in 'async with' #6352
  • [3.7] bpo-29922: Improve error messages in 'async with' (GH-6352) #6353
  • [3.6] bpo-29922: Improve error messages in 'async with' (GH-6352) #6354
  • bpo-29922: Add more tests for error messages in 'async with'. #6370
  • [3.7] bpo-29922: Add more tests for error messages in 'async with'. (GH-6370) #6371
  • [3.6] bpo-29922: Add more tests for error messages in 'async with'. (GH-6370) #6373
  • 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 = 'https://github.com/1st1'
    closed_at = <Date 2018-04-04.17:39:22.753>
    created_at = <Date 2017-03-27.17:24:22.827>
    labels = ['interpreter-core', '3.8', 'type-bug', '3.7']
    title = 'error message when __aexit__ is not async'
    updated_at = <Date 2018-04-04.17:39:22.752>
    user = 'https://bugs.python.org/TadhgMcDonald-Jensen'

    bugs.python.org fields:

    activity = <Date 2018-04-04.17:39:22.752>
    actor = 'serhiy.storchaka'
    assignee = 'yselivanov'
    closed = True
    closed_date = <Date 2018-04-04.17:39:22.753>
    closer = 'serhiy.storchaka'
    components = ['Interpreter Core']
    creation = <Date 2017-03-27.17:24:22.827>
    creator = 'Tadhg McDonald-Jensen'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 29922
    keywords = ['patch']
    message_count = 19.0
    messages = ['290630', '290631', '290633', '290639', '290640', '308797', '314827', '314831', '314832', '314834', '314836', '314838', '314839', '314932', '314933', '314939', '314940', '314941', '314944']
    nosy_count = 11.0
    nosy_names = ['ned.deily', 'r.david.murray', 'asvetlov', 'Mark.Shannon', 'serhiy.storchaka', 'yselivanov', 'Chewy', 'levkivskyi', 'RazerM', 'Tadhg McDonald-Jensen', 'miss-islington']
    pr_nums = ['6352', '6353', '6354', '6370', '6371', '6373']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue29922'
    versions = ['Python 3.6', 'Python 3.7', 'Python 3.8']

    Metadata

    Metadata

    Assignees

    Labels

    3.7 (EOL)end of life3.8 (EOL)end of lifeinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions