[Python-Dev] r88147 - in python/branches/py3k: Misc/NEWS Modules/_pickle.c Tools/scripts/find_recursionlimit.py

Antoine Pitrou solipsis at pitrou.net
Mon Jan 24 01:02:32 CET 2011


On Sun, 23 Jan 2011 18:45:50 -0500
Terry Reedy <tjreedy at udel.edu> wrote:

> On 1/23/2011 1:58 PM, Antoine Pitrou wrote:
> 
> >> Issue #10987: Fix the recursion limit handling in the _pickle module.
> 
> 12 hours after the report!
> 
> I am still curious why a previous exception changed pickle behavior, and 
> only in 3.2, but I would rather you fix another bug than speeding much 
> time to get me up to speed on the intricacies of _pickle ;-).

It was not about a previous exception. The issue is that pickle
detected the recursion overflow but returned a successful status after
having set the exception. This is the kind of mistake that produces
strange "delayed" exceptions.

Regards

Antoine.




More information about the Python-Dev mailing list