def get_supported_types():
 from datetime import date
 editable_types = (([int, float, complex, list, dict, tuple, date] + list(TEXT_TYPES)) + list(INT_TYPES))
 try:
  from numpy import ndarray, matrix, generic
  editable_types += [ndarray, matrix, generic]
 except ImportError:
  pass
 try:
  from pandas import DataFrame, Series, DatetimeIndex
  editable_types += [DataFrame, Series, DatetimeIndex]
 except ImportError:
  pass
 picklable_types = editable_types[:]
 try:
  from spyder.pil_patch import Image
  editable_types.append(Image.Image)
 except ImportError:
  pass
 return dict(picklable=picklable_types, editable=editable_types)

def get_supported_types ( ) : from datetime import date editable_types = ( ( [ int , float , complex , list , dict , tuple , date ] + list ( TEXT_TYPES ) ) + list ( INT_TYPES ) ) try : from numpy import ndarray , matrix , generic editable_types += [ ndarray , matrix , generic ] except ImportError : pass try : from pandas import DataFrame , Series , DatetimeIndex editable_types += [ DataFrame , Series , DatetimeIndex ] except ImportError : pass picklable_types = editable_types [ : ] try : from spyder . pil_patch import Image editable_types . append ( Image . Image ) except ImportError : pass return dict ( picklable = picklable_types , editable = editable_types )
return a dictionnary containing types lists supported by the namespace browser: dict see: get_remote_data function in spyder/widgets/variableexplorer/utils/monitor .