Antoine Pitrou added the comment:

API-wise, I went for the minimal route. This avoids any discussion of adding a 
separate module for a tiny functionality that is only going to be used by a 
couple of libraries (and probably no application code).

Comparisons with atexit are not really relevant, IMO, since the use cases are 
very different.

As for passing explicit arguments to the callable, people can use a lambda or 
functools.partial.  I don't want to complicate the C implementation with 
matters that are not really important.


Python tracker <>
Python-bugs-list mailing list

Reply via email to