Commit Graph

2808 Commits

Author SHA1 Message Date
Kodi Arfer
deb801edab Preserve .brackets in quoted HyStrings 2017-09-08 11:27:34 -07:00
Kodi Arfer
eb23ddc1e2 Add #[DELIM[ … ]DELIM] syntax for string literals 2017-09-08 11:27:34 -07:00
Kodi Arfer
0a633d8024 Correct a ReST syntax typo 2017-09-08 11:27:34 -07:00
gilch
af8d209496 update docs for new hy model reprs 2017-09-08 10:59:57 -07:00
gilch
b23f6e5b59 test hy model reprs 2017-09-08 10:54:24 -07:00
gilch
2d8a318e0c color compound hy model reprs 2017-09-07 11:50:22 -07:00
gilch
021204af13 make HyCons __repr__ iterative 2017-09-07 11:50:22 -07:00
gilch
860431b2a5 make HyCons repr indented and multi-line 2017-09-07 11:50:22 -07:00
gilch
7674bf3267 proper reprs for Hy models 2017-09-07 11:50:16 -07:00
Ryan Gonzalez
51fb807cc9 Merge pull request #1408 from gilch/winpytest
fix testing for windows
2017-09-05 16:10:45 -05:00
gilch
20516cce79 make native tests run on Windows too 2017-09-05 13:35:28 -06:00
gilch
50c21ca38c disable Popen shell option in test_bin.py
Fix failing tests from #1289 caused by bad quoting for Windows shell
Improve test_bin_hy_builtins and warn that it fails from IPython.
2017-09-05 13:35:22 -06:00
Ryan Gonzalez
c69f8ebb79 Merge pull request #1404 from Kodiologist/unicode_literals
Simplify string parsing with `unicode_literals`
2017-08-29 18:22:02 -05:00
Ryan Gonzalez
4b2cc5f297 Merge pull request #1403 from Kodiologist/exceptional-output-fn
Catch exceptions raised by HyREPL.output_fn
2017-08-29 18:20:00 -05:00
Kodi Arfer
e3e7fa8ce6 Catch exceptions raised by HyREPL.output_fn 2017-08-29 14:54:26 -07:00
Kodi Arfer
98fb33d0a3 Simplify string parsing with unicode_literals
I switched from `ast.literal_eval` back to `eval` because the former doesn't respect `unicode_literals`.
2017-08-28 10:28:19 -07:00
Kodi Arfer
3db13ec71f Merge pull request #1386 from freezas/master
Tutorial in Python3
2017-08-27 14:25:59 -07:00
Zaheer Soebhan
2227a0332f Update AUTHORS 2017-08-27 14:18:01 -07:00
Zaheer Soebhan
9afb196c8b Change the examples in the tutorial to Python 3 2017-08-27 14:17:07 -07:00
gilch
63958403b4 Merge pull request #1384 from Kodiologist/test-pypy3
Test PyPy3 on Travis
2017-08-26 23:46:30 -06:00
Kodi Arfer
12ba5cc44f Test PyPy3 in Tox 2017-08-26 21:58:17 -07:00
Kodi Arfer
02881cf813 Test PyPy3 on Travis 2017-08-26 21:57:43 -07:00
Kodi Arfer
55a8e8e452 Require a sufficiently recent version of pytest 2017-08-26 21:57:43 -07:00
gilch
1dff8811df Merge pull request #1401 from Kodiologist/no-py3.3
Drop support for Python 3.3
2017-08-26 16:00:10 -06:00
Kodi Arfer
0fc96306bc Drop support for Python 3.3 2017-08-26 13:36:51 -07:00
Ryan Gonzalez
98645aa9b2 Merge pull request #1400 from Kodiologist/nullary-break-continue
Forbid arguments to `break` and `continue`
2017-08-26 15:18:36 -05:00
Kodi Arfer
7ed31a18f3 Forbid arguments to break and continue 2017-08-26 11:37:15 -07:00
Kodi Arfer
d03b1be686 Merge pull request #1388 from Kodiologist/macroexpand-named-import
Un-xfail a passing test of `macroexpand`
2017-08-25 15:34:06 -07:00
Kodi Arfer
8b677bb20c Un-xfail a passing test of macroexpand
It seems that #1374 (1faee7ac39) fixed this bug.
2017-08-25 15:25:06 -07:00
gilch
914e399f69 Merge pull request #1378 from Kodiologist/assoc-as-macro
Make `assoc` a macro instead of a special form
2017-08-25 13:23:45 -06:00
Kodi Arfer
2bbf886ceb Make assoc a macro instead of a special form
The new macro evaluates its lvalue only once.
2017-08-25 11:41:28 -07:00
Kodi Arfer
062e24d71f Merge pull request #1387 from Kodiologist/return-docs
Update NEWS and docs for `return`
2017-08-20 12:42:17 -07:00
Kodi Arfer
cebb820b6c Update NEWS and docs for return 2017-08-20 08:45:17 -07:00
Ryan Gonzalez
dea99c8b76 Merge pull request #1354 from gilch/comment-discard
add #_ discard syntax
2017-08-19 11:29:57 -05:00
Kodi Arfer
e8d7a6bc37 Merge pull request #1338 from Kodiologist/with-tempvar
Initialize the return variable of `with`
2017-08-19 07:36:17 -07:00
Kodi Arfer
8d40a68232 Initialize the return variable of with 2017-08-19 07:35:41 -07:00
Kodi Arfer
f5ee5f4ee5 Whitespace fix 2017-08-19 07:25:00 -07:00
Kodi Arfer
2ef9bc75d4 Clean up with 2017-08-19 07:25:00 -07:00
Tuukka Turto
b99460b632 Merge pull request #1380 from Kodiologist/return
Add `return` as a special form
2017-08-19 14:08:34 +03:00
Kodi Arfer
21ea36f277 Add return as a special form 2017-08-11 13:56:44 -07:00
Kodi Arfer
cca8beea44 Fix the grammar of an error message 2017-08-11 10:49:32 -07:00
Ryan Gonzalez
1faee7ac39 Merge pull request #1374 from schaefed/macrotry
Fixes #1350: try form in defmacro
2017-08-10 22:00:07 -05:00
David Schaefer
969fa8d533 Fixes #1350: try form in defmacro 2017-08-11 01:21:01 +02:00
Ryan Gonzalez
26a4263579 Merge pull request #1377 from schaefed/hycomplex
Fix copy behaviour of HyComplex
2017-08-09 20:56:05 -05:00
David Schaefer
274f5e9002 Fix copy behaviour of HyComplex 2017-08-09 23:30:16 +02:00
Kodi Arfer
7e5d4830eb Merge pull request #1373 from ChefAndy/master
hy/completer.py:27 docomplete truth check
2017-08-07 10:39:17 -07:00
Andrew Silva
1f8c82ae76 Added Andrew Silva to AUTHORS 2017-08-07 13:28:07 -04:00
Andrew Silva
c4f183f97c Added docomplete truth check on hy/completer.py:27
Without the check, the next line will reference readline even if the
library was not successfully loaded.
2017-08-07 13:25:58 -04:00
Kodi Arfer
bb00515ae7 Merge pull request #1368 from Kodiologist/hacking-link
Link to "Hacking on Hy" in the README
2017-08-06 07:39:52 -07:00
Kodi Arfer
9416674ad8 Link to "Hacking on Hy" in the README 2017-08-06 07:39:13 -07:00