Is my thinking Pythonic?
fredrik at pythonware.com
Sat Aug 23 12:15:06 CEST 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".
More information about the Python-list