Commit c43310d
committed
[3.11] pythongh-105375: Improve error handling in _Unpickler_SetInputStream() (python#105667)
Prevent exceptions from possibly being overwritten in case of multiple
failures.
(cherry picked from commit 217589d)
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>1 parent 36c393c commit c43310d
2 files changed
Lines changed: 20 additions & 13 deletions
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1666 | 1666 | | |
1667 | 1667 | | |
1668 | 1668 | | |
1669 | | - | |
| 1669 | + | |
1670 | 1670 | | |
1671 | 1671 | | |
1672 | | - | |
| 1672 | + | |
| 1673 | + | |
| 1674 | + | |
| 1675 | + | |
| 1676 | + | |
| 1677 | + | |
| 1678 | + | |
1673 | 1679 | | |
1674 | | - | |
1675 | | - | |
1676 | 1680 | | |
1677 | | - | |
1678 | | - | |
1679 | | - | |
1680 | | - | |
1681 | | - | |
1682 | | - | |
1683 | | - | |
1684 | | - | |
1685 | | - | |
| 1681 | + | |
| 1682 | + | |
| 1683 | + | |
1686 | 1684 | | |
1687 | 1685 | | |
| 1686 | + | |
| 1687 | + | |
| 1688 | + | |
| 1689 | + | |
| 1690 | + | |
| 1691 | + | |
| 1692 | + | |
1688 | 1693 | | |
1689 | 1694 | | |
1690 | 1695 | | |
| |||
0 commit comments