[Python-Dev] Re: Capabilities - published interfaces (original) (raw)

Terry Reedy tjreedy at udel.edu
Sun Dec 21 21:36:44 EST 2003


"Luke Kenneth Casson Leighton" <lkcl at lkcl.net> wrote in message news:20031220121942.GF1933 at lkcl.net...

if you "feed" access to class via a single function, you have a bottleneck again which can be replaced.

so, the proposal is simple: create an builtin function called getclass_ through which access to _class is made.

I wonder if it would not be better to turn class into a property with a get function that conditionally gives out the real thing.

TJR



More information about the Python-Dev mailing list