[MERGE] Lazy Importer

John Arbash Meinel john at arbash-meinel.com
Wed Sep 13 03:20:37 BST 2006


Robert Collins wrote:
> On Tue, 2006-09-12 at 14:25 -0500, John Arbash Meinel wrote:
> 
> I'd like to see this in 0.11 too. For the larger conversion, rather than
> a huge branch, I'd suggest just spam of many small patches. 
> 
>> I'd really like to at least get this into 0.11. I'll be starting another
>> branch which starts using it, to cut down on the bzr load time. But
>> probably we need a big change like that to sit in bzr.dev for longer
>> than 1 week before we freeze and then release it.
> 
> +1 with:
> 
> a NEWS entry
> a HACKING entry
> some more docstring in the lazy module's docstring.
> 
> and:
> It might be an idea to be saying 'assertEqual(expectedGlobals,
> globals())' -> taking a copy of globals before the demand load and
> manually performing the single change that you expect to occur.
> 
> Rob
> 

Done and submitted. I just copied globals.keys(), rather than the
dictionary itself. Would you prefer if I did 'globals.copy()' or
something like that?

John
=:->

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060912/1d641eb7/attachment.pgp 


More information about the bazaar mailing list