Commit Graph

1482 Commits

Author SHA1 Message Date
Christopher Allan Webber
917ba9fce5 Test to ensure exception handling in yield-from works right 2014-11-20 20:48:15 -06:00
Christopher Allan Webber
86d8f69ef7 Fix yield-from test indentation
Indentation was inconsistent with our usual indentation style.
2014-11-20 20:48:15 -06:00
Paul Tagliamonte
602f392fe7 Implement yield-from in Python 2.x as a macro
And who said you can't teach an old dog new tricks.

  ... but at the same time, drop Python 3.2 for not knowing this new
  trick.
2014-11-20 20:48:15 -06:00
Paul Tagliamonte
703005f9d9 I also missed Tianon Gravi <admwiggin@gmail.com> // @tianon 2014-11-15 13:33:02 -05:00
Paul Tagliamonte
b92c19c73c Merge branch 'master' into pr/579 2014-11-15 08:02:41 -05:00
Paul Tagliamonte
ec593154fe Merge branch 'master' into pr/637
Conflicts:
	hy/core/language.hy
2014-11-15 07:58:56 -05:00
Paul Tagliamonte
6d25237093 Merge branch 'master' into pr/658 2014-11-15 07:54:24 -05:00
Paul Tagliamonte
b8f5fbc43b Add in Alexander Artemenko to authors. 2014-11-15 07:54:01 -05:00
Paul Tagliamonte
bb8b93dbde Move reformat-changelog into scripts. 2014-11-15 07:52:20 -05:00
Paul Tagliamonte
79b4456119 Merge branch 'master' into pr/666 2014-11-15 07:51:58 -05:00
Paul Tagliamonte
6995a5aece Merge branch 'master' into pr/661
Conflicts:
	AUTHORS
2014-11-15 07:49:20 -05:00
Paul Tagliamonte
dcf29d3d2a Fix the test decorator to return the class. 2014-11-15 07:47:55 -05:00
Paul Tagliamonte
408f72ef12 Merge branch 'master' into pr/685 2014-11-15 07:45:29 -05:00
Ryan Gonzalez
c7e4d4cd6e Add tests 2014-11-14 14:21:16 -06:00
Ryan Gonzalez
c9362d39c1 Fix #684 2014-11-13 17:49:17 -06:00
Tianon Gravi
96410f506e Add a dedicated lisp-if-not / lif-not macro
This is in parallel to `if` / `if-not` (so not without precedent). :)
2014-11-06 12:44:15 -07:00
Ryan Gonzalez
c88e75251c Fix Travis failures 2014-11-05 21:01:10 -06:00
Ryan Gonzalez
a6d9a963b5 Fix flake8 errors 2014-11-01 16:07:39 -05:00
Ryan Gonzalez
d01b6bbacc Fix Python 3 re-raising 2014-11-01 15:00:41 -05:00
Paul Tagliamonte
f5f4384722 Another typo. Don't be a release manager in the morning 2014-10-10 09:53:33 -04:00
Paul Tagliamonte
75adfb93d6 Damnit @tianon 2014-10-10 09:52:44 -04:00
Paul Tagliamonte
ecc003b434 0.10.1 2014-10-10 09:45:31 -04:00
Paul Tagliamonte
0a8fc0ebb7 Add in NEWS for 0.10.1 2014-10-10 09:45:07 -04:00
Abhishek Lekshmanan
1b6c765e97 Merge branch master onto #525
Conflicts:
	hy/core/language.hy
	tests/native_tests/language.hy
2014-10-09 21:28:33 +05:30
Berker Peksag
78131a9d12 Add @bismigalis to AUTHORS. 2014-10-09 03:00:08 +03:00
Berker Peksag
377c3ec5ee Update versionadded directive for merge-with. 2014-10-09 02:58:42 +03:00
Berker Peksag
5f5562670d Merge pull request #667 from bismigalis/merge-with
Added merge-with
2014-10-09 02:56:46 +03:00
Berker Peksag
8a339f0452 Merge pull request #669 from tianon/dockerignore
Add initial .dockerignore file
2014-10-07 03:59:24 +03:00
Tianon Gravi
0041d508e8 Add initial .dockerignore file
This avoids adding ".git" to the Docker image, which speeds up the initial "uploading context" phase and helps slim the image a small amount (since ".git" of Hy itself isn't necessary for using Hy).
2014-10-06 13:37:51 -06:00
bismigalis
76d7e3479a Added merge-with 2014-10-02 18:50:04 +04:00
Alexander Artemenko
8ba547c4cf Added command-line utility which takes current NEWS changelog and reformats it in debian style. 2014-09-30 22:07:34 +04:00
Ian Denhardt
3503ed9027 Add tests for _wrap_value 2014-09-21 12:08:14 -04:00
Ian Denhardt
ca255a86af Add @zenhack 2014-09-21 11:40:23 -04:00
Ian Denhardt
4d2aad1b0f Call _wrap_value recursively on HyExpressions.
Without this, cases like:

    (defmacro foo [] `(~0))
    (foo)

throw exceptions, because the embedded zero is not a HyObject.
2014-09-21 11:36:40 -04:00
Berker Peksag
28c046c180 Merge pull request #655 from Foxboron/fix-defmulti-docs
Fixed defmulti example to be streamlined
2014-09-08 18:05:01 +03:00
Foxboron
89dec9ef44 Fixed example to be streamlined 2014-09-08 16:57:52 +02:00
Berker Peksag
38b9ae61b5 Merge pull request #654 from Foxboron/mailmap-fox
Swapped mails
2014-09-08 16:09:40 +03:00
Foxboron
2d60aa6781 added new mail 2014-09-08 14:56:04 +02:00
Paul Tagliamonte
e3646bb874 add @microamp 2014-09-06 08:49:05 -04:00
Berker Peksag
41c4f1a781 Merge pull request #651 from theanalyst/fix/authors
fix @kirbyfan64's name in AUTHORS
2014-09-05 16:25:24 +03:00
Abhishek Lekshmanan
4a4bfd8699 fix @kirbyfan64's name in AUTHORS 2014-09-05 18:27:20 +05:30
Berker Peksag
c0ea1308bf Merge pull request #623 from algernon/f/botsbuildbots
Add a `Botsbuildbots` function
2014-09-05 14:01:22 +03:00
Gergely Nagy
3f01ed5014 Add a Botsbuildbots function
A tribute to Portal 2, this function will return an infinite list of the
contents of the AUTHORS file on GitHub master (assuming requests is
installed). Except, the macro does this, the function never gets called,
it is purely there for tribute reasons.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
2014-09-05 12:37:51 +02:00
Abhishek L
1c1df745c4 Merge pull request #649 from microamp/issue-644
Merge master onto pr/649
2014-09-04 17:47:32 +05:30
han semaj
99db02668b Fix 'some' (first logical true value or nil) 2014-09-04 21:29:38 +12:00
J Kenneth King
c52cff8245 Merge pull request #648 from Foxboron/rename-slot-attr
Rename slots to attribute/attr
2014-09-03 19:18:51 -04:00
Foxboron
66e3cdcb99 Rename slots to attribute/attr 2014-09-04 00:06:52 +02:00
Morten Linderud
bc0ef3ea14 Merge pull request #641 from microamp/issue-638
Fix #638: Make nth return default value when out of bounds
2014-09-03 14:28:01 +02:00
han semaj
6ca47df34c Include optional arg in docs (nth) 2014-09-03 20:53:28 +12:00
Berker Peksag
adc56d69e7 Merge pull request #645 from Foxboron/read-doc-fix
Fixed (read) docs as mentioned inn #641
2014-09-03 07:26:34 +03:00