>From TFM "Function objects also support getting and setting arbitrary attributes, which can be used, for example, to attach metadata to functions. Regular attribute dot-notation is used to get and set such attributes. Note that the current implementation only supports function attributes on user-defined functions. Function attributes on built-in functions may be supported in the future."
http://docs.python.org/ref/types.html Again, rather inconsitent with the copy sematics. > On May 1, 9:34 am, John Nagle <[EMAIL PROTECTED]> wrote: > > Because Python has objects for when you need to associate > > state with a function. > > > John Nagle -- http://mail.python.org/mailman/listinfo/python-list