[Checkins] [zopefoundation/RestrictedPython] 233726: Fix `compile_restricted_function()` called with Sy...
GitHub
noreply at github.com
Tue Sep 4 17:04:11 CEST 2018
Branch: refs/heads/fix-11
Home: https://github.com/zopefoundation/RestrictedPython
Commit: 2337266286263be8485f860a0c537429511c4311
https://github.com/zopefoundation/RestrictedPython/commit/2337266286263be8485f860a0c537429511c4311
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.
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