function attributes are like function objects

Magnus Lie Hetland mlh at idi.ntnu.no
Wed Jan 31 20:02:59 EST 2001


"Greg Ewing" <greg at cosc.canterbury.ac.nz> wrote in message
news:3A78AE8D.C9D25694 at cosc.canterbury.ac.nz...
> 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?

Now *that* would be nice (if we could do that, I mean).
Everything as objects... SmallTalk lurking in the
background. Sounds good to me...

--

  Magnus Lie Hetland      (magnus at hetland dot org)

 "Reality is what refuses to disappear when you stop
  believing in it"                 -- Philip K. Dick






More information about the Python-list mailing list