[Python-checkins] bpo-39573: Fix buildbot failure for tupleobject.c (GH-20391)
Dong-hee Na
webhook-mailer at python.org
Mon May 25 13:25:36 EDT 2020
https://github.com/python/cpython/commit/7d847e29d76b178c2db66b180065771b4d90c78f
commit: 7d847e29d76b178c2db66b180065771b4d90c78f
branch: master
author: Dong-hee Na <donghee.na92 at gmail.com>
committer: GitHub <noreply at github.com>
date: 2020-05-26T02:25:28+09:00
summary:
bpo-39573: Fix buildbot failure for tupleobject.c (GH-20391)
files:
M Objects/tupleobject.c
diff --git a/Objects/tupleobject.c b/Objects/tupleobject.c
index 14534632dfea7..e4c0c91cfe819 100644
--- a/Objects/tupleobject.c
+++ b/Objects/tupleobject.c
@@ -83,7 +83,7 @@ tuple_alloc(Py_ssize_t size)
/* Inline PyObject_InitVar */
#ifdef Py_TRACE_REFS
Py_SIZE(op) = size;
- Py_TYPE(op) = &PyTuple_Type;
+ Py_SET_TYPE(op, &PyTuple_Type);
#endif
_Py_NewReference((PyObject *)op);
}
More information about the Python-checkins
mailing list