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: David James <james82_at_gmail.com>
Date: Sat, 21 Mar 2009 13:10:11 -0700
On Sat, Mar 21, 2009 at 12:13 PM, Arfrever Frehtes Taifersar Arahesis
You're right -- it is hard. I think that converting Subversion to work
Reading up on the topic, I see that most people use one of two approaches:
Folks who use the 2to3 tool have reported that it doesn't work very
As for supporting Python 2.4 and 2.5 without using 2to3, here are a few ideas:
> 'except exception, variable:' => 'except exception as variable:'
According to < http://pythonology.blogspot.com/2009/02/making-code-run-on-python-20-through-30.html
> 0123 => 0o123 or 0O123
It looks like most of the uses of octal numbers are for os.chmod. If
Cheers,
David
------------------------------------------------------
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.