Repository navigation
Commit e24318f
committed
gh-158194: Pin the type lock in PyType_Freeze()
PyType_Freeze() stopped the world under the type lock without pinning
it, so the lock could be released while waiting for the pause. Pin it
with type_lock_prevent_release() like the other type-lock callers of
types_stop_world().1 parent 00a1c3a commit e24318f
2 files changed
Lines changed: 8 additions & 0 deletions
File tree
- Misc/NEWS.d/next/Core_and_Builtins
- Objects
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12463 | 12463 | | |
12464 | 12464 | | |
12465 | 12465 | | |
| 12466 | + | |
12466 | 12467 | | |
| 12468 | + | |
12467 | 12469 | | |
12468 | 12470 | | |
12469 | 12471 | | |
| 12472 | + | |
12470 | 12473 | | |
12471 | 12474 | | |
12472 | 12475 | | |
| |||
0 commit comments