diff options
author | adam <adam@pkgsrc.org> | 2017-12-18 12:48:46 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2017-12-18 12:48:46 +0000 |
commit | 956357c7c8bd25b131e487696bcc1ddf18a12a1a (patch) | |
tree | 462e126abe9179bf048b67bfd24b812de8786ea1 /lang/py-hy/distinfo | |
parent | 8579f441c877df48dd63ba3f87b8e6bcec99ec28 (diff) | |
download | pkgsrc-956357c7c8bd25b131e487696bcc1ddf18a12a1a.tar.gz |
py-hy: updated to 0.13.0
Changes 0.13.1:
[ Language Changes ]
* Pythons 2.6, 3.0, 3.1, and 3.2 are no longer supported
* let has been removed. Python's scoping rules do not make a proper
implementation of it possible. Use setv instead.
* lambda has been removed, but fn now does exactly what lambda did
* defreader has been renamed to defsharp; what were previously called
"reader macros", which were never true reader macros, are now called
"sharp macros"
* try now enforces the usual Python order for its elements (else must
follow all excepts, and finally must come last). This is only a
syntactic change; the elements were already run in Python order even when
defined out of order.
* try now requires an except or finally clause, as in Python
* Importing or executing a Hy file automatically byte-compiles it, or loads
a byte-compiled version if it exists and is up to date. This brings big
speed boosts, even for one-liners, because Hy no longer needs to recompile
its standard library for every startup.
* Added bytestring literals, which create bytes objects under Python 3
and str objects under Python 2
* Commas and underscores are allowed in numeric literals
* Many more operators (e.g., **, //, not, in) can be used
as first-class functions
* The semantics of binary operators when applied to fewer or more
than two arguments have been made more logical
* (** a b c d) is now equivalent to (** a (** b (** c d))),
not (** (** (** a b) c) d)
* setv always returns None
* When a try form executes an else clause, the return value for the
try form is taken from else instead of the try body. For example,
(try 1 (except [ValueError] 2) (else 3)) returns 3.
* xor: If exactly one argument is true, return it
* hy.core.reserved is now hy.extra.reserved
* cond now supports single argument branches
[ Bug Fixes ]
* All shadowed operators have the same arities as real operators
* Shadowed comparison operators now use and instead of &
for chained comparisons
* partition no longer prematurely exhausts input iterators
* read and read-str no longer raise an error when the input
parses to a false value (e.g., the empty string)
* A yield inside of a with statement will properly suppress implicit
returns
* setv no longer unnecessarily tries to get attributes
* loop no longer replaces string literals equal to "recur"
* The REPL now prints the correct value of do and try forms
* Fixed a crash when tokenizing a single quote followed by whitespace
[ Misc. Improvements ]
* New contrib module hy-repr
* Added a command-line option --repl-output-fn
Diffstat (limited to 'lang/py-hy/distinfo')
-rw-r--r-- | lang/py-hy/distinfo | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lang/py-hy/distinfo b/lang/py-hy/distinfo index 36e3122a532..1b7327b3851 100644 --- a/lang/py-hy/distinfo +++ b/lang/py-hy/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.3 2015/11/03 22:50:42 agc Exp $ +$NetBSD: distinfo,v 1.4 2017/12/18 12:48:46 adam Exp $ -SHA1 (hy-0.10.1.tar.gz) = 5df7a434dee1ca7127968862dd1e62fc40f64827 -RMD160 (hy-0.10.1.tar.gz) = d32c71b38f6eb29d39359827872a692c63f6d66c -SHA512 (hy-0.10.1.tar.gz) = 5a8e8a2090942dc49f63161f7a3bc9224a3b387f81b6dddbbb9ffc94cb72a5076fbd7d7bf0be65fcd8ba5a3febab4c120268d9badf4cb88e6b1fdf84c92028d0 -Size (hy-0.10.1.tar.gz) = 42726 bytes +SHA1 (hy-0.13.0.tar.gz) = 73f0b0dad931897e59c0ae9805095b8a0d828991 +RMD160 (hy-0.13.0.tar.gz) = 99f4ee0c49512c7758e98fbf910a0c456a656c22 +SHA512 (hy-0.13.0.tar.gz) = d0950351df2a2638c2675eb7924f3640df0805edec3059b934321c8d6cbc704d4c09aed21304a3171301d524826075f204c85799d90eb5d953fb0945229cabcf +Size (hy-0.13.0.tar.gz) = 64162 bytes +SHA1 (patch-setup.py) = bebcbc874d8afee305eb5bfa207d207c2eee4a85 |