diff --git a/pupy/scriptlets/__init__.py b/pupy/scriptlets/__init__.py index 98eefea09..cff874cdb 100644 --- a/pupy/scriptlets/__init__.py +++ b/pupy/scriptlets/__init__.py @@ -331,8 +331,7 @@ def parse_scriptlet(filedir, filename): metadata = compile(meta, 'metadata-'+filename, 'exec') metadict = {} - exec (metadata, metadict) - del metadict['__builtins__'] + eval(metadata, globals(), metadict) docstring = '\n'.join( x.strip() for x in docstrings