• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

zopefoundation / RestrictedPython
99%

Build:
DEFAULT BRANCH: master
Repo Added 25 Oct 2016 05:42AM UTC
Files 60
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH master
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • 3.9ast
  • 4.0
  • 4.0a1
  • 4.0a2
  • 4.0a3
  • 4.0b6
  • 4.0b7
  • 4.0b8
  • 5-fix-GHA
  • 5.0
  • 5.1
  • 5.2
  • 5.2a1.dev0
  • 5.3
  • 5.x
  • 6.0
  • 6.0a1.dev0
  • 6.1
  • 6.2
  • 6.x
  • 7.0
  • 7.0a1.dev0
  • 7.0a1.dev1
  • 7.0a2.dev0
  • 7.1
  • 7.2
  • 7.2a1.dev0
  • 7.3
  • 7.4
  • 8.0
  • 8.1
  • 8.1a1.dev0
  • 8.2
  • 8.3
  • 8.3a1.dev0
  • CodeQL
  • CodeQL-2
  • DepricationWarnings
  • NamedExpr_support
  • Python3_update
  • add-fstring-support
  • add-matmul
  • all-repos_autofix_all-repos-sed
  • allow_yield
  • appveyor_adaption
  • ast_doc_warnings
  • before-delete-of-old-implementation
  • better-description
  • better_message_for_range_limits
  • black
  • black_applied
  • builtins
  • bytes_and_sorted
  • central-version-checks
  • class_definitions
  • class_func
  • class_func_method
  • clean-up
  • clean-up-code
  • clean-up-docs
  • clean-up-marks
  • clean-up-marks2
  • clean-up-tox-ini
  • clean_up_tests
  • cleanup_config_build
  • cleanup_old_files
  • cleanup_setup
  • compile-result
  • compile_tests
  • config-with-pure-python
  • config-with-pure-python-template-0833c289
  • config-with-pure-python-template-7dcce077
  • config-with-pure-python-template-a0de4e93
  • config-with-pure-python-template-b21fbbf2
  • config-with-pure-python-template-ba10c93f
  • config-with-pure-python-template-ca2e613f
  • config-with-pure-python-template-d1a00d25
  • config-with-pure-python-template-fee4a500
  • configs
  • coverage_raise
  • dataflake/ast-deprecations
  • dataflake/remove_confusing_guards_docs
  • delete-old-implementation
  • do-not-use-builtins-on-py2
  • drop-py2
  • drop-sets-module-support
  • ellipsis
  • f-string-sde
  • f-string-template_for_syntax_error_template
  • feat/support-py314-metadata-docs
  • fix-11
  • fix-144
  • fix-147
  • fix-149
  • fix-193
  • fix-318
  • fix-95
  • fix-appveyor
  • fix-ci
  • fix-coverage
  • fix-del-attr
  • fix-dict-compr-order-on-python-3.8
  • fix-except
  • fix-format
  • fix-format2
  • fix-full-write-guard
  • fix-import-example
  • fix-init-args
  • fix-lambda
  • fix-lint-config
  • fix-tox-config-file-coverage-report
  • fix-try-except
  • fix-try-except2
  • fix_ast_docs
  • fix_contributing_docs
  • fix_conventions_after_#173
  • fix_isort
  • fix_lint_tox
  • flake8
  • flake8-tests
  • flake8_strict
  • function
  • function-docs
  • function-fix
  • getattr
  • icemac-patch-1
  • import_underscore_modul
  • import_underscore_modul_deprecation
  • in_not_in_sep
  • increase-code-coverage-of-eval-module
  • increase-test-coverage-of-Guards
  • inspect-improvements
  • isort
  • issue-118
  • issue_181
  • iter_over_dict
  • jython_stackless_test
  • lint-tests
  • linter-plugins
  • logo-in-readme
  • master
  • mode-docs
  • mode-fix
  • more_docs
  • more_unit_tests
  • move_readme_coverage
  • patch-1
  • port-eval-py
  • port-tests
  • port_unicode_tests
  • py3-allow-class
  • py3.8
  • py310
  • py311-final
  • py311b3
  • py312
  • py313
  • py314
  • py36
  • py38
  • pypi-pip_enhancements
  • python-3.15
  • python3.12_versionsettings
  • python37_compat
  • python3_doc
  • python3_docs_consolidation
  • python3_migrate_tests_part0
  • python3_port_print
  • python3_usage_documentation
  • python_3.10-3.11-docs
  • pyupgrade
  • re-155-remove-deprecation-warning-for-print-statement
  • re-192/avoid-deprecations
  • re-add-sets
  • reconfigure_setup
  • remove-context-checking-of-name-expressions
  • remove-len-on-write-wrapper
  • remove-whitelist
  • remove_coveragerc
  • remove_six
  • revert-5-Python3_update
  • revert_#150_Ellipsis
  • rework_tox_ci_config
  • safer_getattr
  • safer_getattr_raise
  • same_type_return_bool
  • separate-code-quality-checks
  • setuptools-fossils
  • simplify_tox
  • single_mode
  • slice_as_safe_builtin
  • slice_fixes
  • slices
  • star_imports
  • support-python3.9
  • syntax_error_on_call_without_text
  • test_generator_frames
  • tested_versions
  • tox_doc_build
  • try-out-coveralls
  • try-windows-on-travis
  • typing
  • undo-changes-in-PR3
  • update_contributing_docs
  • update_editorconf
  • usage-doc
  • use-released-pytest-mock
  • utilities-tests
  • validating-arg-names
  • visit_Name
  • walrus
  • warn-when-not-cpython
  • what-is-py38

19 Jun 2026 03:05PM UTC coverage: 98.86% (-0.01%) from 98.874%
28322102887

push

github

web-flow
Type Annotations for RestrictedPython (#317)

* Type Annotations for RestrictedPython

* isinstance check with ExtSlice and Tuple as for older Python Versions

* liniting

* Remove Python 3.9 as it end of life

* Remove License Cassifier, as they are deprecated

* Add Comment for TryStar Annotation

* Add Comment for TryStar Annotation

* Add Comment for TryStar Annotation

* Add Changelog Entry

* Base for Python 3.14 Updates

* Update docs for Python 3.14

* add provisional visit_TempalteStr and visit_Interpolation to transformer to start looking into it

* Disable t-strings

* Apply pre-commit code formatting

* reactivate Template-Strings

* Update Documentation for TemplateStr and Interploation

* Apply pre-commit code formatting

* conditional import

* fix coverage numbers

* readd Python 3.9 support

* - updating package files with zope/meta and fixing tests

* - fix last test

* - expand change log entry to be more clear.

* fix return type

* style update (autopep8)

* add type hints for RestrictingNodeTransformer attributes

* update type hints for RestrictingNodeTransformer methods

* update type hint for `policy` argument

* add type hints for RestrictingNodeTransformer.visit_Interpolation

* update CHANGES.rst

* add types to CompileResult
changing the return type in compile_restricted_function to match the rest of the functions

* fix type hint for used_names

* add None to the return type hints

* add py.typed

* use "normal import"

* add list[ast.AST] to the return type hints

* add config for mypy

* replace `compile(flags=ast.PyCF_ONLY_AST)` to `ast.parse`

* update type hints

* add mypy check in pre-commit

* update type hint

* typeshed is not a package and typeshed include in mypy

* add comment and update type hint after fix #318

* bringing TODO to a single format

---------

Co-authored-by: Alexander Loechel <Alexander.Loechel@lmu.de>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.gi... (continued)

217 of 225 branches covered (96.44%)

219 of 220 new or added lines in 8 files covered. (99.55%)

2601 of 2631 relevant lines covered (98.86%)

0.99 hits per line

Relevant lines Covered
Build:
Build:
2631 RELEVANT LINES 2601 COVERED LINES
0.99 HITS PER LINE
Source Files on master
  • Tree
  • List 60
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
28322102887 master Type Annotations for RestrictedPython (#317) * Type Annotations for RestrictedPython * isinstance check with ExtSlice and Tuple as for older Python Versions * liniting * Remove Python 3.9 as it end of life * Remove License Cassifier, as they ... push 28 Jun 2026 12:29PM UTC web-flow github
98.86
27904476953 master Type Annotations for RestrictedPython (#317) * Type Annotations for RestrictedPython * isinstance check with ExtSlice and Tuple as for older Python Versions * liniting * Remove Python 3.9 as it end of life * Remove License Cassifier, as they ... push 21 Jun 2026 12:37PM UTC web-flow github
98.86
27833441635 master Type Annotations for RestrictedPython (#317) * Type Annotations for RestrictedPython * isinstance check with ExtSlice and Tuple as for older Python Versions * liniting * Remove Python 3.9 as it end of life * Remove License Cassifier, as they ... push 19 Jun 2026 03:05PM UTC web-flow github
98.86
27829956296 typing Merge 9298f0590 into 643a43f83 Pull #317 19 Jun 2026 01:56PM UTC web-flow github
98.86
27829046989 master disallow mode="function" in compile_restricted (#326) push 19 Jun 2026 01:37PM UTC web-flow github
98.87
27622185896 fix-318 Merge b78681895 into bbbc3b335 Pull #326 16 Jun 2026 01:47PM UTC web-flow github
98.87
27622011589 fix-318 Merge 35cfc053c into bbbc3b335 Pull #326 16 Jun 2026 01:44PM UTC web-flow github
98.87
27618644118 typing Merge db7e193ab into bbbc3b335 Pull #317 16 Jun 2026 12:48PM UTC web-flow github
98.86
27617826978 master compile_restricted_function fix (docs+code) (#321) * update-docs * update-docs * add support ast * add tests * update changelog * small fix --------- Co-authored-by: Jens Vagelpohl <jens@plyp.com> push 16 Jun 2026 12:34PM UTC web-flow github
98.87
27617811265 master compile_restricted_mode fix (docs + code) (#324) * update docs * update docs * add support bytes, bytearray, ast.Expression, ast.Interactive --------- Co-authored-by: Jens Vagelpohl <jens@plyp.com> push 16 Jun 2026 12:34PM UTC web-flow github
98.98
See All Builds (1871)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc