[Python-Dev] Old Style Classes Goiung in Py3K

Georg Brandl g.brandl at gmx.net
Wed Feb 8 15:39:28 CET 2006


Fuzzyman wrote:
> Hello all,
> 
> I understand that old style classes are slated to disappear in Python 3000.
> 
> Does this mean that the following will be a syntax error :
> 
> class Something:
>     pass
> 
> *or* that instead it will automatically inherit from object ?

Of course, I would say. There's no reason to forbid this in Py3k.

regards,
Georg



More information about the Python-Dev mailing list