Roundup Robot added the comment:
New changeset 9af21752ea2a by Serhiy Storchaka in branch '3.4':
Issue #21715: Extracted shared complicated code in the _io module to new
https://hg.python.org/cpython/rev/9af21752ea2a
New changeset 8b1ac1a3d007 by Serhiy Storchaka in branch 'default':
Issue
Serhiy Storchaka added the comment:
Thank you for the review Antoine.
--
assignee: - serhiy.storchaka
resolution: - fixed
stage: patch review - resolved
status: open - closed
versions: +Python 3.4
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka added the comment:
I added 3.4 because this private function makes cleaner and more bug-free
existing code (mostly recently added) and possible future bug fixes. Note a bug
just fixed by Benjamin (changeset 888fd1cdec6f).
--
___
Serhiy Storchaka added the comment:
Sorry. Here is it.
--
keywords: +patch
Added file: http://bugs.python.org/file35857/capi_chain_exceptions.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21715
Changes by Antoine Pitrou pit...@free.fr:
--
versions: -Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21715
___
___
Python-bugs-list
Antoine Pitrou added the comment:
Hm, looks like you forgot to upload a patch!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21715
___
___
New submission from Serhiy Storchaka:
The proposed patch introduces new private function which chains previously
fetched and current exceptions. This will help in correct implementing at C
level an equivalent of following Python idioms:
try:
...
finally:
...
and