Brython

Latest version: v3.12.3

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

Scan your dependencies

Page 3 of 12

3.10.3

This is almost the same version as 3.10.2, but the minifier used by CDNs produced an unusable version of __`brython.min.js`__...

3.10.2

The main visible feature in this version is the implementation of "suggestions" introduced in Python 3.10 : in case of a `NameError`, if the namespace has a name similar to the wrong name, the interpreter suggests `"did you mean <similar name> ?"`.

3.10.1

>>> x = 12
>>> x.bitlength()
Traceback (most recent call last):
File <string>, line 1, in <module>
AttributeError: 'int' object has no attribute 'bitlength'. Did you mean: 'bit_length'?
>>>


Another important change is a complete refactoring of comprehensions. The previous version was difficult to undestand / maintain and was not adapted to a future implemention of Python ast.

3.10.0

This version implements most of the features of Python 3.10, including pattern matching (match / case).

3.9.6

Apart from the usual bug fixes, this version includes:
- important internal implementation changes (strings, conflicts with reserved Javascript names)
- major improvement in loading time for programs that use stdlib modules
- anticipation of Python 3.10 features
- preliminary work to provide a Python-compliant __`ast`__ module

3.9.5

This version is published mainly to fix an issue that broke the interactive interpreter (1699).

Page 3 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.