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 <>
Python-bugs-list mailing list

Reply via email to