[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:49:45 CEST

> I think you'd need a really huge and complex config file before you'd
> start hitting memory problems.

Indeed.

> >but will reduce the needed python version.
> >
> >Ok.. I'll do that as soon as I get repository access.

> You'll also have to get rid of xreadlines in _read. Or rather, just use

IIRC, xreadlines was reworked in the latest version to be implemented with
generators, but it was already available in earlier versions:

Python 2.1 (#1, Jan 18 2002, 22:26:24)
[GCC 2.95.3 20010315 (release) (conectiva)] on linux-ppc
Type "copyright", "credits" or "license" for more information.
>>> open("/etc/passwd").xreadlines()
<xreadlines object at 0x10186e48>
>>>

> ConfigParser and be done with it.

As I explained in the other mail, I can't use ConfigParser.. :-(

-- 
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:50:35 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.