Is a "real" C-Python possible?

Christian Heimes lists at cheimes.de
Thu Dec 13 19:42:00 EST 2007


Steven D'Aprano wrote:
> I'm not quite sure I understand that criticism. How is that different 
> from things which are not properties?
> 
> foo.baz = 2 # oops, I meant bar
> 
> will succeed regardless of whether foo.bar is an attribute or a property.

Unless it's a new style class with __slots__

Christian




More information about the Python-list mailing list