new-style classes VS classic-classes
Sean 'Shaleh' Perry
shalehperry at attbi.com
Wed Oct 16 15:08:34 EDT 2002
On Wednesday 16 October 2002 11:58, Aahz wrote:
>
> >2. is there any reason not to use the new-style classes ( except
> >backwards-compatibility)?
>
> You can't use new-style classes for exceptions. Other than that, not
> much reason.
note for clarity Aahz said you can not make an exception class that derives
from object. new-style classes can still use exceptions.
More information about the Python-list
mailing list