[issue19834] Unpickling exceptions pickled by Python 2

2014-12-04 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- stage: needs patch -> resolved ___ Python tracker ___ ___ Python-bugs-list mailing

[issue19834] Unpickling exceptions pickled by Python 2

2014-12-04 Thread Walter Dörwald
Changes by Walter Dörwald : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue19834] Unpickling exceptions pickled by Python 2

2013-12-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset a270370ec487 by Walter Doerwald in branch '3.3': Add NEWS entry for issue #19834. http://hg.python.org/cpython/rev/a270370ec487 New changeset ef6ad7172d50 by Walter Doerwald in branch 'default': Add NEWS entry for issue #19834: merge with 3.3. http:

[issue19834] Unpickling exceptions pickled by Python 2

2013-12-02 Thread Walter Dörwald
Changes by Walter Dörwald : -- resolution: -> fixed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue19834] Unpickling exceptions pickled by Python 2

2013-12-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7d3297f127ae by Walter Doerwald in branch '3.3': Fix issue #19834: Support unpickling of exceptions pickled by Python 2. http://hg.python.org/cpython/rev/7d3297f127ae New changeset 9685c9d1d67f by Walter Doerwald in branch 'default': Fix #19834: mer

[issue19834] Unpickling exceptions pickled by Python 2

2013-12-01 Thread Alexandre Vassalotti
Alexandre Vassalotti added the comment: Feel free to commit once you have addressed the remaining comments. -- assignee: -> doerwalter ___ Python tracker ___ ___

[issue19834] Unpickling exceptions pickled by Python 2

2013-12-01 Thread Walter Dörwald
Walter Dörwald added the comment: Here's an updated version of the patch, addressing most of Alexandre's comments. -- Added file: http://bugs.python.org/file32918/python-2-exception-pickling-2.diff ___ Python tracker

[issue19834] Unpickling exceptions pickled by Python 2

2013-11-30 Thread Alexandre Vassalotti
Alexandre Vassalotti added the comment: I have reviewed the patch in the review tool. Please take a look! -- ___ Python tracker ___ __

[issue19834] Unpickling exceptions pickled by Python 2

2013-11-30 Thread Walter Dörwald
Walter Dörwald added the comment: OK, here is a patch. Instead of mapping the exceptions module to builtins, it does the mapping for each exception class separately. I've excluded StandardError, because I think there's no appropriate equivalent in Python 3. -- keywords: +patch Added fi

[issue19834] Unpickling exceptions pickled by Python 2

2013-11-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: Good catch! Would you like to provide a patch together with an added unit test? -- stage: -> needs patch ___ Python tracker ___ ___

[issue19834] Unpickling exceptions pickled by Python 2

2013-11-29 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue19834] Unpickling exceptions pickled by Python 2

2013-11-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +alexandre.vassalotti, pitrou type: -> behavior versions: +Python 3.3, Python 3.4 ___ Python tracker ___ _

[issue19834] Unpickling exceptions pickled by Python 2

2013-11-29 Thread Walter Dörwald
New submission from Walter Dörwald: Exception objects that have been pickled with Python 2 can not be unpickled with Python 3, even when fix_imports=True is specified: $ python2.7 Python 2.7.2 (default, Aug 30 2011, 11:04:13) [GCC 3.3.5 (Debian 1:3.3.5-13)] on linux2 Type "help", "copyr