On Sun, Jun 26, 2016 at 8:40 AM, Franklin? Lee
wrote:
> On Jun 21, 2016 11:12 AM, "INADA Naoki" wrote:
>>
>> I'm sorry, but I hadn't realized which compact ordered dict is
>> not ordered for split table.
>>
>> For example:
>> >>> class A:
>> ... ...
>> ...
>> >>> a = A()
>> >>> b = A()
>> >>> a
On Jun 21, 2016 11:12 AM, "INADA Naoki" wrote:
>
> I'm sorry, but I hadn't realized which compact ordered dict is
> not ordered for split table.
>
> For example:
> >>> class A:
> ... ...
> ...
> >>> a = A()
> >>> b = A()
> >>> a.a = 1
> >>> a.b = 2
> >>> b.b = 3
> >>> b.a = 4
> >>> a.__dict__.it
On 22.06.16 19:22, André Malo wrote:
I often concatenate multiple pickles into one file. When reading them, it
works like this:
try:
while True:
yield pickle.load(fp)
except EOFError:
pass
In this case the truncation is not really unexpected. Maybe it should
distinguish betwe
On 22.06.16 00:17, Victor Stinner wrote:
When loading truncated data with pickle, I expect a pickle error, not a
generic ValueError nor EOFError.
Many modules raise EOFError when read truncated data.
___
Python-Dev mailing list
Python-Dev@python.org
Hi Nick, hi List,
thanks for the good comments! I'll update the PEP and the
implementation soon, as discussed at the end, I'll
do it in C this time. For now just some quick responses:
> This part isn't entirely clear to me, so you may want to give some
> Python pseudo-code that:
I will actually