mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
bpo-30447: Fix/skip the subinterpreters test on some platforms. (#1791)
This commit is contained in:
parent
94987826e8
commit
d1c3c13fed
2 changed files with 43 additions and 44 deletions
|
@ -28,7 +28,7 @@ static void print_subinterp(void)
|
|||
PyThreadState *ts = PyThreadState_Get();
|
||||
PyInterpreterState *interp = ts->interp;
|
||||
int64_t id = PyInterpreterState_GetID(interp);
|
||||
printf("interp %lu <0x%" PRIXPTR ">, thread state <0x%" PRIXPTR ">: ",
|
||||
printf("interp %" PRId64 " <0x%" PRIXPTR ">, thread state <0x%" PRIXPTR ">: ",
|
||||
id, (uintptr_t)interp, (uintptr_t)ts);
|
||||
fflush(stdout);
|
||||
PyRun_SimpleString(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue