[pypy-svn] r58727 - pypy/dist/pypy/rpython/lltypesystem

xoraxax at codespeak.net xoraxax at codespeak.net
Tue Oct 7 13:52:30 CEST 2008


Author: xoraxax
Date: Tue Oct  7 13:52:29 2008
New Revision: 58727

Modified:
   pypy/dist/pypy/rpython/lltypesystem/rffi.py
Log:
(antocuni, xoraxax) Propagate the module name in llexternal, can be used for reporting.

Modified: pypy/dist/pypy/rpython/lltypesystem/rffi.py
==============================================================================
--- pypy/dist/pypy/rpython/lltypesystem/rffi.py	(original)
+++ pypy/dist/pypy/rpython/lltypesystem/rffi.py	Tue Oct  7 13:52:29 2008
@@ -124,6 +124,7 @@
         """ % locals())
         miniglobals = {'aroundstate': aroundstate,
                        'funcptr':     funcptr,
+                       '__name__':    __name__, # for module name propagation
                        }
         exec source.compile() in miniglobals
         call_external_function = miniglobals['call_external_function']



More information about the Pypy-commit mailing list