Re: import, from and reload

2006-03-02 Thread Dave Benjamin
On Thu, 2 Mar 2006, John Salerno wrote: > Dave Benjamin wrote: > >> In general, "from X import *" should be avoided anyway, for reasons that >> have been discussed many times in the past. The annoyance with reloading is >> just one more reason. Better to just use "import X" in the first place. >

Re: import, from and reload

2006-03-02 Thread John Salerno
Dave Benjamin wrote: > In general, "from X import *" should be avoided anyway, for reasons that > have been discussed many times in the past. The annoyance with reloading > is just one more reason. Better to just use "import X" in the first place. > Thanks. I kind of figured it's better to use

Re: import, from and reload

2006-03-02 Thread Dave Benjamin
On Thu, 2 Mar 2006, John Salerno wrote: > I understand that after you import something once, you can reload it to pick > up new changes. But does reload work with from statements? I tried this: > > from X import * > > and then did my testing. I changed X and tried to reload it, but that didn't >

import, from and reload

2006-03-02 Thread John Salerno
I understand that after you import something once, you can reload it to pick up new changes. But does reload work with from statements? I tried this: from X import * and then did my testing. I changed X and tried to reload it, but that didn't seem to work. I figure the reason is because the mo