[Python-Dev] More concerns about decorators

Michael Hudson mwh at python.net
Mon Aug 16 15:05:38 CEST 2004


Bob Ippolito <bob at redivi.com> writes:

>> Is it possible to change function inplace? Is it even an option?
>
> Not sure what you mean.  Functions have a __doc__ slot and a __dict__
> slot that are read/write.  __name__ is read-only.

__name__ is writable as of a few days ago.

Cheers,
mwh

-- 
  I believe C++ instills fear in programmers, fear that the
  interaction of some details causes unpredictable results.
                                        -- Erik Naggum, comp.lang.lisp


More information about the Python-Dev mailing list