Commit e6f7158
pythongh-157048: check for buffer errors before mutating in BytesIO.__init__ (pythonGH-157049)
(cherry picked from commit d125f00)
Co-authored-by: Nathan Goldbaum <nathan.goldbaum@gmail.com>1 parent 90464d6 commit e6f7158
3 files changed
Lines changed: 19 additions & 4 deletions
File tree
- Lib/test
- Misc/NEWS.d/next/Library
- Modules/_io
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
923 | 923 | | |
924 | 924 | | |
925 | 925 | | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
926 | 938 | | |
927 | 939 | | |
928 | 940 | | |
| |||
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 | |
|---|---|---|---|
| |||
1078 | 1078 | | |
1079 | 1079 | | |
1080 | 1080 | | |
1081 | | - | |
1082 | | - | |
1083 | | - | |
1084 | | - | |
1085 | 1081 | | |
1086 | 1082 | | |
1087 | 1083 | | |
1088 | 1084 | | |
1089 | 1085 | | |
| 1086 | + | |
| 1087 | + | |
| 1088 | + | |
| 1089 | + | |
| 1090 | + | |
1090 | 1091 | | |
1091 | 1092 | | |
1092 | 1093 | | |
| |||
0 commit comments