minor hacks
This commit is contained in:
parent
90446be352
commit
e569b7f5aa
@ -54,6 +54,7 @@ class MetaLoader(HyFinder):
|
|||||||
|
|
||||||
mod.__file__ = pth
|
mod.__file__ = pth
|
||||||
mod.__loader__ = self
|
mod.__loader__ = self
|
||||||
|
mod.__name__ = fullname
|
||||||
|
|
||||||
if ispkg:
|
if ispkg:
|
||||||
mod.__path__ = []
|
mod.__path__ = []
|
||||||
|
@ -29,6 +29,7 @@ def _resolve_atom(value, self):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
# LISP Variants have a tendency to use "-" in symbols n' shit.
|
# LISP Variants have a tendency to use "-" in symbols n' shit.
|
||||||
|
if value != "-": # we need subtraction
|
||||||
value = value.replace("-", "_")
|
value = value.replace("-", "_")
|
||||||
|
|
||||||
return _mangle(HYSymbol(value))
|
return _mangle(HYSymbol(value))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user