[RFC] bzr.jrydberg.versionedfile

Aaron Bentley aaron.bentley at utoronto.ca
Wed Dec 21 14:52:24 GMT 2005


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

Johan Rydberg wrote:
> I disagree.  I think get_text should be the primary operation, and
> that it should return a list of lines.  If you want it as a string,
> we'll provide a convenience method for you.

How about an iterable of lines, rather than a list per se?  Maybe it's
moot, given that we have to load the whole thing in memory while parsing
the knit, but I can imagine cases in which we'd only want part of the
file in memory at a time.

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

iD8DBQFDqWwo0F+nu1YWqI0RAmVhAJ4ruujEM1TfSMmW2tJGERk4F30jzACaA+wu
gQuzXhHUvrA/f0aUf1nMzYU=
=R/B1
-----END PGP SIGNATURE-----




More information about the bazaar mailing list