Is my thinking Pythonic?

Fredrik Lundh fredrik at pythonware.com
Sat Aug 23 06:15:06 EDT 2008


Bruno Desthuilliers wrote:

> Given the lack of proper support for the descriptor protocol in 
> old-style classes and a couple other diverging behaviors, I wouldn't say 
> that advising newcomers to use new-style classes is so pointless.

Yeah, but if you don't need descriptors, new-style classes don't buy you 
anything (except a slight slowdown in certain situations).  Dogmatic use 
of new-style classes (or any other "new" feature) isn't "pythonic".

</F>




More information about the Python-list mailing list