Author: Armin Rigo <[email protected]>
Branch: py3.5
Changeset: r90608:a946964a3d8a
Date: 2017-03-09 16:56 +0100
http://bitbucket.org/pypy/pypy/changeset/a946964a3d8a/

Log:    link pylifecycle in the compilation process

diff --git a/pypy/module/cpyext/api.py b/pypy/module/cpyext/api.py
--- a/pypy/module/cpyext/api.py
+++ b/pypy/module/cpyext/api.py
@@ -1337,6 +1337,7 @@
                          source_dir / "complexobject.c",
                          source_dir / "import.c",
                          source_dir / "_warnings.c",
+                         source_dir / "pylifecycle.c",
                          ]
 
 def build_eci(code, use_micronumpy=False, translating=False):
diff --git a/pypy/module/cpyext/include/Python.h 
b/pypy/module/cpyext/include/Python.h
--- a/pypy/module/cpyext/include/Python.h
+++ b/pypy/module/cpyext/include/Python.h
@@ -133,6 +133,7 @@
 #include "pysignals.h"
 #include "pythread.h"
 #include "traceback.h"
+#include "pylifecycle.h"
 
 /* Missing definitions */
 #include "missing.h"
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to