Updating word lists with talon.cron can cause RuntimeError: dictionary changed size during iteration
#120
Labels
RuntimeError: dictionary changed size during iteration
#120
I haven't tried to make a minimal test case but was asked to file, so here's what I know :)
Example trace:
Deep in my cron callback I was doing:
self.ctx.lists[f"user.{self.name}_list"] = data.keys()
Which curiously seems mitigated by (haven't had it happen since):
self.ctx.lists[f"user.{self.name}_list"] = list(data.keys())
The text was updated successfully, but these errors were encountered: