hy/tests
Allison Kaptur 3f9ae9122e Raise exceptions when no handlers are provided.
Also small DRYing in try handling.

Previously, writing a bare (try (foo)) would invoke Pokemon
exception catching (gotta catch 'em all) instead of the correct
behavior, which is to raise the exception if no handler is provided.

Note that this is a cute feature of Hy, as a `try` with no `except`
is a syntax error.  We avoid the syntax error here because we don't
use Python's compiler, which is the only thing that can throw
Syntax Errors.  :D

Fixes #555.
2014-04-28 03:08:30 +03:00
..
compilers Kill kwapply. 2014-04-09 20:10:31 +03:00
importer hy/compiler.py: import only handles HySymbol and HyList, bail on others 2014-02-11 17:29:50 +01:00
lex Add a cons object and related mechanisms 2014-01-23 23:08:52 +01:00
macros Hy reader macros #377 2013-12-23 14:33:51 +01:00
models Merge master onto pr/471 2014-01-30 21:50:23 +05:30
native_tests Raise exceptions when no handlers are provided. 2014-04-28 03:08:30 +03:00
resources Rewrite the bootstrap macros in hy 2013-09-29 18:13:28 +02:00
__init__.py Add Curry module. 2014-03-29 14:40:13 -04:00
test_bin.py Enabling hy2py test on Windows 2014-03-14 10:21:07 -04:00