[Checkins] [zopefoundation/RestrictedPython] b9c508: Fix `compile_restricted_function()` called with Sy...
GitHub
noreply at github.com
Tue Sep 4 19:10:43 CEST 2018
Branch: refs/heads/master
Home: https://github.com/zopefoundation/RestrictedPython
Commit: b9c508d520b723e63424cdad94aa9d7cf645761c
https://github.com/zopefoundation/RestrictedPython/commit/b9c508d520b723e63424cdad94aa9d7cf645761c
Author: Michael Howitz <mh at gocept.com>
Date: 2018-09-04 (Tue, 04 Sep 2018)
Changed paths:
M docs/CHANGES.rst
M src/RestrictedPython/compile.py
M tests/test_compile_restricted_function.py
Log Message:
-----------
Fix `compile_restricted_function()` called with SyntaxError in function body. (#127)
It now also returns a ``CompileResult`` instead of raising a SyntaxError.
Fixes zopefoundation/Products.PythonScripts#11
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
More information about the checkins
mailing list