{{ message }}
Commit 2565ede
authored
Open issue in the BPO indicated a desire to make the implementation of
codecs.open() at parity with io.open(), which implements a try/except to
assure file stream gets closed before an exception is raised.
1 parent 4edc95c commit 2565ede
3 files changed
Lines changed: 22 additions & 5 deletions
File tree
- Lib
- test
- Misc/NEWS.d/next/Library
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1154 | 1154 | | |
1155 | 1155 | | |
1156 | 1156 | | |
| 1157 | + | |
1157 | 1158 | | |
1158 | 1159 | | |
1159 | 1160 | | |
| |||
1725 | 1726 | | |
1726 | 1727 | | |
1727 | 1728 | | |
| 1729 | + | |
| 1730 | + | |
| 1731 | + | |
| 1732 | + | |
| 1733 | + | |
| 1734 | + | |
| 1735 | + | |
| 1736 | + | |
1728 | 1737 | | |
1729 | 1738 | | |
1730 | 1739 | | |
| |||
Lines changed: 3 additions & 0 deletions

0 commit comments