You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
Removals
Python 3.3 is no longer supported
def is gone; use setv instead
apply is gone; use the new #* and #** syntax instead
yield-from is no longer supported under Python 2
Periods are no longer allowed in keywords
Numeric literals can no longer begin with a comma or underscore
Literal Inf\s and NaN\s must now be capitalized like that
Other Breaking Changes
Single-character "sharp macros" are now "tag macros", which can have longer names
xi from hy.extra.anaphoric is now a tag macro #%
eval is now a function instead of a special form
New Features
The compiler now automatically promotes values to Hy model objects as necessary, so you can write (eval `(+ 1 ~n)) instead of (eval `(+ 1 ~(HyInteger n)))
return has been implemented as a special form
Added a form of string literal called "bracket strings" delimited by #[FOO[ and ]FOO], where FOO is customizable
Added support for PEP 492 (async and await) with fn/a, defn/a, with/a, and for/a