[issue16500] Allow registering at-fork handlers

Serhiy Storchaka report at bugs.python.org
Mon May 22 08:58:52 EDT 2017


Serhiy Storchaka added the comment:

`atexit.register()` has different signature and allows to pass arbitrary positional and keyword arguments to the registered function. This is incompatible with the "when" argument. If we want to support registering arguments with the function, we need either three registering functions or make the "when" parameter the first and positional-only.

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16500>
_______________________________________


More information about the Python-bugs-list mailing list