Skip to content

0.29.0

Latest
Compare
Choose a tag to compare
@Kodiologist Kodiologist released this 20 May 19:58
· 4 commits to master since this release

Removals

  • hy.disassemble has been removed.
  • (defn/a …) is now (defn :async …).
  • (fn/a …) is now (fn :async …).
  • (with/a […] …) is now (with [:async …] …).
    • As with for, :async must precede each name to be bound asynchronously, because you can mix synchronous and asynchronous types.
  • (yield-from …) is now (yield :from …).

New Features

  • You can now set repl-ps1 and repl-ps2 in your HYSTARTUP to customize sys.ps1 and sys.ps2 for the Hy REPL.

Bug Fixes

  • Tracebacks now point to the correct code in more cases.
  • help should no longer crash when objects are missing docstrings.
  • hy -i < script.hy now executes script.hy inside the REPL environment, like Python.