[Python-Dev] Backport PEP 3129: Class Decorators

Eli Courtwright eli at courtwright.org
Tue Jan 8 18:05:12 CET 2008


Christian,

Thanks for the example; I'm sorry that I didn't read the docs carefully
enough to realize that I could extract the original function and set the
attribute on that.

- Eli

On Jan 8, 2008 11:49 AM, Christian Heimes <lists at cheimes.de> wrote:

> The example should shed some light on the problem:
>
> ...
>
> >>> Root.index.im_func.exposed = False
> >>> Root.index.exposed
> False
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-dev/attachments/20080108/6aac9f2b/attachment-0001.htm 


More information about the Python-Dev mailing list