Commit 7812940
authored
The Python pickle module looks for "00" and "01" but _pickle only looked
for 2 characters that parsed to 0 or 1, meaning some payloads like "+0" or
" 0" would lead to different results in different implementations.
1 parent 0cbbfc4 commit 7812940
File tree
3 files changed
+14
-1
lines changed- Lib/test
- Misc/NEWS.d/next/Library
- Modules
3 files changed
+14
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1012 | 1012 | | |
1013 | 1013 | | |
1014 | 1014 | | |
| 1015 | + | |
| 1016 | + | |
| 1017 | + | |
| 1018 | + | |
| 1019 | + | |
| 1020 | + | |
| 1021 | + | |
| 1022 | + | |
| 1023 | + | |
| 1024 | + | |
1015 | 1025 | | |
1016 | 1026 | | |
1017 | 1027 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5255 | 5255 | | |
5256 | 5256 | | |
5257 | 5257 | | |
5258 | | - | |
| 5258 | + | |
5259 | 5259 | | |
5260 | 5260 | | |
5261 | 5261 | | |
| |||
0 commit comments