diff -r 419c20ec6cd3 -r 87ad87ef1910 eric6/DebugClients/Python/DebugClientBase.py --- a/eric6/DebugClients/Python/DebugClientBase.py Sun Apr 28 11:14:43 2019 +0200 +++ b/eric6/DebugClients/Python/DebugClientBase.py Thu May 02 22:58:33 2019 +0200 @@ -181,6 +181,10 @@ # keep these in sync with VariablesViewer.VariableItem.Indicators Indicators = ("()", "[]", "{:}", "{}") # __IGNORE_WARNING_M613__ + arrayTypes = { + 'list', 'tuple', 'dict', 'set', 'frozenset', "class 'dict_items'", + "class 'dict_keys'", "class 'dict_values'" + } def __init__(self): """ @@ -1826,8 +1830,7 @@ valtype = valtypestr try: - if valtype in ['list', 'tuple', 'dict', 'set', 'frozenset' - ]: + if valtype in self.arrayTypes: rvalue = "{0:d}".format(len(value)) elif valtype == 'array.array': rvalue = "{0:d}|{1}".format(