New issue 1954: ExternalCompilationInfo fails to translate https://bitbucket.org/pypy/pypy/issue/1954/externalcompilationinfo-fails-to-translate
Angus Griffith: I can't get a simple rffi example to translate on my system. Whenever I create an ExternalCompilationInfo instance the translation fails with ``` text [translation:ERROR] Exception: A function calling locals() is not RPython. Note that if you're translating code outside the PyPy repository, a likely cause is that py.test's --assert=rewrite mode is getting in the way. You should copy the file pytest.ini from the root of the PyPy repository into your own project. ``` I've copied pytest.ini but it doesn't change anything. I've attached a minimal example that reproduces the error on my system and the full output when trying to translate it. System info: * `Linux desktop 3.17.6-1-ARCH #1 SMP PREEMPT Sun Dec 7 23:43:32 UTC 2014 x86_64 GNU/Linux` * PyPy-2.4.0 * CPython 2.7.9-1 _______________________________________________ pypy-issue mailing list [email protected] https://mail.python.org/mailman/listinfo/pypy-issue
