Skip to content

0.25.0

Compare
Choose a tag to compare
@Kodiologist Kodiologist released this 08 Nov 18:08
· 581 commits to master since this release
04866e5

Breaking Changes

  • dfor no longer requires brackets around its final arguments, so (dfor x (range 5) [x (* 2 x)]) is now (dfor x (range 5) x (* 2 x)).
  • except* (PEP 654) is now recognized in try, and a placeholder macro for except* has been added.

New Features

  • Python 3.11 is now supported.

Bug Fixes

  • __file__ should now be set the same way as in Python.
  • \N{…} escape sequences are now recognized in f-strings.
  • Fixed a bug with python -O where assertions were still partly evaluated.
  • Fixed hy.repr of slice objects with non-integer arguments.

Misc. Improvements

  • hyc now requires a command-line argument.
  • hyc prints each path it writes bytecode to, and its messages now go to standard error instead of standard output.