]> granicus.if.org Git - python/commitdiff
Move 'dict' struct member to end of struct. This ensures binary
authorGuido van Rossum <guido@python.org>
Mon, 13 Apr 1998 20:24:05 +0000 (20:24 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 13 Apr 1998 20:24:05 +0000 (20:24 +0000)
compatibility for shared libraries.

*** WARNING -- IF YOU BUILT 1.5.1BETA1, DO A "MAKE CLEAN" ***

Include/pystate.h

index 443f3656bd13e7a1e8a8a694c467189bf6b45775..b061fbf4e8682193d6960ae8060b6171e00ca687 100644 (file)
@@ -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;