[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [fix ancient snake-2 syntax] ./build/getversion.py

From: Mark Phippard <markphip_at_gmail.com>
Date: Wed, 3 Aug 2011 15:07:51 -0400

On Wed, Aug 3, 2011 at 3:03 PM, Peter Samuelson <peter_at_p12n.org> wrote:

>
> [Douglas Mencken]
> > # fix (wrong in year 2011) python2-specific syntax
> > sed -i 's/IOError, e/IOError as e/' ./build/getversion.py
>
> To clarify: Doug wanted this so he could build using Python 3. I've
> explained that we don't support Python 3 in the bindings, so it doesn't
> really make sense to use it for building source either.
>
> Further checking: the new exception syntax is new to Python 2.6.
> Given that this script is only used in dev builds (not from tarballs),
> someone remind me: what's our Py version requirement for dev builds?
> It is not specified in INSTALL.
>
>
In our 1.6 release we bumped it up to 2.4. I believe it was 2.2 before
that.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
Received on 2011-08-03 21:08:20 CEST

This is an archived mail posted to the Subversion Dev mailing list.