From: Guido van Rossum Date: Mon, 13 Apr 1998 20:24:05 +0000 (+0000) Subject: Move 'dict' struct member to end of struct. This ensures binary X-Git-Tag: v1.5.1~11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ee0a63bec51088629eb1b3621b805ea697a461fe;p=python Move 'dict' struct member to end of struct. This ensures binary compatibility for shared libraries. *** WARNING -- IF YOU BUILT 1.5.1BETA1, DO A "MAKE CLEAN" *** --- diff --git a/Include/pystate.h b/Include/pystate.h index 443f3656bd..b061fbf4e8 100644 --- a/Include/pystate.h +++ b/Include/pystate.h @@ -73,8 +73,6 @@ typedef struct _ts { int ticker; int tracing; - PyObject *dict; - PyObject *sys_profilefunc; PyObject *sys_tracefunc; @@ -86,6 +84,8 @@ typedef struct _ts { PyObject *exc_value; PyObject *exc_traceback; + PyObject *dict; + /* XXX signal handlers should also be here */ } PyThreadState;