Skip to content

Misc fixes and cleanups in error handling C code #73180

Description

@serhiy-storchaka
BPO28994
Nosy@terryjreedy, @pfmoore, @larryhastings, @tjguk, @ned-deily, @zware, @serhiy-storchaka, @zooba, @ZackerySpytz
PRs
  • bpo-28994: Fixed errors handling in atexit._run_exitfuncs(). #2034
  • bpo-28994: PyErr_NormalizeException() no longer recursive. #2035
  • gh-73180: Chain exceptions rather than dropping the old exception. #2072
  • [3.6] bpo-28994: Fixed errors handling in atexit._run_exitfuncs(). (GH-2034) #2121
  • [3.5] bpo-28994: Fixed errors handling in atexit._run_exitfuncs(). (GH-2034) #2122
  • [2.7] bpo-28994: Fixed errors handling in atexit._run_exitfuncs(). (GH-2034) #2123
  • [2.7] bpo-28994: Remove mistakenly backported atexitmodule.c #9214
  • Files
  • errors.diff
  • 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=Nonecreated_at=<Date2016-12-16.23:38:16.853>labels= ['interpreter-core', 'type-bug', '3.7']
    title='Misc fixes and cleanups in error handling C code'updated_at=<Date2018-09-12.11:28:24.267>user='https://github.com/serhiy-storchaka'

    bugs.python.org fields:

    activity=<Date2018-09-12.11:28:24.267>actor='serhiy.storchaka'assignee='none'closed=Falseclosed_date=Nonecloser=Nonecomponents= ['Interpreter Core']
    creation=<Date2016-12-16.23:38:16.853>creator='serhiy.storchaka'dependencies= []
    files= ['45932']
    hgrepos= []
    issue_num=28994keywords= ['patch']
    message_count=14.0messages= ['283451', '295618', '295743', '295744', '295745', '295747', '295817', '295820', '295821', '295822', '295823', '305588', '325129', '325133']
    nosy_count=9.0nosy_names= ['terry.reedy', 'paul.moore', 'larry', 'tim.golden', 'ned.deily', 'zach.ware', 'serhiy.storchaka', 'steve.dower', 'ZackerySpytz']
    pr_nums= ['2034', '2035', '2072', '2121', '2122', '2123', '9214']
    priority='normal'resolution=Nonestage='patch review'status='open'superseder=Nonetype='behavior'url='https://bugs.python.org/issue28994'versions= ['Python 3.5', 'Python 3.6', 'Python 3.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of lifeinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions