Skip to content

bpo-42639: Cleanup atexitmodule.c#23770

Merged
vstinner merged 1 commit into
python:masterfrom
vstinner:cleanup_atexit
Dec 14, 2020
Merged

bpo-42639: Cleanup atexitmodule.c#23770
vstinner merged 1 commit into
python:masterfrom
vstinner:cleanup_atexit

Conversation

@vstinner
Copy link
Copy Markdown
Member

@vstinner vstinner commented Dec 14, 2020

  • Rename "atexitmodule_state" to "struct atexit_state".
  • Rename "modstate" to "state".
  • Rename "self" parameter to "module".
  • test_atexit uses textwrap.dedent().
  • Remove _Py_PyAtExit() function: inline it into atexit_exec().
  • PyInterpreterState: rename pyexitfunc to atexit_func, rename
    pyexitmodule to atexit_module.

https://bugs.python.org/issue42639

* Rename "atexitmodule_state" to "struct atexit_state".
* Rename "modstate" to "state".
* Rename "self" parameter to "module".
* test_atexit uses textwrap.dedent().
* Remove _Py_PyAtExit() function: inline it into atexit_exec().
* PyInterpreterState: rename pyexitfunc to atexit_func, rename
  pyexitmodule to atexit_module.
@vstinner vstinner merged commit 83d5204 into python:master Dec 14, 2020
@vstinner vstinner deleted the cleanup_atexit branch December 14, 2020 21:43
adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 13, 2021
* Rename "atexitmodule_state" to "struct atexit_state".
* Rename "modstate" to "state".
* Rename "self" parameter to "module".
* test_atexit uses textwrap.dedent().
* Remove _Py_PyAtExit() function: inline it into atexit_exec().
* PyInterpreterState: rename pyexitfunc to atexit_func, rename
  pyexitmodule to atexit_module.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants