On 2/8/06, Georg Brandl <[EMAIL PROTECTED]> wrote: > 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. >
And you would be right. Guido has always said that classes would act as if they inherited from object by default. There are no plans to change the syntax of how you can specify inheritance in Python 3. All that is changing is what the default is when you specify no superclasses. -Brett _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com