remove 'imp' warning

This commit is contained in:
Emmanuel Garette 2020-12-22 17:22:56 +01:00
parent d18906e011
commit 7d42517430
171 changed files with 511 additions and 511 deletions

View file

@ -5,7 +5,7 @@ from typing import List
from collections import OrderedDict
from os.path import join, basename
from ast import literal_eval
import imp
from importlib.machinery import SourceFileLoader
from .i18n import _
@ -640,7 +640,7 @@ class ConstraintAnnotator:
if not hasattr(objectspace.space, 'constraints'):
return
self.objectspace = objectspace
eosfunc = imp.load_source('eosfunc', eosfunc_file)
eosfunc = SourceFileLoader('eosfunc', eosfunc_file).load_module()
self.functions = dir(eosfunc)
self.functions.extend(INTERNAL_FUNCTIONS)
self.valid_enums = {}

View file

@ -4,7 +4,7 @@ Gestion du mini-langage de template
On travaille sur les fichiers cibles
"""
import imp
from importlib.machinery import SourceFileLoader
from shutil import copy
import logging
from typing import Dict, Any
@ -252,7 +252,7 @@ class CreoleTemplateEngine:
self.distrib_dir = distrib_dir
eos = {}
if eosfunc_file is not None:
eosfunc = imp.load_source('eosfunc', eosfunc_file)
eosfunc = SourceFileLoader('eosfunc', eosfunc_file).load_module()
for func in dir(eosfunc):
if not func.startswith('_'):
eos[func] = getattr(eosfunc, func)

View file

@ -18,10 +18,10 @@ class TiramisuReflector:
funcs_path,
):
self.storage = ElementStorage()
self.storage.text = ["import imp",
f"func = imp.load_source('func', '{funcs_path}')",
self.storage.text = ["from importlib.machinery import SourceFileLoader",
f"func = SourceFileLoader('func', '{funcs_path}').load_module()",
"for key, value in dict(locals()).items():",
" if key != ['imp', 'func']:",
" if key != ['SourceFileLoader', 'func']:",
" setattr(func, key, value)",
"try:",
" from tiramisu3 import *",

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

View file

@ -1,7 +1,7 @@
import imp
func = imp.load_source('func', 'tests/dictionaries/../eosfunc/test.py')
from importlib.machinery import SourceFileLoader
func = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py').load_module()
for key, value in dict(locals()).items():
if key != ['imp', 'func']:
if key != ['SourceFileLoader', 'func']:
setattr(func, key, value)
try:
from tiramisu3 import *

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