[patch 1/4] Remove Python 2.5 usage
Mark McLoughlin
markmc at redhat.com
Fri Aug 31 16:34:45 UTC 2007
On Fri, 2007-08-31 at 09:24 -0700, Toshio Kuratomi wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> > An empty list of base classes wasn't allowed before Python 2.5 so
> > remove it since it seems to be the only Python 2.5 feature being
> > used.
>
> What version of python are you taking as your minimum? If it's
> python2.2 then you'd be better off inheriting from object. Inheriting
> from object makes this a new-style class which has some features and
> behaviors that can make it superior to old-style classes.
Yep, good point.
Cheers,
Mark.
More information about the Fedora-buildsys-list
mailing list