minor patch using the set builtin

Martin Pool mbp at sourcefrog.net
Wed May 18 23:53:11 BST 2005


On 18 May 2005, Mario Pernici <Mario.Pernici at mi.infn.it> wrote:
> Hello,
>  Bazaar-ng is very interesting!
>  As a newbie to revision control, I find it easy to use;
>  and being in Python, I have a chance of seeing how it works.

Hi, welcome.

> I have a couple of comments:
>  -one can use  the built-ins basestring and set instead of
>   types.StringTypes and sets.Set respectively (see attached patch);

Actually, we can only use the set builtin in Python2.4 and later; for
2.3 which is still supported by bzr we need to use sets.Set.  
(I thought they would fold down to the same thing, but apparently 
sets.Set still gives the one written on top of a dict, which is probably
a lot slower.)

>  -in the tutorial .bzr.log is in the repository directory,
>   while it is really in $HOME .

Thanks.

-- 
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050519/88ca3ef3/attachment.pgp 


More information about the bazaar mailing list