Skip to content

IDLE: Test stackbrowser.Stackbrowser #78086

Closed

Description

@terryjreedy
BPO 33905
Nosy @terryjreedy, @miss-islington
PRs
  • bpo-33905: Add test for idlelib.stackview.StackBrowser. #7852
  • [3.7] bpo-33905: Add test for idlelib.stackview.StackBrowser. (GH-7852) #7853
  • [3.6] bpo-33905: Add test for idlelib.stackview.StackBrowser. (GH-7852) #7854
  • 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/terryjreedy'
    closed_at = <Date 2018-06-22.02:52:14.959>
    created_at = <Date 2018-06-19.22:26:07.316>
    labels = ['3.8', 'expert-IDLE', 'type-feature', '3.7']
    title = 'IDLE: Test stackbrowser.Stackbrowser'
    updated_at = <Date 2018-06-22.02:52:14.957>
    user = 'https://github.com/terryjreedy'

    bugs.python.org fields:

    activity = <Date 2018-06-22.02:52:14.957>
    actor = 'terry.reedy'
    assignee = 'terry.reedy'
    closed = True
    closed_date = <Date 2018-06-22.02:52:14.959>
    closer = 'terry.reedy'
    components = ['IDLE']
    creation = <Date 2018-06-19.22:26:07.316>
    creator = 'terry.reedy'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 33905
    keywords = ['patch']
    message_count = 4.0
    messages = ['320203', '320205', '320206', '320208']
    nosy_count = 2.0
    nosy_names = ['terry.reedy', 'miss-islington']
    pr_nums = ['7852', '7853', '7854']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue33905'
    versions = ['Python 3.6', 'Python 3.7', 'Python 3.8']

    Activity

    1. self-assigned this
      on Jun 19, 2018
    2. terryjreedy commented on Jun 22, 2018

      @terryjreedy
      MemberAuthor

      New changeset bcd3a1a by Terry Jan Reedy in branch 'master':
      bpo-33905: Add test for idlelib.stackview.StackBrowser. (GH-7852)
      bcd3a1a

    3. miss-islington commented on Jun 22, 2018

      @miss-islington
      Contributor

      New changeset d554414 by Miss Islington (bot) in branch '3.7':
      bpo-33905: Add test for idlelib.stackview.StackBrowser. (GH-7852)
      d554414

    4. miss-islington commented on Jun 22, 2018

      @miss-islington
      Contributor

      New changeset a0622f1 by Miss Islington (bot) in branch '3.6':
      bpo-33905: Add test for idlelib.stackview.StackBrowser. (GH-7852)
      a0622f1

    5. terryjreedy commented on Jun 22, 2018

      @terryjreedy
      MemberAuthor

      (My initial messages contained a mistaken idea based on a mis-remembering the details sys.last values and exceptions.)

      If an exception is not caught and a traceback is printed, sys.last_type, sys.last_value, and sys.last_traceback are set. When an exception is caught, the last_ x values are not touched, but the same are available by calling sys.exc_info. Stackview accessed all 3 sys.last_x values, but they are not normally set when testing because exception are caught. The test sets them from a sys.exc_info after catching an exception.

    6. changed the title [-]IDLE: stackbrowser.Stackbrowser should accept exception.[/-] [+]IDLE: Test stackbrowser.Stackbrowser[/+] on Jun 22, 2018
    7. added
      type-featureA feature request or enhancement
      and removed
      type-bugAn unexpected behavior, bug, or error
      on Jun 22, 2018
    8. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions