Puede que tenga un pedo cerebral aquí, pero realmente no puedo entender qué hay de malo en mi código:
for key in tmpDict:
print type(tmpDict[key])
time.sleep(1)
if(type(tmpDict[key])==list):
print 'this is never visible'
break
la salida es <type 'list'>pero la instrucción if nunca se activa. ¿Alguien puede detectar mi error aquí?
listcomo variable en alguna parte? Tenga en cuenta que si está trabajando en REPL o tal, aún puede redefinirse desde hace un tiempo.