fastai / nbdev

Create delightful software with Jupyter Notebooks
https://nbdev.fast.ai/
Apache License 2.0
4.9k stars 487 forks source link

get_config raises "RuntimeError: dictionary changed sized during iteration" #1340

Open JaumeAmoresDS opened 1 year ago

JaumeAmoresDS commented 1 year ago

Error is in line:

for k,v in locals().items()

apparently, the size of locals() changes

The error appears when running code in debug mode:

ipdb.runcall (my_function_which_calls_get_config)