Brython-3.9.1
The main new feature is the implementation of the warnings API.
Other important changes:
- many modules from the CPython standard library have been upgraded to 3.9.
- bug fixes in the
math
andcmath
modules; all the tests in Lib/test/test_cmath.py pass - rewriting of the import mechanism, more compliant with the specification (finders, loaders, module specs etc.)
- support of Unicode escapes in strings (\u0000 etc.) and of identifier names with characters represented by surrogate pairs (eg 𝔘𝔫𝔦𝔠𝔬𝔡)
The option of function brython()
to specify the scripts that should be run is now documented as ids (ipy_id is kept for compatibility).