Re: Another (perhaps similar) import question

2008-06-13 Thread Dan Yamins
>> >> > > Please keep responses to python-list discussion on python-list, not my > personal mail box. -- Thanks. > Sorry. When I hit "reply" on gmail to your message, your personal email comes up as opposed to the python list address. My apologies for not looking for closely. > I'd suggest u

Re: Another (perhaps similar) import question

2008-06-13 Thread Gary Herron
Dan Yamins wrote: What is the principle behind this? And, is there some simple way (other than restarting the interpreter) of "reloading" that wipes out the old attributes associated with a given name so that spurious attributes do not remain? No. Con

Re: Another (perhaps similar) import question

2008-06-13 Thread Gary Herron
Dan Yamins wrote: I also have noticed another (to me) strange thing about module imports. If anyone could explain this to me, that would be great (I apologize if it's too elementary for this list.) Suppose I have a module #file: testmodule.py a = 1 When importing this module, obviously

Another (perhaps similar) import question

2008-06-13 Thread Dan Yamins
I also have noticed another (to me) strange thing about module imports. If anyone could explain this to me, that would be great (I apologize if it's too elementary for this list.) Suppose I have a module #file: testmodule.py a = 1 When importing this module, obviously 'a' becomes an attrib