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 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 <>
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
Date User Action Args
2008-08-21 22:30:44ncoghlansetrecipients: + ncoghlan, pitrou, benjamin.peterson, Antoine d'Otreppe, findepi
2008-08-21 22:30:44ncoghlansetmessageid: <>
2008-08-21 22:30:44ncoghlanlinkissue3445 messages
2008-08-21 22:30:43ncoghlancreate