From 032830bada6f0670bd929d006e112ed2d8431874 Mon Sep 17 00:00:00 2001 From: Kodi Arfer Date: Thu, 15 Jun 2017 11:11:54 -0700 Subject: [PATCH 1/3] Mark support for Python 3.6 in setup.py --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index a5d64a9..d069fbf 100755 --- a/setup.py +++ b/setup.py @@ -78,6 +78,7 @@ setup( "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", + "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Code Generators", "Topic :: Software Development :: Compilers", "Topic :: Software Development :: Libraries", From 7361b37a7580bb5caaf7696b7bff5954042fd52b Mon Sep 17 00:00:00 2001 From: Kodi Arfer Date: Thu, 15 Jun 2017 11:30:05 -0700 Subject: [PATCH 2/3] Add get_version as a data file to setup.py --- setup.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.py b/setup.py index d069fbf..ad91352 100755 --- a/setup.py +++ b/setup.py @@ -57,6 +57,9 @@ setup( 'hy.core': ['*.hy', '__pycache__/*'], 'hy.extra': ['*.hy', '__pycache__/*'], }, + data_files=[ + ('get_version', ['get_version.py']) + ], author="Paul Tagliamonte", author_email="tag@pault.ag", long_description=long_description, From 415fdfcc11f249afee0df8c600bf7aa1f3b1d0b4 Mon Sep 17 00:00:00 2001 From: Kodi Arfer Date: Thu, 15 Jun 2017 11:52:00 -0700 Subject: [PATCH 3/3] Punctuate NEWS more consistently --- NEWS | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/NEWS b/NEWS index 763d680..35d4bff 100644 --- a/NEWS +++ b/NEWS @@ -26,23 +26,23 @@ Changes from 0.12.1 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 + * `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 + * `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 + * `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. + 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 @@ -50,7 +50,7 @@ Changes from 0.12.1 [ Misc. Improvements ] * New contrib module `hy-repr` - * Added a command-line option --repl-output-fn + * Added a command-line option `--repl-output-fn` Changes from 0.12.0