Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #78271 > unrolled thread

import reloading

Started byRobin Becker <robin@reportlab.com>
First post2014-09-24 10:53 +0100
Last post2014-09-24 10:53 +0100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

  import reloading Robin Becker <robin@reportlab.com> - 2014-09-24 10:53 +0100

#78271 — import reloading

FromRobin Becker <robin@reportlab.com>
Date2014-09-24 10:53 +0100
Subjectimport 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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web