One Python 2.1 idea

Alex Martelli aleaxit at
Tue Dec 26 10:03:41 CET 2000

<rturpin at> wrote in message news:9292tn$jka$1 at
> Second, a question. Consider the invocation of a method,
> such as:
> Does this really cause the lookup of the string "foo"
> in x's namespace dictionary? The first time? Every time?

Yes, and yes.  No implicit caching.

> Is this also the case when data members are accessed?

Yes once more.


More information about the Python-list mailing list