Serhiy Storchaka added the comment:

I agree that with lambdas and functools.partial the support of arguments is not 
needed. Unless someone has good reasons for supporting explicit passing of 
arguments I'm fine with your design.

If the user code manually calls the fork() and (now deprecated) 
PyOS_AfterFork(), it runs "child" functions, but not "before" and "parent" 
functions. Is it worth to emit a runtime warning if the "before" or "parent" 
lists are not empty? Or even immediately exit a child with error?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16500>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to