[issue13760] ConfigParser exceptions are not pickleable

2012-01-23 Thread Łukasz Langa
Łukasz Langa added the comment: Currently both branches use the same solution to the problem (e.g. setting `args` in `__init__()`). I simply forgot about the old ticket when I prepared a fix for this one. -- ___ Python tracker

[issue13760] ConfigParser exceptions are not pickleable

2012-01-23 Thread Faheem Mitha
Faheem Mitha added the comment: I see. Thanks for the pointer to the earlier (2008) bug report. I notice you fixed the bug differently for 2.7 (define __reduce__) and 3.2 (set args). Is there some reason for that? -- ___ Python tracker

[issue13760] ConfigParser exceptions are not pickleable

2012-01-23 Thread Łukasz Langa
Łukasz Langa added the comment: The reason why 3.2 and 3.3 work is that some time ago I fixed #4686 by explicitly settings .args in configparser exceptions. Unfortunately that patch was not backported at the time. I did that just now. You're right, that is specific to configparser and doesn't

[issue13760] ConfigParser exceptions are not pickleable

2012-01-20 Thread Faheem Mitha
Faheem Mitha added the comment: Thanks for the quick attention to this, Lukasz. I'm just curious. Why do 3.2 and 3.3 already work? My understanding was that the basic exception issue in http://bugs.python.org/issue1692335 was still open. -- ___ Pyt

[issue13760] ConfigParser exceptions are not pickleable

2012-01-20 Thread Łukasz Langa
Łukasz Langa added the comment: 3.2 and 3.3 already worked as expected. For 2.7 I did the __reduce__ workaround that's also used by SQLAlchemy. -- resolution: -> fixed stage: test needed -> committed/rejected status: open -> closed type: -> behavior _

[issue13760] ConfigParser exceptions are not pickleable

2012-01-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5ecf650ede7c by Łukasz Langa in branch '2.7': Fixes #13760: picklability of ConfigParser exceptions http://hg.python.org/cpython/rev/5ecf650ede7c -- ___ Python tracker

[issue13760] ConfigParser exceptions are not pickleable

2012-01-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset e63e2471f46f by Łukasz Langa in branch 'default': #13760: picklability tests for configparser exceptions http://hg.python.org/cpython/rev/e63e2471f46f New changeset 76077971ee1f by Łukasz Langa in branch '3.2': #13760: picklability tests for config

[issue13760] ConfigParser exceptions are not pickleable

2012-01-13 Thread Éric Araujo
Changes by Éric Araujo : -- assignee: -> lukasz.langa nosy: +lukasz.langa stage: -> test needed versions: +Python 2.7, Python 3.2, Python 3.3 -Python 2.6 ___ Python tracker ___

[issue13760] ConfigParser exceptions are not pickleable

2012-01-10 Thread Faheem Mitha
New submission from Faheem Mitha : I have not experienced this myself, but see http://stackoverflow.com/questions/2246384/multiprocessing-pool-hangs-when-there-is-a-exception-in-any-of-the-thread This appears to be another case of http://bugs.python.org/issue1692335 I also recently reported a s