[Grok-dev] Re: Iterativly emptying a grok.container shows weird behavior

Martijn Faassen faassen at startifact.com
Tue Jun 12 15:10:38 EDT 2007


Dr. Volker Jaenisch wrote:
> Hello Philipp!
> 
> Philipp von Weitershausen schrieb:
>>
>> To our defence, we nowhere say that containers *are*
> In the tutorial, one read:
>  > From the perspective of Python, you can think of containers as 
> dictionaries. They allow item access (container['key']) to get at its > 
> contents. They also define methods such as keys() and values().
> 
> I think this formulation is misleading. I am an experianced programmer 
> but the (very good made) tutorial lead me to code this nonsense.

Fully agreed. I made a mistake expressing myself that way here, and will 
add a note about the iterator behavior.

Regards,

Martijn



More information about the Grok-dev mailing list