[Checkins] [zopefoundation/RestrictedPython] 59350b: Check for invalid import names.
GitHub
noreply at github.com
Wed Nov 9 13:31:09 CET 2016
Branch: refs/heads/Python3_update
Home: https://github.com/zopefoundation/RestrictedPython
Commit: 59350b27eda1a9bc85762373bfee24149998bf2e
https://github.com/zopefoundation/RestrictedPython/commit/59350b27eda1a9bc85762373bfee24149998bf2e
Author: stephan-hof <sh at axiros.com>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/RestrictedPython/transformer.py
M tests/test_transformer.py
Log Message:
-----------
Check for invalid import names.
Commit: 59e3258345f3a11172ebff35d89b0c5a6dff5eff
https://github.com/zopefoundation/RestrictedPython/commit/59e3258345f3a11172ebff35d89b0c5a6dff5eff
Author: stephan-hof <sh at axiros.com>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M tests/test_transformer.py
Log Message:
-----------
It is so tiersome writing 'compile_restricted_exec' all the time.
To test the transfromer this function is used all the time anyway.
Commit: f41bf710a2c1d58531cba21be93bc3455f9f4f41
https://github.com/zopefoundation/RestrictedPython/commit/f41bf710a2c1d58531cba21be93bc3455f9f4f41
Author: stephan-hof <sh at axiros.com>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/RestrictedPython/transformer.py
M tests/test_transformer.py
Log Message:
-----------
Check class names.
Commit: 6ea4f24ba7f47c982b0fbaed4f50c6b133532ddb
https://github.com/zopefoundation/RestrictedPython/commit/6ea4f24ba7f47c982b0fbaed4f50c6b133532ddb
Author: stephan-hof <sh at axiros.com>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/RestrictedPython/Guards.py
M src/RestrictedPython/transformer.py
M tests/test_transformer.py
Log Message:
-----------
Rewrite the 'unpack sequence' protection.
Commit: 5281ecb08eb1355e09150a04f08a4b25af43b472
https://github.com/zopefoundation/RestrictedPython/commit/5281ecb08eb1355e09150a04f08a4b25af43b472
Author: stephan-hof <sh at axiros.com>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M tests/test_transformer.py
Log Message:
-----------
Enhance the unittest.
Test also assignment to a single (not tuple) target.
Commit: 537cba14ccd1269401ecfd5e5d95ac840e09c5d4
https://github.com/zopefoundation/RestrictedPython/commit/537cba14ccd1269401ecfd5e5d95ac840e09c5d4
Author: stephan-hof <sh at axiros.com>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M tests/test_transformer.py
Log Message:
-----------
Add a unittest for unpack sequence with starred elements.
Commit: 80c9f6e3c697a87305593b37529cf3a2486c391d
https://github.com/zopefoundation/RestrictedPython/commit/80c9f6e3c697a87305593b37529cf3a2486c391d
Author: stephan-hof <sh at axiros.com>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/RestrictedPython/Guards.py
M src/RestrictedPython/transformer.py
M tests/test_transformer.py
Log Message:
-----------
Protect sequence unpacking on for loops (+ comprehensions).
Commit: 8e4c46808b723703f2076fa53d8f2ffa9e608743
https://github.com/zopefoundation/RestrictedPython/commit/8e4c46808b723703f2076fa53d8f2ffa9e608743
Author: stephan-hof <sh at axiros.com>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M tests/test_transformer.py
Log Message:
-----------
Use correct order for imports.
Commit: eba32f69a730bf0a3948c9b91e9c6dcbb5f1d578
https://github.com/zopefoundation/RestrictedPython/commit/eba32f69a730bf0a3948c9b91e9c6dcbb5f1d578
Author: stephan-hof <sh at axiros.com>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/RestrictedPython/transformer.py
M tests/test_transformer.py
Log Message:
-----------
PEP8 PEP257 compliance.
Commit: ff7dcda1d1b6e169fb547d7c071e00f292f670bf
https://github.com/zopefoundation/RestrictedPython/commit/ff7dcda1d1b6e169fb547d7c071e00f292f670bf
Author: stephan-hof <sh at axiros.com>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/RestrictedPython/transformer.py
Log Message:
-----------
Refactor out a method for the import checks.
Commit: 893261109d133d22b97f54292936f87d3b60bb20
https://github.com/zopefoundation/RestrictedPython/commit/893261109d133d22b97f54292936f87d3b60bb20
Author: stephan-hof <sh at axiros.com>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M src/RestrictedPython/Guards.py
M src/RestrictedPython/transformer.py
M tests/test_transformer.py
Log Message:
-----------
Add more comments how protection of 'sequence unpacking' works.
Commit: deab0464985187caf2d4ded3fa61d32aa5e49e3e
https://github.com/zopefoundation/RestrictedPython/commit/deab0464985187caf2d4ded3fa61d32aa5e49e3e
Author: stephan-hof <sh at axiros.com>
Date: 2016-11-09 (Wed, 09 Nov 2016)
Changed paths:
M tests/test_transformer.py
Log Message:
-----------
Do not allow access to '__traceback__'.
Compare: https://github.com/zopefoundation/RestrictedPython/compare/f2b1aa3bd53d...deab04649851
More information about the checkins
mailing list