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

Requiring Python 2.2 for Subversion 1.3.x

From: David James <james82_at_gmail.com>
Date: 2005-08-05 22:08:48 CEST

I'm extending the Python bindings for Subversion to support a simpler,
more abstract interface by adapting donated code from the Trac project
to fit into the Subversion core. In order to support a streamy but
simple and Pythonic API, the Trac project uses many Python 2.2
features, including generator functions and properties. These language
features simplify the Trac code while allowing for easy scalability.

Is it OK to require Python 2.2 for the Subversion 1.3.x Python
bindings? Python 2.2 was released in 2001, and most people have
upgraded to it by now.



P.S. It's possible to reimplement generator functions using Python 2.1
iterator classes, but this would require quite a bit of work, and it
would make the source code of the Python bindings more complex and
more slow, without much benefit.

David James -- http://www.cs.toronto.edu/~james
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Aug 5 22:11:34 2005

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.