Author: Matti Picus <[email protected]>
Branch: cpyext-int
Changeset: r67908:4e1dc333a6e5
Date: 2013-11-09 23:03 +0200
http://bitbucket.org/pypy/pypy/changeset/4e1dc333a6e5/
Log: cleanup and document
diff --git a/pypy/doc/whatsnew-head.rst b/pypy/doc/whatsnew-head.rst
--- a/pypy/doc/whatsnew-head.rst
+++ b/pypy/doc/whatsnew-head.rst
@@ -91,6 +91,7 @@
.. branch: safe-win-mmap
.. branch: boolean-indexing-cleanup
.. branch: cpyext-best_base
+.. branch: cpyext-int
.. branch: fileops2
.. branch: nobold-backtrace
diff --git a/pypy/module/cpyext/test/test_intobject.py
b/pypy/module/cpyext/test/test_intobject.py
--- a/pypy/module/cpyext/test/test_intobject.py
+++ b/pypy/module/cpyext/test/test_intobject.py
@@ -183,7 +183,7 @@
return val;
"""
),
- ], prologue='#include <numpy/arrayobject.h>')
+ ])
i = mod.test_int()
assert isinstance(i, int)
assert i == 42
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit