Message164021
With this patch 'contextlib.ExitStack.callback(callback, *args, **kwds)' will validate that the passed callback actually accept the passed '*args' and '**kwds'.
P.S. If this patch comes through - I'll create two more issues for 'atexit.register' and 'unittest.TestCase.addCleanup'. (I'll also look through the stdlib to find if there are some other places where this is needed.) |
|
Date |
User |
Action |
Args |
2012-06-25 22:31:41 | Yury.Selivanov | set | recipients:
+ Yury.Selivanov, ncoghlan |
2012-06-25 22:31:40 | Yury.Selivanov | set | messageid: <1340663500.78.0.8609663108.issue15185@psf.upfronthosting.co.za> |
2012-06-25 22:31:40 | Yury.Selivanov | link | issue15185 messages |
2012-06-25 22:31:40 | Yury.Selivanov | create | |
|