- suppresses the warning about over.type

- makes sure traceback handler doesn't cause a crash itself
This commit is contained in:
Martinez 2017-02-16 12:50:07 +01:00
parent d0bac63fb3
commit 2dfa580c75
4 changed files with 67 additions and 70 deletions

View file

@ -19,6 +19,6 @@ print = text.Output("over.__init__", stream=sys.stderr)
core = aux.DeprecationForwarder(sys.modules[__name__], "over.core", "over")
textui = aux.DeprecationForwarder(text, "over.core.textui", "over.text")
for module in [types]:
if module.__file__[-2:] == "py":
print("<r>unable to load C implementation<.> of <c>%s<.>, falling back to pure Python instead" %(module.__name__), print.tl.warn)
#for module in [types]:
# if module.__file__[-2:] == "py":
# print("<r>unable to load C implementation<.> of <y>%s<.>, falling back to pure Python instead" %(module.__name__), print.tl.warn)