Robin Becker Wrote in message:
> On 24/09/2014 12:54, Dave Angel wrote:
>> Robin Becker Wrote in message:
>>...
>>> 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__?
>>>
>>
>> Noth
On 24/09/2014 12:54, Dave Angel wrote:
Robin Becker Wrote in message:
...
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__?
Nothing gets reset or run. It simply reuses the existing mod
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