Berker Peksag
c51e44d564
Merge pull request #726 from kirbyfan64/travis3
...
Fix Travis with PyPy (again)
2014-12-19 03:53:31 +02:00
Ryan Gonzalez
1cd7904754
Fix Travis with PyPy (again)
2014-12-18 12:49:53 -06:00
Berker Peksag
e3aac14cf9
Merge pull request #715 from ALSchwalm/master
...
Fix error when 'let' context contains a non-symbol non-list
2014-12-18 10:48:51 +02:00
Adam Schwalm
52334c0b62
Fix error when 'let' context contains a non-symbol non-list
2014-12-18 02:15:41 -06:00
unmerged
41e5175781
Added nonlocal
keyword for python3.
2014-12-14 23:14:19 +03:00
unmerged
cfa805c102
global
now takes multiple arguments.
2014-12-14 23:13:44 +03:00
Berker Peksag
b35fd7d5da
Merge pull request #717 from algernon/f/defn-better-errors
...
Better error messages for fn/defn w/o arglists
2014-12-12 19:25:42 +02:00
Gergely Nagy
6b3c552df4
Better error messages for fn/defn w/o arglists
...
When (fn) or (defn) does not get an arglist as first/second parameter,
emit a more descriptive error message, rather than an ugly traceback.
Fixes #716 .
Reported-by: Joakim Tall
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
2014-12-12 13:28:28 +01:00
Morten Linderud
e56a8d86aa
Merge pull request #711 from berkerpeksag/update-travis
...
Remove branches configuration from .travis.yml.
2014-12-11 22:50:02 +01:00
Berker Peksag
36f64b822b
Remove branches configuration from .travis.yml.
...
"debian" branch has been already deleted.
2014-12-10 19:08:22 +02:00
Morten Linderud
2bf723a5d1
Merge pull request #708 from iKevinY/readme-changes
...
Various changes to README.
2014-12-08 17:10:51 +01:00
Kevin Yap
50363e04f5
Miscellaneous changes to README
...
- Updated badges to utilize Shields
- Added alt-text to images
- Changed version/downloads badges to link to PyPI
- Use Markdown list to enumerate Hylarious Hacks
2014-12-08 07:38:13 -08:00
Paul Tagliamonte
0dfa9123a2
Merge branch 'master' into pr/705
2014-12-07 14:21:06 -05:00
Paul Tagliamonte
65f1434fc6
Merge branch 'master' into pr/706
2014-12-07 14:19:38 -05:00
Bob Tolbert
ffd85bcc3e
Fixes a long-standing bug in import under Python 3.3 and later.
...
Our MetaImporter was being inserted at the end of sys.meta_path.
For Python prior to 3.3, this was fine since sys.meta_path
was empty by default. As of the completion of PEP 302 in Py3.3 and
later, there are several importers registered by default. One of
these was trying (and failing) to import simple Hy modules,
resulting in a failure to import anything inside __init__.hy.
This change simply inserts the Hy-specific importer at the front
of the list.
This was noted in issue #620 (great catch @algernon)
2014-12-07 11:02:48 -07:00
Bob Tolbert
54ce193c41
Merge pull request #702 from berkerpeksag/add-clint
...
Add clint as a dependency.
2014-12-07 10:58:30 -07:00
Morten Linderud
bba4a63d55
Merge pull request #701 from berkerpeksag/remove-3.2
...
Remove Python 3.2 from classifiers.
2014-12-07 17:35:34 +01:00
Berker Peksag
cd93c0b03e
Merge pull request #704 from iKevinY/doc-changes
...
Fixes to documentation (language & contributor modules)
2014-12-07 12:36:58 +02:00
Kevin Yap
8c0ac0862f
Adhere to CPython's documentation guidelines
...
- Inline code is written using ``double backticks``
- Italicized text uses *asterisks* rather than `single backticks`
- Function parameters are italicized rather than written as inline code
2014-12-07 02:09:43 -08:00
Kevin Yap
d50485710c
Change documentation code block language to Hy
2014-12-07 02:03:35 -08:00
Nathan Woodrow
41806895b2
Add macro expansion in defclass
2014-12-07 11:52:09 +10:00
Kevin Yap
d657e5eb2d
Fixes to contributor module documentation
...
- Changed "Contrib" to "Contributor"
- Fixed mismatched inline code in list* usage
- Added missing hyperlink targets
2014-12-06 15:47:01 -08:00
Kevin Yap
997501bcc4
Fixes to language documentation
...
- Use backticks consistently for inline code
- Capitalize section headers and proper nouns
- Minor grammatical fixes
2014-12-06 15:46:44 -08:00
Berker Peksag
94362e903d
Add clint as a dependency.
...
Since clint 0.3, it supports Python 3.
2014-12-06 21:15:59 +02:00
Berker Peksag
5004e754d3
Remove Python 3.2 from classifiers.
2014-12-06 21:06:11 +02:00
Bob Tolbert
c5e2fd955f
Merge pull request #694 from michaelmaltese/patch-1
...
HyMacroExpansionError shouldn't truncate message
2014-12-06 10:18:30 -07:00
Berker Peksag
5034b5a918
Tweak Python interop section a bit.
2014-12-06 18:10:35 +02:00
Berker Peksag
840eff8777
Merge branch 'master' of https://github.com/Tritlo/hy into Tritlo-master
2014-12-06 18:06:29 +02:00
Berker Peksag
b78f0e3b79
Update Ed's email address.
2014-12-06 18:02:22 +02:00
Matthías Páll Gissurarson
f64df2baef
Added @Tritlo to Authors
2014-12-06 12:51:16 +00:00
Matthías Páll Gissurarson
ddc56a1e78
Added explanation on Hy <-> Python interop
2014-12-06 12:51:16 +00:00
Berker Peksag
7d0fe31ebe
Add @iKevinY to AUTHORS.
2014-12-06 10:23:54 +02:00
Berker Peksag
cebafeaadd
Merge pull request #699 from iKevinY/doc-fixes
...
Various changes to documentation pages
2014-12-06 10:22:36 +02:00
Kevin Yap
3e0ea7a131
Various changes to documentation pages
...
- Standardized capitalization of Hy, Lisp(s), and Python.
- Added periods to the end of list items.
- Use inline code blocks for inline code.
- Stripped trailing whitespace.
- Other miscellaneous grammatical changes.
2014-12-05 23:15:48 -08:00
Berker Peksag
74a8ead6dc
Add @Singletoned to AUTHORS.
2014-12-05 17:47:10 +02:00
Berker Peksag
0998a5fd1f
Merge pull request #698 from algernon/h/docs/no-lambdalistkeywords
...
docs: Drop the HyLambdaListKeyword docs
2014-12-05 17:33:18 +02:00
Gergely Nagy
684dc51ead
docs: Drop the HyLambdaListKeyword docs
...
HyLambdaListKeyword was removed a while ago, drop its documentation too.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
2014-12-05 16:23:03 +01:00
Berker Peksag
0110b9481f
Merge pull request #697 from Singletoned/master
...
Typo fix in docs
2014-12-05 17:17:50 +02:00
Ed Singleton
aa8f6a2ca1
Typo fix in docs
2014-12-05 15:07:44 +00:00
Michael Maltese
6e61f04e46
HyMacroExpansionError shouldn't truncate message
...
For example:
```
$ hy
hy 0.10.1 using CPython(default) 2.7.8 on Darwin
=> (defmacro hi [] (raise (TypeError "This message will be truncated")))
=> (hi)
File "<input>", line 1, column 1
(hi)
^--^
HyMacroExpansionError: `hi' message will be truncated
````
2014-11-27 15:29:34 -08:00
Berker Peksag
2fd9c91cd3
Merge pull request #693 from rwtolbert/features/run_module_as_main
...
Implement -m command line flag to run a module by name
2014-11-26 18:31:26 +02:00
Bob Tolbert
05574f6ad7
Implement -m command line flag to run a module by name
2014-11-26 09:13:45 -07:00
Paul Tagliamonte
49073b8810
update my email
2014-11-22 10:28:31 -05:00
Paul Tagliamonte
19c8af440f
Forgot to undo the second tianon. Whoops.
2014-11-20 22:04:41 -05:00
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