Author pitrou
Recipients Arfrever, DLitz, aliles, amaury.forgeotdarc, asvetlov, christian.heimes, emptysquare, georg.brandl, grahamd, gregory.p.smith, ionelmc, jcea, lemburg, neologix, pitrou, rpcope1, sbt, serhiy.storchaka, socketpair, twouters, vstinner, xupeng, yselivanov
Date 2017-05-22.13:02:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1495458154.15.0.683763767982.issue16500@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-05-22 13:02:34pitrousetrecipients: + pitrou, lemburg, twouters, georg.brandl, gregory.p.smith, jcea, amaury.forgeotdarc, vstinner, christian.heimes, grahamd, Arfrever, ionelmc, asvetlov, neologix, socketpair, sbt, aliles, serhiy.storchaka, yselivanov, DLitz, emptysquare, xupeng, rpcope1
2017-05-22 13:02:34pitrousetmessageid: <1495458154.15.0.683763767982.issue16500@psf.upfronthosting.co.za>
2017-05-22 13:02:34pitroulinkissue16500 messages
2017-05-22 13:02:33pitroucreate