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 santoso.wijaya
Recipients ahojnnes, brian.curtin, santoso.wijaya
Date 2011-03-09.02:53:53
SpamBayes Score 3.0854342e-06
Marked as misclassified No
Message-id <1299639235.21.0.989760895913.issue7769@psf.upfronthosting.co.za>
In-reply-to
Content
I'm attaching a patch against 2.7 tip for an initial implementation of this decorator feature as well as sample usage in unittest, to get the ball rolling.

The modified function should work as a decorator while preserving backward compatibility to be used in a traditional method call.
History
Date User Action Args
2011-03-09 02:53:55santoso.wijayasetrecipients: + santoso.wijaya, brian.curtin, ahojnnes
2011-03-09 02:53:55santoso.wijayasetmessageid: <1299639235.21.0.989760895913.issue7769@psf.upfronthosting.co.za>
2011-03-09 02:53:54santoso.wijayalinkissue7769 messages
2011-03-09 02:53:54santoso.wijayacreate