Commit Graph

2177 Commits

Author SHA1 Message Date
Ryan Gonzalez
77d922c592 Merge pull request #1122 from Kodiologist/hyset-fixes
Don't sort or deduplicate the items in a HySet
2016-09-27 13:32:25 -05:00
Kodi Arfer
0880610401 Don't sort or deduplicate the items in a HySet
Fixes #1120.

I also added hy.models._wrapper[set] so a macro can return an ordinary set in place of a HySet.
2016-09-26 09:47:04 -07:00
gilch
399d2bcf21 clarify documentation of import (#1121)
* clarify documentation of import

Add a comment showing the equivalent python of the long example, and demonstrate how to get `from` and `as` on the same line.

* add python example comment in last import example
2016-09-25 21:29:53 -06:00
gilch
1d3142c8de change quickstart install from PyPI to GitHub (#1116)
* change Quickstart install from PyPI to GitHub
2016-09-24 15:54:32 -06:00
gilch
f8fc1fb71b Merge pull request #1113 from zackmdavis/travis_by_night
nightly Python on Travis CI??
2016-09-24 11:48:47 -06:00
Zack M. Davis
d4494151f4 experiment: can we convince Travis CI to test with nightly Python?
The docs say that "nightly" is supported, but it's less clear exactly
what our .travis.yml should say to make this happen.
2016-09-22 23:24:14 -07:00
gilch
595e62a89a Merge pull request #1110 from Kodiologist/unary-plus-pos
Make unary + call __pos__
2016-09-22 18:16:57 -06:00
Jakukyo Friel
d81b71f242 Doc: CLI: mention --spy only works in REPL mode. (#1097) 2016-09-22 15:20:26 +03:00
Zack M. Davis
53353c58f2 fix Hy on recent Pythons
In issue #1111, @tianon reported that Hy didn't work with Python
3.6.0b1: trying to evaluate a simple expression at the REPL blew up with
`TypeError: required field "is_async" missing from comprehension`. This
was due to a grammar
change (https://www.python.org/dev/peps/pep-0530/#grammar-updates) in
the implementation (https://hg.python.org/cpython/rev/cf91a929b81a) of
PEP 530, which we can easily accomodate.
2016-09-21 22:05:53 -07:00
Jakukyo Friel
35de998871 Docs: Fix rst markup in docs/contrib/loop.rst. (#1098)
In RestrutruedText, double backtick quotes (instead of single
backtick quotes in markdown) are used for code span.
2016-09-22 03:33:32 +03:00
Jakukyo Friel
4db667322c Doc: Fix typo (missing quote) (#1096) 2016-09-22 03:32:35 +03:00
Kodi Arfer
a60b749d3e Make unary + call __pos__
Fixes #1109.

__pos__ doesn't work on strings, lists, or tuples, so I've removed some tests that required (= (+ "a") "a") etc.
2016-09-20 13:05:52 -07:00
Jakub Wilk
b94211251c Use HTTPS for Wikipedia URLs 2016-09-04 22:35:46 +02:00
Zack M. Davis
20c2cfb0b1 merge remote-tracking branch 'shellhead/walk-doc' 2016-08-21 15:08:48 -07:00
Michael Hunsinger
6a452d70a4 Added documentation for walk, postwalk and prewalk 2016-08-20 02:35:02 -06:00
Pierre-Yves
f1684e6306 Add doc and related link to good-first-bug tag (#1086)
Fixes #1031
2016-08-07 04:25:07 +03:00
Matthew Egan Odendahl
3e0d2ac08a Merge pull request #960 from kirbyfan64/kwonly_err
Give an error when &kwonly, &key or &kwargs is used in a macro definition
2016-07-07 10:43:05 -06:00
Ryan Gonzalez
d384580de1 Disallow &key in macros 2016-07-07 11:24:04 -05:00
Vinh Tu
6dc12dd703 Add import_file_to_globals for use in emacs inferior lisp mode 2016-07-01 23:27:36 +01:00
Paul Tagliamonte
1962826c1c Merge pull request #1080 from jwilk/spelling
Fix typos
2016-07-01 10:56:56 -04:00
Jakub Wilk
ff4ba5b103 Fix typos 2016-07-01 16:44:12 +02:00
John Clover
93a66c7d5e Remove redundant word (#1077)
_a_ or _some_ would work here, I opted to keep _a_
2016-06-24 15:24:20 -07:00
Matthew Egan Odendahl
e0ecaca315 Clarify as-> docstring 2016-06-19 21:14:16 -06:00
Ryan Gonzalez
1b8a70ed5c Merge pull request #1074 from jwilk/spelling
Fix typo
2016-06-10 18:23:10 -05:00
Jakub Wilk
313dff5548 Fix typo 2016-06-11 01:04:07 +02:00
Jakub Wilk
c96d911ee7 Fix typo (#1073) 2016-06-07 15:45:12 -07:00
Paul Tagliamonte
b6bce65d47 Merge pull request #1067 from tianon/jwilk
Add Jakub Wilk to AUTHORS
2016-05-17 10:01:22 -04:00
Tianon Gravi
8e8b12fd8e Add Jakub Wilk to AUTHORS 2016-05-16 14:57:56 -07:00
Zack M. Davis
005a8cd005 merge remote-tracking branch 'jwilk/readthedocs-urls' 2016-05-15 12:57:53 -07:00
Jakub Wilk
c6ad179bbb Use HTTPS for *.readthedocs.io 2016-05-15 15:28:23 +02:00
Jakub Wilk
35ea55caaf Update readthedocs domains
From the announcement <http://blog.readthedocs.com/securing-subdomains/>:

> Starting today, Read the Docs will start hosting projects from
> subdomains on the domain readthedocs.io, instead of on readthedocs.org.
[...]
> Projects will automatically be redirected, and this redirect will
> remain in place for the foreseeable future. Still, you should plan on
> updating links to your documentation after the new domain goes live.
2016-05-15 15:27:59 +02:00
Matthew Egan Odendahl
d1fd483e59 minor doc fix 2016-05-12 16:41:26 -06:00
Abhishek L
fb9a97a7e5 Merge pull request #1059 from kadamwhite/patch-1
Include original XKCD title text in comic image
2016-05-09 22:31:51 +02:00
K.Adam White
02d5b0ccf7 Include original XKCD title text in comic image
When I see an XKCD comic, or an adaptation thereof, my first instinct is to look for title text. Not finding any, this proposes adding the original title text back in; if a good Hy-specific adaptation is proposed that'd be even better.

And no, this isn't important :)
2016-05-09 13:58:43 -04:00
Tuukka Turto
0ef9e9ef3b Modify multimethods to use dispatching function 2016-04-16 13:43:13 +03:00
Matthew Egan Odendahl
7e13bb4e5f add as-> macro 2016-04-15 20:33:42 -06:00
Matthew Egan Odendahl
d91dbd19f8 Merge pull request #1 from hylang/master
update from upstream
2016-04-15 20:32:19 -06:00
Ryan Gonzalez
a0251a25ed Merge pull request #1003 from algernon/f/defreader-1-string
defreader: Allow strings as macro names
2016-04-14 12:13:00 -05:00
Matthew Egan Odendahl
eba8e0771a Merge pull request #1015 from kirbyfan64/pypy_lineno
Remove PyPy line number hack (closes #977)
2016-04-13 12:53:16 -06:00
Ryan Gonzalez
6e66edd7a0 Remove PyPy line number hack (closes #977) 2016-04-11 11:18:46 -05:00
timmartin
9d6e04fab0 Keyword arguments to functions are required to be strings (#1023)
See discussion in #961
2016-04-11 18:38:13 +03:00
Zack M. Davis
86db5e33ff merge remote-tracking branch 'lunacodes/contrib-issues' 2016-04-07 21:39:08 -07:00
Luna Lunapiena
118ab9528c Add Luna Lunapiena to AUTHORS 2016-04-07 19:37:25 -04:00
Luna Lunapiena
a820d8ee39 Add links for Fork A Repo and Git Guide in CONTRIBUTING.rst 2016-04-07 19:37:06 -04:00
Ryan Gonzalez
22ddeba4b0 Merge pull request #1038 from levthedev/patch-1
Update AUTHORS
2016-04-04 12:19:29 -05:00
Lev Kravinsky
c069972e05 Update AUTHORS 2016-04-04 12:55:12 -04:00
Paul Tagliamonte
2caf0cc108 Merge pull request #1037 from levthedev/add_irc
add IRC info in readme
2016-03-31 16:11:11 -04:00
Lev Kravinsky
3de09a4039 add IRC info in readme 2016-03-31 16:03:00 -04:00
Ryan Gonzalez
bac2bcfc2e Merge pull request #1034 from tuturto/contributing-docs
Mention that issue isn't necessarily needed for PR
2016-03-31 11:02:15 -05:00
Tuukka Turto
7ff2d34542 Reword guideline for opening issue before PR 2016-03-30 07:23:27 +03:00