[issue25761] Improve unpickling errors handling

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

[issue25761] Improve unpickling errors handling

2016-09-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 231f578dfd3d by Serhiy Storchaka in branch 'default': Issue #25761: Improved error reporting about truncated pickle data in https://hg.python.org/cpython/rev/231f578dfd3d -- ___ Python tracker

[issue25761] Improve unpickling errors handling

2015-12-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 001514146c21 by Serhiy Storchaka in branch 'default': Issue #25761: Fixed reference leak added in previous changeset (5c670af0100f). https://hg.python.org/cpython/rev/001514146c21 -- ___ Python tracker <

[issue25761] Improve unpickling errors handling

2015-12-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: When pickle stream is unexpectedly ended, different exceptions can be raised. EOFError("Ran out of input") is raised when the stream is unexpectedly ended without the STOP opcode. But it can be raised also when the data for the opcode is incomplete. Other po

[issue25761] Improve unpickling errors handling

2015-12-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5c670af0100f by Serhiy Storchaka in branch 'default': Issue #25761: Improved detecting errors in broken pickle data. https://hg.python.org/cpython/rev/5c670af0100f -- ___ Python tracker

[issue25761] Improve unpickling errors handling

2015-11-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +alexandre.vassalotti, pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue25761] Improve unpickling errors handling

2015-11-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Proposed patch allows unpickler to detect errors related to reading a stack behind a mark. For now Python implementation just pops a sentinel used as a mark. This can cause TypeError, AttributeError or UnpicklingError besides IndexError: >>> pickle._loads(b

[issue25761] Improve unpickling errors handling

2015-11-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset d47e5b162072 by Serhiy Storchaka in branch '3.4': Issue #25761: Added more test cases for testing unpickling broken data. https://hg.python.org/cpython/rev/d47e5b162072 New changeset c7e7d77ef8bf by Serhiy Storchaka in branch '2.7': Issue #25761: Ad

[issue25761] Improve unpickling errors handling

2015-11-29 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: This issue is for better detecting and reporting errors in broken pickle data. -- assignee: serhiy.storchaka components: Extension Modules, Library (Lib), Tests messages: 255567 nosy: serhiy.storchaka priority: normal severity: normal status: open ti