function attributes are like function objects

Greg Ewing greg at cosc.canterbury.ac.nz
Wed Jan 31 19:32:13 EST 2001


Sean Reifschneider wrote:
> 
> It didn't really
> seem like they were missing so much as it seemed like they would act
> more like everything else now...

Everything? What about lists, dicts, tuples, file
objects...?

What's so special about functions that we need to
be able to plonk arbitrary attributes on them, but
not any other builtin types?

-- 
Greg Ewing, Computer Science Dept, University of Canterbury,	  
Christchurch, New Zealand
To get my email address, please visit my web page:	  
http://www.cosc.canterbury.ac.nz/~greg



More information about the Python-list mailing list