[Python-Dev] Old Style Classes Goiung in Py3K

Fuzzyman fuzzyman at voidspace.org.uk
Wed Feb 8 11:01:40 CET 2006


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 ?

The latter would break a few orders of magnitude less code of course...

All the best,


Michael Foord
http://www.voidspace.org.uk/python/index.shtml


More information about the Python-Dev mailing list