Python: dynamic list parsing and processing
<p>I have popened a process which is producing a list of dictionaries, something like:</p>

<pre><code>[{'foo': '1'},{'bar':2},...]
</code></pre>

<p>The list takes a long time to create and could be many gigabytes, so I don't want to reconstitute it in memory and then iterate over it.</p>

<p>How can I parse the partially completed list such that I can process each dictionary as it is received?</p>
