Commit 4fae54c
Victor Stinner
In release mode, PyUnicode_InternInPlace() does nothing if the input is NULL or
not a unicode, instead of failing with a fatal error.
Use assertions in debug mode (provide better error messages).1 parent 23e5668 commit 4fae54c
1 file changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12893 | 12893 | | |
12894 | 12894 | | |
12895 | 12895 | | |
| 12896 | + | |
| 12897 | + | |
| 12898 | + | |
| 12899 | + | |
12896 | 12900 | | |
12897 | | - | |
12898 | | - | |
| 12901 | + | |
| 12902 | + | |
12899 | 12903 | | |
12900 | 12904 | | |
12901 | 12905 | | |
12902 | 12906 | | |
12903 | 12907 | | |
12904 | 12908 | | |
12905 | 12909 | | |
12906 | | - | |
| 12910 | + | |
12907 | 12911 | | |
12908 | 12912 | | |
12909 | 12913 | | |
| |||
0 commit comments