Skip to content

Brython-3.9.2

Compare
Choose a tag to compare
@PierreQuentel PierreQuentel released this 22 Apr 19:42
· 2915 commits to master since this release

The main new feature is a rewriting of the re module. The previous version used a pure-Python version of the CPython module _sre; it took a long time to import and was slow on execution. The new module (libs/python_re.js) loads immediately and its execution is much faster (at least 30 times), although still much slower than the CPython module.

The version also introduces a change in the implementation of strings with code points adressable with more than 2 bytes ("surrogate pairs").