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

Re: svn commit: rev 3434 - trunk/tools/hook-scripts

From: Gustavo Niemeyer <niemeyer_at_conectiva.com>
Date: 2002-10-22 19:44:56 CEST

> Yes, I was wondering about that, too. IIRC generators are slated to be a
> Python 2.3 feature, and are __future__-proofed in 2.2. We require 2.0
> for everythng else.
>
> I don't know whether replacing the generator usage with 2.0 features is
> worth the trouble; using them makes the script much more concise.

Ok.. I'll check it and let you know.

> BTW, Gustavo, why are you parsing the config explicitly, instead of just
> using the ConfigParser module?

Basically because I need to keep the ordering, and because I need
multiple options with the same key. ConfigParser uses a dictionary to
store information, thus making it impossible to get these behaviors.

-- 
Gustavo Niemeyer
[ 2AAC 7928 0FBF 0299 5EB5  60E2 2253 B29A 6664 3A0C ]
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Oct 22 19:46:10 2002

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.