Update ConfigObj to newer version?

Aaron Bentley aaron.bentley at utoronto.ca
Mon Sep 17 01:19:52 BST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

James Westby wrote:
> I would like to use the interpolation features of ConfigObj in builddeb.

Personally, I think interpolation is a questionable feature; it mixes
code with data.

> However I would like to use the Template style interpolation, which was
> only added in 4.4. bzrlib still has 4.0, would it be possible to update
> to the newer version?

Sure.  I think the only reason we haven't so far is lack of a good
reason to do so.

> I don't think there are any changes that would regress bzr, but if I get
> the nod I can do the updated and run the testsuite to provide the merge
> request.

The one issue I would watch out for is regressions in startup time.
Configobj tends to pre-calculate a lot of regexes, and these hurt
performance.  So "time bzr rocks" is your friend.  You can also profile
startup with "bzr --profile-imports rocks".

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG7cgn0F+nu1YWqI0RAiNlAJwKB5IvHTNagtjF8IsnXiknkyFxAgCdFLFX
HOcBNLq3K9zDVfIugpCRwAs=
=vWhO
-----END PGP SIGNATURE-----



More information about the bazaar mailing list