En Mon, 19 Feb 2007 22:30:59 -0300, GiBo <[EMAIL PROTECTED]> escribió:

> Is there a reason why some classes distributed with Python 2.5 are not
> new-style classes? For instance StringIO is apparently "old-style" class
> i.e. not inherited from "object". Can I somehow turn an existing
> old-style class to a new-style one? I tried for example:
>       class MyStreamIO(StreamIO, object):
>               pass
> but got an error.

Try again (and look carefully the error text)

-- 
Gabriel Genellina

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

Reply via email to