Avoiding breaking PyPy. Wat.
This commit is contained in:
parent
d25d354281
commit
f6b94b1b40
@ -964,7 +964,10 @@ def hy_compile(tree, root=None):
|
|||||||
HySymbol("import_from"),
|
HySymbol("import_from"),
|
||||||
HySymbol(package),
|
HySymbol(package),
|
||||||
HySymbol(entry)
|
HySymbol(entry)
|
||||||
]).replace(form))
|
]).replace(tree[0])) # form))
|
||||||
|
# using form causes pypy to blow up; let's conditionally
|
||||||
|
# add this for cpython or something. Muhahaha. - PRT
|
||||||
|
|
||||||
_ast = compiler.compile(imports) + _ast
|
_ast = compiler.compile(imports) + _ast
|
||||||
|
|
||||||
ret = tlo(body=_ast)
|
ret = tlo(body=_ast)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user