编程技术 Python 遍历字典时删除元素报 dictionary changed size during iteration 2026年11月9日 9823189 故障表现 边遍历边删掉值为空的键,循环刚执行几次就抛运行时错…