bruno at modulix wrote:

>> cause is bother me to
>> type "(object)" when I don't need their features.
> 
> Please repeat this 101 times each morning:
> "thou shall not use old-style classes for they are deprecated".

It's a pity though that Python still uses old-style classes internally, 
even for some things which are brand new:

>>> from __future__ import with_statement
>>> type(with_statement)
<type 'instance'>

(yes, I know that the _Feature class isn't actually new, just this 
particular instance of it.)
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to