src/eric7/DebugClients/Python/DebugVariables.py

branch
eric7
changeset 9482
a2bc06a54d9d
parent 9473
3f23dbf37dbe
child 9653
e67609152c5e
equal deleted inserted replaced
9481:0b936ff1bbb9 9482:a2bc06a54d9d
805 """ 805 """
806 global _TypeMap, _ArrayTypes, _TryArray, _TryNumpy, _TryDjango, _MapCount 806 global _TypeMap, _ArrayTypes, _TryArray, _TryNumpy, _TryDjango, _MapCount
807 807
808 # array.array may not be imported (yet) 808 # array.array may not be imported (yet)
809 if _TryArray and "array" in sys.modules: 809 if _TryArray and "array" in sys.modules:
810 import array 810 import array # __IGNORE_WARNING_I10__
811 811
812 _TypeMap.append((array.array, arrayResolver)) 812 _TypeMap.append((array.array, arrayResolver))
813 _TryArray = False 813 _TryArray = False
814 814
815 # numpy may not be imported (yet) 815 # numpy may not be imported (yet)
816 if _TryNumpy and "numpy" in sys.modules: 816 if _TryNumpy and "numpy" in sys.modules:
817 import numpy 817 import numpy # __IGNORE_WARNING_I10__
818 818
819 _TypeMap.append((numpy.ndarray, ndarrayResolver)) 819 _TypeMap.append((numpy.ndarray, ndarrayResolver))
820 _TryNumpy = False 820 _TryNumpy = False
821 821
822 # django may not be imported (yet) 822 # django may not be imported (yet)
823 if _TryDjango and "django" in sys.modules: 823 if _TryDjango and "django" in sys.modules:
824 from django.utils.datastructures import MultiValueDict 824 from django.utils.datastructures import MultiValueDict # __IGNORE_WARNING_I10__
825 825
826 # it should go before dict 826 # it should go before dict
827 _TypeMap.insert(0, (MultiValueDict, multiValueDictResolver)) 827 _TypeMap.insert(0, (MultiValueDict, multiValueDictResolver))
828 _TryDjango = False 828 _TryDjango = False
829 829

eric ide

mercurial