Skip to content

Update doctect SyntaxErrors for location range #89412

Closed
@akulakov

Description

@akulakov
BPO 45249
Nosy @terryjreedy, @blueyed, @pablogsal, @miss-islington, @Fidget-Spinner, @akulakov
PRs
  • bpo-45249: Add regression test for display of SyntaxError range indicator in doctests #28567
  • bpo-45249: Ensure the traceback module prints correctly syntax errors with ranges #28575
  • [3.10] bpo-45249: Ensure the traceback module prints correctly syntax errors with ranges (GH-28575) #28587
  • bpo-45249: Fix caret location when end_offset is set to 0 #28854
  • bpo-45249: Fix caret location when end_offset is set to 0 #28855
  • [3.10] bpo-45249: Fix caret location when end_offset is set to 0 (GH-28855) #28994
  • 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 2021-10-16.17:37:28.444>
    created_at = <Date 2021-09-20.16:30:58.559>
    labels = ['type-bug', 'library', '3.10', '3.11']
    title = 'Update doctect SyntaxErrors for location range'
    updated_at = <Date 2021-10-16.17:51:11.950>
    user = 'https://github.com/akulakov'

    bugs.python.org fields:

    activity = <Date 2021-10-16.17:51:11.950>
    actor = 'miss-islington'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-10-16.17:37:28.444>
    closer = 'pablogsal'
    components = ['Library (Lib)']
    creation = <Date 2021-09-20.16:30:58.559>
    creator = 'andrei.avk'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 45249
    keywords = ['patch']
    message_count = 18.0
    messages = ['402257', '402258', '402260', '402263', '402268', '402269', '402271', '402284', '402589', '402652', '402662', '402670', '402739', '402742', '403157', '403588', '404103', '404106']
    nosy_count = 6.0
    nosy_names = ['terry.reedy', 'blueyed', 'pablogsal', 'miss-islington', 'kj', 'andrei.avk']
    pr_nums = ['28567', '28575', '28587', '28854', '28855', '28994']
    priority = 'low'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue45249'
    versions = ['Python 3.10', 'Python 3.11']

    Linked PRs

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.11only security fixesstdlibPython modules in the Lib dirtype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions