minor hacks

This commit is contained in:
Paul Tagliamonte 2013-01-04 19:49:33 -05:00
parent 90446be352
commit e569b7f5aa
2 changed files with 3 additions and 1 deletions

View File

@ -54,6 +54,7 @@ class MetaLoader(HyFinder):
mod.__file__ = pth
mod.__loader__ = self
mod.__name__ = fullname
if ispkg:
mod.__path__ = []

View File

@ -29,7 +29,8 @@ def _resolve_atom(value, self):
pass
# LISP Variants have a tendency to use "-" in symbols n' shit.
value = value.replace("-", "_")
if value != "-": # we need subtraction
value = value.replace("-", "_")
return _mangle(HYSymbol(value))