Brython

Latest version: v3.13.0

Safety actively analyzes 687918 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 13

3.12.0

The main new features in this release are:

1. the implementation of Python 3.12, notably:
- [PEP 701](https://peps.python.org/pep-0701/), f-strings in the grammar
- [PEP 695](https://peps.python.org/pep-0695/), type parameter syntax and the type statement
- Improved ‘Did you mean …’ suggestions for NameError and SyntaxError exceptions

2. the optional removal of the attribute `onload = brython(options)` of the `<body>` tag, replaced by setting page-level options with tag `<brython-options>` or per-script options as attributes of the `<script>` tag

3. a more consistent interface between Brython and Javascript

3.11.3

This is mostly a bug fix release, with bug fixes and additional features in the **`re`** module and a few performance improvements.

3.11.2

The main changes in this version are performance improvement in various fields:
- dictionary and set objects
- function arguments parsing
- attribute resolution

Brython can now use Javascript modules that use "export" with the function `import_modules(refs, callback)`. The API is experimental and may change in the future. The gallery includes a demo that use this feature with the Javascript library three.js.

A first version of a synthesizer demo is included in the gallery.

3.11.1

The main change in this release is a complete rewriting of classes, dictionaries and sets implementation, for a better compliance with Python and speed improvements.

3.11

This version, released on the same day as CPython 3.11, supports most of its new features, notably:
- PEP 654 – Exception Groups and except *
- PEP 657 – Include Fine Grained Error Locations in Tracebacks
- PEP 678 – Enriching Exceptions with Notes

3.10.7

The main visible feature in this release is a major performance improvement for operations on basic types (integers, floats, strings).

It also includes a new Implementation of many important internal features (execution frames, exception management).

The Travis CI tools have been updated and restored (thanks to Evan Mallory and Christian Clauss), making sure that the integrated test suite runs without error for each commit.

Page 2 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.