Skip to content

Update doctect SyntaxErrors for location range#89412

@akulakov

Description

@akulakov
BPO45249
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=Noneclosed_at=<Date2021-10-16.17:37:28.444>created_at=<Date2021-09-20.16:30:58.559>labels= ['type-bug', 'library', '3.10', '3.11'] title='Update doctect SyntaxErrors for location range'updated_at=<Date2021-10-16.17:51:11.950>user='https://github.com/akulakov'

    bugs.python.org fields:

    activity=<Date2021-10-16.17:51:11.950>actor='miss-islington'assignee='none'closed=Trueclosed_date=<Date2021-10-16.17:37:28.444>closer='pablogsal'components= ['Library (Lib)'] creation=<Date2021-09-20.16:30:58.559>creator='andrei.avk'dependencies= [] files= [] hgrepos= [] issue_num=45249keywords= ['patch'] message_count=18.0messages= ['402257', '402258', '402260', '402263', '402268', '402269', '402271', '402284', '402589', '402652', '402662', '402670', '402739', '402742', '403157', '403588', '404103', '404106'] nosy_count=6.0nosy_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=Nonetype='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 fixesstdlibStandard 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