Skip to content

2.11.3

Latest
Compare
Choose a tag to compare
@dflook dflook released this 12 Nov 16:12
· 2 commits to main since this release
ca4cba5

ℹ️ Note that python-minifier depends on the python interpreter for parsing source code,
and will output source code compatible with the version of the interpreter it is run with.

This means that if you minify code written for Python 3.11 using python-minifier running with Python 3.12,
the minified code may only run with Python 3.12.

Fixed

  • The special behaviour of assignment expression target binding inside comprehensions was not correctly implemented.

    This could lead to the analysed scope of these variables being incorrect and the variable being renamed to a name that was
    already in scope.