This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: atexit decorator
Type: Stage:
Components: Library (Lib) Versions: Python 2.4
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: rhettinger
Priority: normal Keywords: patch

Created on 2004-09-21 05:56 by rhettinger, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
atexit.diff rhettinger, 2004-09-21 05:56 atexit.diff
Messages (2)
msg46922 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2004-09-21 05:56
Add an obvious decorator to the atexit module:

@atexit(arg1, arg2)
def myexitfunc(arg1, arg2):
   . . .

If accepted, docs and tests forthcoming.
msg46923 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2004-09-27 21:10
Logged In: YES 
user_id=80475

Closed due to lack of interest.
History
Date User Action Args
2022-04-11 14:56:07adminsetgithub: 40938
2004-09-21 05:56:09rhettingercreate