[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: Peter Samuelson <peter_at_p12n.org>
Date: Wed, 3 Aug 2011 14:03:42 -0500

[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.

-- 
Peter Samuelson | org-tld!p12n!peter | http://p12n.org/
Received on 2011-08-03 21:04:29 CEST

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