Author: Antonio Cuni <[email protected]>
Branch: hpy
Changeset: r98170:95a38a6798b3
Date: 2019-11-28 11:10 +0100
http://bitbucket.org/pypy/pypy/changeset/95a38a6798b3/
Log: implement make_module(..., extra_sources=...)
diff --git a/pypy/module/hpy_universal/test/support.py
b/pypy/module/hpy_universal/test/support.py
--- a/pypy/module/hpy_universal/test/support.py
+++ b/pypy/module/hpy_universal/test/support.py
@@ -34,7 +34,8 @@
if w_extra_templates is None:
extra_templates = ()
else:
- import pdb;pdb.set_trace()
+ items_w = space.unpackiterable(w_extra_templates)
+ extra_templates = [space.text_w(item) for item in items_w]
so_filename = compiler.compile_module(source_template, name,
extra_templates)
w_mod = space.appexec([space.newtext(so_filename),
space.newtext(name)],
"""(path, modname):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit