templates_dir and templates_dir can be a list

This commit is contained in:
Emmanuel Garette 2021-11-26 21:54:26 +01:00
parent c7de427475
commit a1c3b2b19c
268 changed files with 3193 additions and 2380 deletions

View File

@ -48,7 +48,7 @@ Pour pouvez changer le répertoire de destination de la DTD et le nom du fichier
### Le fichier de fonction ### Le fichier de fonction
Le fichier qui contient les fonctions personnalisés est géré dans la clef "functions_file" et a comme valeur par défaut "/srv/rougail/functions.py". Le fichier qui contient les fonctions personnalisés est géré dans la clef "functions_file" et a comme valeur par défaut "/srv/rougail/functions.py". Cette clef peut contenir une liste s'il y a plusieurs fichiers.
### La variable auto_freeze ### La variable auto_freeze
@ -77,7 +77,7 @@ Il est possible d'ajouter des fonctions interne via la clef "internal_functions"
### Le répertoire des templates ### Le répertoire des templates
Le répertoire des templates est géré dans la clef "templates_dir" et a comme valeur par défaut : "/srv/rougail/templates". Le répertoire des templates est géré dans la clef "templates_dir" et a comme valeur par défaut : "/srv/rougail/templates". Cette clef peut contenir une liste s'il y a plusieurs répertoires.
### Le répertoire des patchs ### Le répertoire des patchs

View File

@ -64,7 +64,10 @@ def get_annotators(annotators, module_name):
class SpaceAnnotator: # pylint: disable=R0903 class SpaceAnnotator: # pylint: disable=R0903
"""Transformations applied on a object instance """Transformations applied on a object instance
""" """
def __init__(self, objectspace, eosfunc_file): def __init__(self,
objectspace,
eosfunc_files,
):
global ANNOTATORS global ANNOTATORS
if ANNOTATORS is None: if ANNOTATORS is None:
ANNOTATORS = {} ANNOTATORS = {}
@ -78,8 +81,13 @@ class SpaceAnnotator: # pylint: disable=R0903
for extra_annotator in objectspace.rougailconfig['extra_annotators']: for extra_annotator in objectspace.rougailconfig['extra_annotators']:
annotators.extend(ANNOTATORS[extra_annotator]) annotators.extend(ANNOTATORS[extra_annotator])
annotators = sorted(annotators, key=get_level) annotators = sorted(annotators, key=get_level)
functions = []
for eosfunc_file in eosfunc_files:
functions.extend(dir(load_modules(eosfunc_file)))
for annotator in annotators: for annotator in annotators:
annotator(objectspace, eosfunc_file) annotator(objectspace,
functions,
)
__all__ = ('SpaceAnnotator', 'CONVERT_OPTION') __all__ = ('SpaceAnnotator', 'CONVERT_OPTION')

View File

@ -25,11 +25,11 @@ along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
""" """
from typing import List, Any from typing import List, Any
from copy import copy
from rougail.annotator.target import TargetAnnotator from rougail.annotator.target import TargetAnnotator
from rougail.annotator.param import ParamAnnotator from rougail.annotator.param import ParamAnnotator
from rougail.utils import load_modules
from rougail.i18n import _ from rougail.i18n import _
from rougail.error import DictConsistencyError, display_xmlfiles from rougail.error import DictConsistencyError, display_xmlfiles
@ -41,7 +41,7 @@ class Annotator(TargetAnnotator, ParamAnnotator):
level = 40 level = 40
def __init__(self, def __init__(self,
objectspace, objectspace,
eosfunc_file, functions,
*args, *args,
): ):
if not hasattr(objectspace.space, 'constraints') or \ if not hasattr(objectspace.space, 'constraints') or \
@ -50,7 +50,7 @@ class Annotator(TargetAnnotator, ParamAnnotator):
self.objectspace = objectspace self.objectspace = objectspace
self.let_none = True self.let_none = True
self.only_variable = True self.only_variable = True
self.functions = dir(load_modules(eosfunc_file)) self.functions = copy(functions)
self.functions.extend(INTERNAL_FUNCTIONS) self.functions.extend(INTERNAL_FUNCTIONS)
self.functions.extend(self.objectspace.rougailconfig['internal_functions']) self.functions.extend(self.objectspace.rougailconfig['internal_functions'])
self.target_is_uniq = False self.target_is_uniq = False

View File

@ -24,7 +24,7 @@ You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
""" """
from rougail.utils import load_modules from copy import copy
from rougail.i18n import _ from rougail.i18n import _
from rougail.error import DictConsistencyError from rougail.error import DictConsistencyError
@ -41,14 +41,14 @@ class Annotator(TargetAnnotator, ParamAnnotator):
level = 60 level = 60
def __init__(self, def __init__(self,
objectspace, objectspace,
eosfunc_file, functions,
*args, *args,
): ):
if not hasattr(objectspace.space, 'constraints') or \ if not hasattr(objectspace.space, 'constraints') or \
not hasattr(objectspace.space.constraints, 'fill'): not hasattr(objectspace.space.constraints, 'fill'):
return return
self.objectspace = objectspace self.objectspace = objectspace
self.functions = dir(load_modules(eosfunc_file)) self.functions = copy(functions)
self.functions.extend(self.objectspace.rougailconfig['internal_functions']) self.functions.extend(self.objectspace.rougailconfig['internal_functions'])
self.target_is_uniq = True self.target_is_uniq = True
self.only_variable = True self.only_variable = True

View File

@ -79,6 +79,8 @@ class RougailConvert:
extra_dir, extra_dir,
) )
functions_file = rougailconfig['functions_file'] functions_file = rougailconfig['functions_file']
if not isinstance(functions_file, list):
functions_file = [functions_file]
SpaceAnnotator(rougailobjspace, SpaceAnnotator(rougailobjspace,
functions_file, functions_file,
) )

View File

@ -211,12 +211,20 @@ class RougailBaseTemplate:
self.config = config self.config = config
self.destinations_dir = abspath(rougailconfig['destinations_dir']) self.destinations_dir = abspath(rougailconfig['destinations_dir'])
self.tmp_dir = abspath(rougailconfig['tmp_dir']) self.tmp_dir = abspath(rougailconfig['tmp_dir'])
self.templates_dir = abspath(rougailconfig['templates_dir']) self.templates_dir = []
templates_dir = rougailconfig['templates_dir']
if not isinstance(templates_dir, list):
templates_dir = [templates_dir]
for templ_dir in templates_dir:
self.templates_dir.append(abspath(templ_dir))
self.patches_dir = abspath(rougailconfig['patches_dir']) self.patches_dir = abspath(rougailconfig['patches_dir'])
eos = {} eos = {}
functions_file = rougailconfig['functions_file'] functions_file = rougailconfig['functions_file']
if isfile(functions_file): if not isinstance(functions_file, list):
eosfunc = load_modules(functions_file) functions_file = [functions_file]
for function in functions_file:
if isfile(function):
eosfunc = load_modules(function)
for func in dir(eosfunc): for func in dir(eosfunc):
if not func.startswith('_'): if not func.startswith('_'):
eos[func] = getattr(eosfunc, func) eos[func] = getattr(eosfunc, func)
@ -247,13 +255,14 @@ class RougailBaseTemplate:
def prepare_template(self, def prepare_template(self,
filename: str, filename: str,
templates_dir: str,
) -> None: ) -> None:
"""Prepare template source file """Prepare template source file
""" """
self.log.info(_("Copy template: '{filename}' -> '{self.tmp_dir}'")) self.log.info(_("Copy template: '{filename}' -> '{self.tmp_dir}'"))
if not isdir(self.tmp_dir): if not isdir(self.tmp_dir):
raise TemplateError(_(f'cannot find tmp_dir {self.tmp_dir}')) raise TemplateError(_(f'cannot find tmp_dir {self.tmp_dir}'))
copy(filename, self.tmp_dir) copy(join(templates_dir, filename), self.tmp_dir)
self.patch_template(filename) self.patch_template(filename)
def instance_file(self, def instance_file(self,
@ -312,7 +321,7 @@ class RougailBaseTemplate:
ori_dir = getcwd() ori_dir = getcwd()
except FileNotFoundError: except FileNotFoundError:
ori_dir = None ori_dir = None
chdir(self.templates_dir) chdir(self.tmp_dir)
for option in await self.config.option.list(type='all'): for option in await self.config.option.list(type='all'):
namespace = await option.option.name() namespace = await option.option.name()
is_variable_namespace = namespace == self.rougailconfig['variable_namespace'] is_variable_namespace = namespace == self.rougailconfig['variable_namespace']
@ -324,8 +333,11 @@ class RougailBaseTemplate:
is_variable_namespace, is_variable_namespace,
is_service_namespace, is_service_namespace,
) )
for template in listdir('.'): for templates_dir in self.templates_dir:
self.prepare_template(template) for template in listdir(templates_dir):
self.prepare_template(template,
templates_dir,
)
for included in (True, False): for included in (True, False):
for service_obj in await self.config.option('services').list('all'): for service_obj in await self.config.option('services').list('all'):
service_name = await service_obj.option.description() service_name = await service_obj.option.description()

View File

@ -51,20 +51,28 @@ class TiramisuReflector:
""" """
def __init__(self, def __init__(self,
objectspace, objectspace,
funcs_path, funcs_paths,
): ):
self.index = 0 self.index = 0
self.text = [] self.text = []
if funcs_path and isfile(funcs_path): if funcs_paths:
self.text.extend(["from importlib.machinery import SourceFileLoader", self.text.extend(["from importlib.machinery import SourceFileLoader as _SourceFileLoader",
"from importlib.util import spec_from_loader, module_from_spec", "from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec",
f"loader = SourceFileLoader('func', '{funcs_path}')", "class func:",
"spec = spec_from_loader(loader.name, loader)", " pass",
"func = module_from_spec(spec)", ])
"loader.exec_module(func)", for funcs_path in funcs_paths:
"for key, value in dict(locals()).items():", if not isfile(funcs_path):
" if key != ['SourceFileLoader', 'func']:", continue
" setattr(func, key, value)"]) self.text.extend([f"_loader = _SourceFileLoader('func', '{funcs_path}')",
"_spec = _spec_from_loader(_loader.name, _loader)",
"_func = _module_from_spec(_spec)",
"_loader.exec_module(_func)",
"for function in dir(_func):",
" if function.startswith('_'):",
" continue",
" setattr(func, function, getattr(_func, function))",
])
self.text.extend(["try:", self.text.extend(["try:",
" from tiramisu3 import *", " from tiramisu3 import *",
"except:", "except:",

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

View File

@ -1,12 +1,15 @@
from importlib.machinery import SourceFileLoader from importlib.machinery import SourceFileLoader as _SourceFileLoader
from importlib.util import spec_from_loader, module_from_spec from importlib.util import spec_from_loader as _spec_from_loader, module_from_spec as _module_from_spec
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py') class func:
spec = spec_from_loader(loader.name, loader) pass
func = module_from_spec(spec) _loader = _SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
loader.exec_module(func) _spec = _spec_from_loader(_loader.name, _loader)
for key, value in dict(locals()).items(): _func = _module_from_spec(_spec)
if key != ['SourceFileLoader', 'func']: _loader.exec_module(_func)
setattr(func, key, value) for function in dir(_func):
if function.startswith('_'):
continue
setattr(func, function, getattr(_func, function))
try: try:
from tiramisu3 import * from tiramisu3 import *
except: except:

Some files were not shown because too many files have changed in this diff Show More