Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Commit281ffb6
gh-113993: For string interning, do not rely on (or assert) _Py_IsImmortal (GH-121358)Older stable ABI extensions are allowed to make immortal objects mortal.Instead, use `_PyUnicode_STATE` (`interned` and `statically_allocated`).(cherry picked from commit956270d)Co-authored-by: Petr Viktorin <encukou@gmail.com>
1 parentf0e4b02 commit281ffb6
File tree
2 files changed
+10
-7
lines changed- Misc/NEWS.d/next/C API
- Objects
2 files changed
+10
-7
lines changedLines 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 | |
|---|---|---|---|
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
250 | | - | |
| 250 | + | |
| 251 | + | |
251 | 252 | | |
252 | 253 | | |
253 | 254 | | |
| |||
683 | 684 | | |
684 | 685 | | |
685 | 686 | | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
686 | 692 | | |
687 | 693 | | |
688 | 694 | | |
689 | | - | |
690 | 695 | | |
691 | 696 | | |
692 | 697 | | |
| |||
702 | 707 | | |
703 | 708 | | |
704 | 709 | | |
705 | | - | |
706 | 710 | | |
707 | 711 | | |
708 | 712 | | |
709 | | - | |
710 | 713 | | |
711 | 714 | | |
712 | 715 | | |
| |||
1899 | 1902 | | |
1900 | 1903 | | |
1901 | 1904 | | |
1902 | | - | |
1903 | 1905 | | |
1904 | 1906 | | |
1905 | 1907 | | |
| |||
15049 | 15051 | | |
15050 | 15052 | | |
15051 | 15053 | | |
15052 | | - | |
15053 | 15054 | | |
15054 | 15055 | | |
15055 | 15056 | | |
| |||
15190 | 15191 | | |
15191 | 15192 | | |
15192 | 15193 | | |
15193 | | - | |
| 15194 | + | |
15194 | 15195 | | |
15195 | 15196 | | |
15196 | 15197 | | |
| |||
0 commit comments
Comments
(0)