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 ncoghlan
Recipients Rhamphoryncus, benjamin.peterson, ncoghlan
Date 2008-06-09.06:35:40
SpamBayes Score 0.020323105
Marked as misclassified No
Message-id <1212993350.32.0.143797077709.issue3042@psf.upfronthosting.co.za>
In-reply-to
Content
I'd still be inclined to put a @wraps(meth) decorator on the definition
of the wrapper function (and then override to the supplied name
afterwards) - remember that functools.wraps is a decorator factory
rather than a decorator itself. 

That would ensure that any docstrings and the like would be preserved
(granted, it appears the threading module currently doesn't *have* any
docstrings, but it would still be better to write the wrapping code
correctly).
History
Date User Action Args
2008-06-09 06:35:51ncoghlansetspambayes_score: 0.0203231 -> 0.020323105
recipients: + ncoghlan, Rhamphoryncus, benjamin.peterson
2008-06-09 06:35:50ncoghlansetspambayes_score: 0.0203231 -> 0.0203231
messageid: <1212993350.32.0.143797077709.issue3042@psf.upfronthosting.co.za>
2008-06-09 06:35:48ncoghlanlinkissue3042 messages
2008-06-09 06:35:47ncoghlancreate