pickle and module package
Stefan Franke
spamfranke at bigfoot.de
Tue May 18 07:46:24 EDT 1999
On Mon, 17 May 1999 22:59:36 +0200, "M.-A. Lemburg" <mal at lemburg.com> wrote:
>One thing I have stumbled into when starting off into the
>package business was that:
>
>from MyPackage import ThisModule
>import ThisModule
>
>yield *two* imports of the same module if done from a
>module in the MyPackage directory -- the module is
>initialized twice which causes a lot of trouble sometimes.
Uhh, I just checked this. This is definitely not something I would have
expected. Is there any rationale behind?
Stefan
More information about the Python-list
mailing list