fee7d33184
Some valid-looking list comprehensions, such as (genexpr x []) can crash Python 2.7. The AST we generate from these cannot be expressed in Python, but were valid in Hy. Added two guards to guard against this, so we raise an error instead of crashing Python. Closes #572, #591 and #634. Signed-off-by: Gergely Nagy <algernon@madhouse-project.org> |
||
---|---|---|
.. | ||
native | ||
__init__.py | ||
test_ast.py | ||
test_compiler.py | ||
test_quoting.py |