[pypy-commit] pypy py3.5: compatibility w/cpython and SUBCLASS flags

mattip pypy.commits at gmail.com
Thu Sep 14 16:35:05 EDT 2017


Author: Matti Picus <matti.picus at gmail.com>
Branch: py3.5
Changeset: r92397:385eb4874961
Date: 2017-09-14 23:34 +0300
http://bitbucket.org/pypy/pypy/changeset/385eb4874961/

Log:	compatibility w/cpython and SUBCLASS flags

diff --git a/pypy/module/cpyext/parse/cpyext_object.h b/pypy/module/cpyext/parse/cpyext_object.h
--- a/pypy/module/cpyext/parse/cpyext_object.h
+++ b/pypy/module/cpyext/parse/cpyext_object.h
@@ -241,7 +241,7 @@
     PyBufferProcs *tp_as_buffer;
 
     /* Flags to define presence of optional/expanded features */
-    long tp_flags;
+    unsigned long tp_flags;
 
     const char *tp_doc; /* Documentation string */
 


More information about the pypy-commit mailing list