Skip to content

code.InteractiveConsole ignores sys.excepthook #56852

@aliles

Description

@aliles
mannequin
BPO 12643
Nosy @ncoghlan, @pitrou, @vstinner, @asvetlov, @florentx, @berkerpeksag
Files
  • console.py: Demonstrate sys.excepthook behaviour from code.InteractiveConsole
  • startup.py
  • issue12643.diff: Add unit tests. Call sys.excepthook if overridden
  • issue12643_2.diff: Updated patch to address feedback
  • 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 2016-09-12.01:49:27.894>
    created_at = <Date 2011-07-27.12:10:06.983>
    labels = ['type-bug', 'library']
    title = 'code.InteractiveConsole ignores sys.excepthook'
    updated_at = <Date 2016-09-12.01:49:27.677>
    user = 'https://bugs.python.org/aliles'

    bugs.python.org fields:

    activity = <Date 2016-09-12.01:49:27.677>
    actor = 'berker.peksag'
    assignee = 'none'
    closed = True
    closed_date = <Date 2016-09-12.01:49:27.894>
    closer = 'berker.peksag'
    components = ['Library (Lib)']
    creation = <Date 2011-07-27.12:10:06.983>
    creator = 'aliles'
    dependencies = []
    files = ['22771', '22773', '26920', '26928']
    hgrepos = []
    issue_num = 12643
    keywords = ['patch']
    message_count = 14.0
    messages = ['141222', '141224', '141225', '141226', '141227', '141367', '141369', '168635', '168652', '168656', '168662', '168665', '168666', '275909']
    nosy_count = 8.0
    nosy_names = ['ncoghlan', 'pitrou', 'vstinner', 'asvetlov', 'flox', 'python-dev', 'aliles', 'berker.peksag']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue12643'
    versions = ['Python 3.3']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      stdlibStandard 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