[issue26013] Pickle protocol 2.0 not loading in python 3.5

2016-01-19 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue26013] Pickle protocol 2.0 not loading in python 3.5

2016-01-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Victor. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue26013] Pickle protocol 2.0 not loading in python 3.5

2016-01-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7215d13baa2d by Serhiy Storchaka in branch '3.5': Added exceptins for testing non-reversible import mapping for Issue #26013. https://hg.python.org/cpython/rev/7215d13baa2d New changeset 16cfc1652844 by Serhiy Storchaka in branch 'default': Added ex

[issue26013] Pickle protocol 2.0 not loading in python 3.5

2016-01-18 Thread STINNER Victor
STINNER Victor added the comment: Buildbots are unhappy. http://buildbot.python.org/all/builders/PPC64%20Fedora%203.5/builds/344/steps/test/logs/stdio == FAIL: test_reverse_import_mapping (test.test_pickle.CompatPickleTests) [

[issue26013] Pickle protocol 2.0 not loading in python 3.5

2016-01-18 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue26013] Pickle protocol 2.0 not loading in python 3.5

2016-01-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 270add17f203 by Serhiy Storchaka in branch '3.5': Issue #26013: Added compatibility with broken protocol 2 pickles created https://hg.python.org/cpython/rev/270add17f203 New changeset 35ff0976b211 by Serhiy Storchaka in branch 'default': Issue #2601

[issue26013] Pickle protocol 2.0 not loading in python 3.5

2016-01-05 Thread Anil Kulkarni
Anil Kulkarni added the comment: Ah, sorry I misunderstood. Thanks for the quick turnaround! -- ___ Python tracker ___ ___ Python-bugs

[issue26013] Pickle protocol 2.0 not loading in python 3.5

2016-01-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I agree, and the provided is purposed to fix this issue. In the previous message I just proposed a workaround for those who can't wait 3.5.2. -- ___ Python tracker _

[issue26013] Pickle protocol 2.0 not loading in python 3.5

2016-01-05 Thread Anil Kulkarni
Anil Kulkarni added the comment: Hi Serhiy, I have done some more investigation this morning and I have come across two distinct issues. The first is that pickles (specifically the pickle in my earlier message) created in python 3.0->3.4.3 do not load on python 2.7.10. The exception is 3.5.1

[issue26013] Pickle protocol 2.0 not loading in python 3.5

2016-01-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your report Anil. Python 3.4.3 creates incorrect pickle with protocol 2 (it can't be load in Python 2). issue18473 fixed pickling with protocol 2 in Python 3, but broke loading broken pickles created in unpatched versions of Python 3. Here is

[issue26013] Pickle protocol 2.0 not loading in python 3.5

2016-01-04 Thread Anil Kulkarni
New submission from Anil Kulkarni: Pickles created with python 3.4.X will not load with python 3.5.X if they include a collections.OrderedDict To reproduce this issue, simply create a pickle of an OrderedDict on python 3.4.3 with protocol=2 and try to open it on 3.5. I have included a simple