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

Re: Requiring Python 2.6 (was: Re: svn commit: r35458 - in branches/python-3-compatibility: . build subversion/bindings/swig subversion/tests/cmdline subversion/tests/cmdline/svntest tools/hook-scripts)

From: Barry Scott <barry_at_barrys-emacs.org>
Date: Sun, 22 Mar 2009 18:18:53 +0000

On 21 Mar 2009, at 20:10, David James wrote:

> 2. Convert their source code to use syntax that works in all
> versions of Python
>

PySVN code is 2.6/3.0 compatible and uses a command to
backport the code to earlier versions.

As you spotted the big problem is exception syntax.
The backport command simple changes the syntax
from as to ",".

Atleast for pysvn the other differnces can to handled at runtime
after the exception syntax has been fixed.

Barry

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1382574
Received on 2009-03-22 19:19:10 CET

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