Repository navigation
Commit d691ac6
authored
Allow reentrant ctypes OUT construction (#9620)
Retain the pointed-to type and release the pointer metadata lock before invoking its Python constructor, which may re-enter pointer setup.
Assisted-by: OpenAI Codex:model version not exposed1 parent 1db3c47 commit d691ac6
1 file changed
Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1312 | 1312 | | |
1313 | 1313 | | |
1314 | 1314 | | |
1315 | | - | |
1316 | | - | |
1317 | | - | |
1318 | | - | |
1319 | | - | |
| 1315 | + | |
| 1316 | + | |
| 1317 | + | |
| 1318 | + | |
| 1319 | + | |
| 1320 | + | |
1320 | 1321 | | |
1321 | 1322 | | |
1322 | 1323 | | |
| |||
0 commit comments