Message71695
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. |
|
Date |
User |
Action |
Args |
2008-08-21 22:30:44 | ncoghlan | set | recipients:
+ ncoghlan, pitrou, benjamin.peterson, Antoine d'Otreppe, findepi |
2008-08-21 22:30:44 | ncoghlan | set | messageid: <1219357844.78.0.940869523339.issue3445@psf.upfronthosting.co.za> |
2008-08-21 22:30:44 | ncoghlan | link | issue3445 messages |
2008-08-21 22:30:43 | ncoghlan | create | |
|