On 1/27/2014 7:27 AM, Edward K. Ream wrote:
3. Both bugs were complicated by an embarrassing blunder: code in two helpers of vc.create_organizer_data were trying to delete elements of an list used to iterate a loop. The proper pattern is:

    for item in aList[:]: # <-- [:] makes a copy of aList.
        << possibly delete item from aList >>

Edward
I can't even begin to count the amount of times I've been bit by that... :p You're far from alone!

Hope all is well,
-->Jake

--
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to