Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #78271
| From | Robin Becker <robin@reportlab.com> |
|---|---|
| Subject | import reloading |
| Date | 2014-09-24 10:53 +0100 |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.14303.1411552400.18130.python-list@python.org> (permalink) |
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 comp.lang.python | Previous | Next | Find similar | Unroll thread
import reloading Robin Becker <robin@reportlab.com> - 2014-09-24 10:53 +0100
csiph-web