Skip to content

Version 3.6.2

Compare
Choose a tag to compare
@Technologicat Technologicat released this 27 Sep 13:14
· 5 commits to master since this release

3.6.2 (27 September 2024) - New tree snakes edition:

IMPORTANT:

  • Minimum Python language version is now 3.8.
    • We support 3.8, 3.9, 3.10, 3.11, 3.12, and PyPy3 (language versions 3.8, 3.9, and 3.10).
    • Python 3.6 and 3.7 support dropped, as these language versions have officially reached end-of-life. If you need mcpyrate for Python 3.6 or 3.7, use version 3.6.1.

New:

Fixed:

  • Fix #41. The unparser now supports match/case (Python 3.10 pattern matching).
  • Fix bug in unparser: a class definition with no bases or keywords should not emit parentheses after the class name.
  • Fix bug in rename: rename also in global and nonlocal declarations, and (Python 3.10+) in match/case captures.
  • Update links in relevant parts of mcpyrate documentation to point to Python's official AST documentation instead of GTS (Green Tree Snakes).
    • Nowadays Python has proper AST documentation.
    • Thus the separate GTS resource is no longer needed, and is effectively dead as of September 2024.