Recursive version of 'reload'
问题 When I'm developing Python code, I usually test it in an ad-hoc way in the interpreter. I'll import some_module , test it, find a bug, fix the bug and save, and then use the built-in reload function to reload(some_module) and test again. However, suppose that in some_module I have import some_other_module , and while testing some_module I discover a bug in some_other_module and fix it. Now calling reload(some_module) won't recursively re-import some_other_module . I have to either manually