-
-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
Consider this example:
Module dependant depends on module dependency. (each module prints __name__)
If we reload dependant:
import dependency
reload(dependency)
the dependant module won't be reloaded. It will print:
dependency
dependant
dependant
but it should print:
dependency
dependant
dependency
dependant
In your blog post http://www.indelible.org/ink/python-reloading/:
dependency is A
dependant is B
Quoting:
The solution to this problem is to also reload module B. [dependant]
But your code clearly doesn't do that.
Is there something I misunderstood?
Metadata
Metadata
Assignees
Labels
No labels