[Python-Dev] Re: Capabilities - published interfaces

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
> __get_class__ 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.


More information about the Python-Dev mailing list