[PATCH] error: restore python 2.4 compatibility for BundleValueError

Matt Mackall mpm at selenic.com
Mon Jun 23 17:16:05 CDT 2014


On Thu, 2014-06-12 at 23:57 -0400, timeless at gmail.com wrote:
> > Under python 2.4, this:
> > super(BundleValueError, self).__init__(msg)
> > raises this:
> > TypeError: super() argument 1 must be type, not classobj‎
> 
> Is this check-code able?‎

Nope. It's caused by ValueError being defined as an old-style class in
2.4, which isn't visible here.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list