[Python-checkins] cpython: use char instead of int to please T_BOOL (closes #15597)
benjamin.peterson
python-checkins at python.org
Thu Aug 9 02:23:04 CEST 2012
http://hg.python.org/cpython/rev/e2df976b8a33
changeset: 78468:e2df976b8a33
parent: 78460:59223da36dec
user: Benjamin Peterson <benjamin at python.org>
date: Wed Aug 08 17:22:50 2012 -0700
summary:
use char instead of int to please T_BOOL (closes #15597)
files:
Include/pyerrors.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Include/pyerrors.h b/Include/pyerrors.h
--- a/Include/pyerrors.h
+++ b/Include/pyerrors.h
@@ -11,7 +11,7 @@
#define PyException_HEAD PyObject_HEAD PyObject *dict;\
PyObject *args; PyObject *traceback;\
PyObject *context; PyObject *cause;\
- int suppress_context;
+ char suppress_context;
typedef struct {
PyException_HEAD
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list