Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #78271 > unrolled thread
| Started by | Robin Becker <robin@reportlab.com> |
|---|---|
| First post | 2014-09-24 10:53 +0100 |
| Last post | 2014-09-24 10:53 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
import reloading Robin Becker <robin@reportlab.com> - 2014-09-24 10:53 +0100
| From | Robin Becker <robin@reportlab.com> |
|---|---|
| Date | 2014-09-24 10:53 +0100 |
| Subject | import reloading |
| Message-ID | <mailman.14303.1411552400.18130.python-list@python.org> |
I'm tryng to bring some outdated ihooks code into the modern world. I notice that module loaders are supposed to re-use an existing module if it is already in sys.modules. Is a loader supposed to reset all the reused module's attributes and reset the __dict__ or does it just run the code from the module in hte __dict__? -- Robin Becker
Back to top | Article view | comp.lang.python
csiph-web