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>

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to