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 aliles, daniel.urban, eric.araujo, ezio.melotti, flox, meador.inge, ncoghlan, rhettinger
Date 2013-03-19.18:16:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1363716965.36.0.158677008255.issue13266@psf.upfronthosting.co.za>
In-reply-to
Content
Turns out there's a bug in the implementation of functools.update_wrapper :P

Added that as a dependency, since this API doesn't make sense until update_wrapper is behaving itself.

The new tests didn't pick it up because they don't use wraps or update_wrapper, they set __wrapped__ directly.

Also, the replacement of the recursion in inspect.signature is incorrect - we want to interleave checks for __signature__ as we recurse through the stack of wrapper functions.
History
Date User Action Args
2013-03-19 18:16:05ncoghlansetrecipients: + ncoghlan, rhettinger, ezio.melotti, eric.araujo, flox, meador.inge, daniel.urban, aliles
2013-03-19 18:16:05ncoghlansetmessageid: <1363716965.36.0.158677008255.issue13266@psf.upfronthosting.co.za>
2013-03-19 18:16:05ncoghlanlinkissue13266 messages
2013-03-19 18:16:05ncoghlancreate