Skip to content

ast.parse with type_comments=True should allow extra text after # type: ignore #81059

Description

@msullivan
mannequin
BPO 36878
Nosy @gvanrossum, @ilevkivskyi, @miss-islington, @msullivan
PRs
  • bpo-36878: Allow extra text after # type: ignore comments #13238
  • bpo-36878: Track extra text added to 'type: ignore' in the AST #13479
  • bpo-36878: Only allow text after # type: ignore if first character ASCII #13504
  • 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 2019-05-22.21:08:33.760>
    created_at = <Date 2019-05-10.20:40:16.492>
    labels = ['interpreter-core', 'type-feature', '3.8']
    title = 'ast.parse with type_comments=True should allow extra text after # type: ignore'
    updated_at = <Date 2019-05-22.21:28:13.436>
    user = 'https://github.com/msullivan'

    bugs.python.org fields:

    activity = <Date 2019-05-22.21:28:13.436>
    actor = 'msullivan'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-05-22.21:08:33.760>
    closer = 'gvanrossum'
    components = ['Interpreter Core']
    creation = <Date 2019-05-10.20:40:16.492>
    creator = 'msullivan'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 36878
    keywords = ['patch']
    message_count = 9.0
    messages = ['342130', '342144', '342213', '343130', '343198', '343205', '343236', '343237', '343240']
    nosy_count = 4.0
    nosy_names = ['gvanrossum', 'levkivskyi', 'miss-islington', 'msullivan']
    pr_nums = ['13238', '13479', '13504']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue36878'
    versions = ['Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.8 (EOL)end of lifeinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancement

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions