mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
[3.14] GH-141509: Fix warning about remaining subinterpreters (GH-141528) (GH-141566)
(cherry picked from commit fa245df4a0)
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
This commit is contained in:
parent
8a67e3c2b0
commit
21e43d5e83
3 changed files with 5 additions and 1 deletions
|
|
@ -2517,7 +2517,7 @@ finalize_subinterpreters(void)
|
|||
(void)PyErr_WarnEx(
|
||||
PyExc_RuntimeWarning,
|
||||
"remaining subinterpreters; "
|
||||
"destroy them with _interpreters.destroy()",
|
||||
"close them with Interpreter.close()",
|
||||
0);
|
||||
|
||||
/* Swap out the current tstate, which we know must belong
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue