Commit 72c85c6
gh-157892: Fix error check on _Py_hashtable_set() in intern_static() (GH-157898)
_Py_hashtable_set() returns -1 on failure, so the "< -1" check could never be true and the Py_FatalError() call was unreachable.
(cherry picked from commit a4eb936)
Co-authored-by: Rishi Raj <180109771+rishiraj38@users.noreply.github.com>
Co-authored-by: Pieter Eendebak <pieter.eendebak@gmail.com>
1 parent b9edf9b commit 72c85c6
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15947 | 15947 | | |
15948 | 15948 | | |
15949 | 15949 | | |
15950 | | - | |
| 15950 | + | |
15951 | 15951 | | |
15952 | 15952 | | |
15953 | 15953 | | |
| |||
0 commit comments