This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Yury.Selivanov
Recipients Yury.Selivanov, ncoghlan
Date 2012-06-25.22:31:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1340663500.78.0.8609663108.issue15185@psf.upfronthosting.co.za>
In-reply-to
Content
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.)
History
Date User Action Args
2012-06-25 22:31:41Yury.Selivanovsetrecipients: + Yury.Selivanov, ncoghlan
2012-06-25 22:31:40Yury.Selivanovsetmessageid: <1340663500.78.0.8609663108.issue15185@psf.upfronthosting.co.za>
2012-06-25 22:31:40Yury.Selivanovlinkissue15185 messages
2012-06-25 22:31:40Yury.Selivanovcreate