def _reload_exprs_test(): # will need REVIEW when we have a new reloading system to replace heavy manual use of reload_once from exprs.reload import reload_once from exprs import test reload_once(test) return
from utilities.constants import noop # def noop(*args,**kws): pass from utilities.debug import print_compact_traceback, print_compact_stack, safe_repr from utilities.debug_prefs import debug_pref, Choice_boolean_False, Choice_boolean_True, Choice #070228 # consider also doing: import env as global_env [070313 suggestion] # == OpenGL imports -- for now, individual modules import things from submodules of OpenGL as needed; this might be revised from exprs.reload import reload_once # == low-level imports from this exprs package import exprs.py_utils reload_once(exprs.py_utils) #from py_utils import * # includes printnim, identity, seen_before from exprs.intern_ipath import intern_ipath # (it doesn't make sense to try to autoreload this module -- ###e it should say so in some attr) # == ExprsMeta #e and whatever it requires #from ExprsMeta import * ###e can this support autoreload?? ###e note -- this imports a few other modules - list those here ##doc from exprs.__Symbols__ import _self, _my # (__Symbols__ module doesn't support reload) # warning: not included in "import *" # _this is imported below from somewhere else -- since it's not a Symbol! Maybe __Symbols__ should warn if we ask for it. #e from exprs.__Symbols__ import _app # not included in import * [070108 in test.py, moved here 070122] # == fundamental defs
from utilities.debug import print_compact_traceback, print_compact_stack, safe_repr from utilities.debug_prefs import debug_pref, Choice_boolean_False, Choice_boolean_True, Choice #070228 # consider also doing: import env as global_env [070313 suggestion] # == OpenGL imports -- for now, individual modules import things from submodules of OpenGL as needed; this might be revised from exprs.reload import reload_once # == low-level imports from this exprs package import exprs.py_utils reload_once(exprs.py_utils) #from py_utils import * # includes printnim, identity, seen_before from exprs.intern_ipath import intern_ipath # (it doesn't make sense to try to autoreload this module -- ###e it should say so in some attr) # == ExprsMeta #e and whatever it requires #from ExprsMeta import * ###e can this support autoreload?? ###e note -- this imports a few other modules - list those here ##doc from exprs.__Symbols__ import _self, _my # (__Symbols__ module doesn't support reload) # warning: not included in "import *" # _this is imported below from somewhere else -- since it's not a Symbol! Maybe __Symbols__ should warn if we ask for it. #e from exprs.__Symbols__ import _app # not included in import * [070108 in test.py, moved here 070122]