[Checkins] [zopefoundation/RestrictedPython] 5e7fda: Get rid of the whitelist.
GitHub
noreply at github.com
Tue Jan 31 16:40:47 CET 2017
Branch: refs/heads/Python3_update
Home: https://github.com/zopefoundation/RestrictedPython
Commit: 5e7fdaa60534316af91c21bdfa24bf1276f9dec2
https://github.com/zopefoundation/RestrictedPython/commit/5e7fdaa60534316af91c21bdfa24bf1276f9dec2
Author: Michael Howitz <mh at gocept.com>
Date: 2017-01-31 (Tue, 31 Jan 2017)
Changed paths:
M src/RestrictedPython/transformer.py
Log Message:
-----------
Get rid of the whitelist.
Reason: ast nodes which have a `visit_` function had also to be in the
whitelist. This was an unnecessary duplication.
The most important part of art the methods `generic_visit` and
`node_contents_visit`.
Additionally I forbid all ast nodes which are not yet covered by tests.
Commit: 36fd52063b1b7ad91804b43bb7290e445b86f77f
https://github.com/zopefoundation/RestrictedPython/commit/36fd52063b1b7ad91804b43bb7290e445b86f77f
Author: Michael Howitz <mh at gocept.com>
Date: 2017-01-31 (Tue, 31 Jan 2017)
Changed paths:
M tests/test_print_function.py
M tests/test_transformer.py
Log Message:
-----------
Improve tests.
Commit: f4ac2b5a1ac283cd6c49a881aa3446643289652d
https://github.com/zopefoundation/RestrictedPython/commit/f4ac2b5a1ac283cd6c49a881aa3446643289652d
Author: Michael Howitz <mh at gocept.com>
Date: 2017-01-31 (Tue, 31 Jan 2017)
Changed paths:
M src/RestrictedPython/transformer.py
Log Message:
-----------
Incorporate change requests.
Commit: d4bd9d00b911e6bbe982252d5b6d5c63d6c8b4b1
https://github.com/zopefoundation/RestrictedPython/commit/d4bd9d00b911e6bbe982252d5b6d5c63d6c8b4b1
Author: Michael Howitz <mh at gocept.com>
Date: 2017-01-31 (Tue, 31 Jan 2017)
Changed paths:
M src/RestrictedPython/transformer.py
M tests/test_print_function.py
M tests/test_transformer.py
Log Message:
-----------
Merge pull request #16 from zopefoundation/remove-whitelist
Get rid of the whitelist.
Compare: https://github.com/zopefoundation/RestrictedPython/compare/7dc6e5f04a1e...d4bd9d00b911
More information about the checkins
mailing list