How to a split a list in parts that have size less than 1MByte
<p>I have a sorted list of dictionaries returned by a remote API call (tipically the response is less than 4 MByte.<br>
I would like to split this list in chunks where the MAX allowed size of the resulted single chunk is 1 MByte.<sup>*</sup></p>

<p>The resulted list of chunks need to preserve the initial sorting; these chunks then will be serialized (via Pickle) and put into different Blob field having 1 MByte MAX size.</p>

<p>What's the fastest code to achieve that with Python 2.5?</p>

<p><sup>*the number of chunks should be the lowest that fits into the 1MByte constraint</sup></p>
