Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IDLE: Test stackbrowser.Stackbrowser #78086

Closed
terryjreedy opened this issue Jun 19, 2018 · 4 comments
Closed

IDLE: Test stackbrowser.Stackbrowser #78086

terryjreedy opened this issue Jun 19, 2018 · 4 comments
Assignees
Labels
3.7 (EOL) end of life 3.8 only security fixes topic-IDLE type-feature A feature request or enhancement

Comments

@terryjreedy
Copy link
Member

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']

    @terryjreedy terryjreedy added type-bug An unexpected behavior, bug, or error 3.7 (EOL) end of life 3.8 only security fixes labels Jun 19, 2018
    @terryjreedy terryjreedy self-assigned this Jun 19, 2018
    @terryjreedy
    Copy link
    Member Author

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

    @miss-islington
    Copy link
    Contributor

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

    @miss-islington
    Copy link
    Contributor

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

    @terryjreedy
    Copy link
    Member Author

    (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.

    @terryjreedy terryjreedy changed the title IDLE: stackbrowser.Stackbrowser should accept exception. IDLE: Test stackbrowser.Stackbrowser Jun 22, 2018
    @terryjreedy terryjreedy added type-feature A feature request or enhancement and removed type-bug An unexpected behavior, bug, or error labels Jun 22, 2018
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.7 (EOL) end of life 3.8 only security fixes topic-IDLE type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants