Author ncoghlan
Recipients Antoine d'Otreppe, benjamin.peterson, findepi, ncoghlan, pitrou
Date 2008-08-21.22:30:43
SpamBayes Score 4.50897e-05
Marked as misclassified No
Message-id <1219357844.78.0.940869523339.issue3445@psf.upfronthosting.co.za>
In-reply-to
Content
If the object being wrapped isn't a plain vanilla function, then the
odds are *very* good that __doc__ cannot be copied to the new function
and still be correct. This is definitely the case for both modules and
partial objects.

So for both the use cases mentioned thus far, the AttributeError appears
to me to be flagging a real problem with the way update_wrapper is being
used.
History
Date User Action Args
2008-08-21 22:30:44ncoghlansetrecipients: + ncoghlan, pitrou, benjamin.peterson, Antoine d'Otreppe, findepi
2008-08-21 22:30:44ncoghlansetmessageid: <1219357844.78.0.940869523339.issue3445@psf.upfronthosting.co.za>
2008-08-21 22:30:44ncoghlanlinkissue3445 messages
2008-08-21 22:30:43ncoghlancreate