Re: Loading multiple versions of the same package at the same time

2008-11-28 Thread della
On 27 Nov, 21:34, Terry Reedy <[EMAIL PROTECTED]> wrote: > > But in the interpreters module dict, foo it is, and stays. > > But giving the modules different names on the disk should work, no? Yes, but -- for what I've understood -- that wouldn't solve my original problem with pickle, since I woul

Re: Loading multiple versions of the same package at the same time

2008-11-27 Thread della
On 27 Nov, 11:21, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote: > You can't do that. How should python distinguish between the two modules > with the same name? That's why I was trying to import them with different names :) > What you can do is > >  - import the old package >  - unpickle >  - co

Loading multiple versions of the same package at the same time

2008-11-27 Thread della
Hi all, I've got some pickled files representing graphs (using networkx, http://networkx.lanl.gov if you're interested) that were produced using version 0.36 of the library. Now, they have released a new version of the library which is incompatible with respect to pickled files, so what I'd like