[Pythonmac-SIG] Reload() not working?

Schollnick, Benjamin Benjamin.Schollnick@usa.xerox.com
Mon, 23 Jul 2001 07:55:48 -0400


If memory serves me correctly, I believe this is normal behavior?

I remember reading somewhere that Reload() actually reloads the module
in memory, but does not "overwrite" existing objects, variables, etc.

In other words, if you were to erase the object that you are using, and
then do a reload, then recreate the object, you should see the updated
module.

I haven't tried this myself, so take it with a grain of salt...

		- Benjamin

-----Original Message-----
From: Aureli Soria Frisch [mailto:Aureli.Soria_Frisch@ipk.fhg.de]
Sent: Monday, July 23, 2001 5:36 AM
To: tom smith
Cc: Jack Jansen; pythonmac-sig@python.org
Subject: Re: [Pythonmac-SIG] Reload() not working?


At 15:57 Uhr +0100 20.07.2001, tom smith wrote:
>I'm not sure but in Carbon Python reload(module) doesn't seem to work. Or
is
>it me?
>
>Am I right? I'm making changes in a module that don't seem to make any
>difference.

I have a similar problem when defining a class. If I run the script and
then change some method, doing reload() does not actualize the method.

However I only suppose that I am using Carbon Python... What does it mean?
Using MacPython with the CarbonLib installed in the computer, or is it
something more? Sorry about this basic non-understanding...

Regards

#################################
Aureli Soria Frisch
Fraunhofer IPK
Dept. Pattern Recognition

post: Pascalstr. 8-9, 10587 Berlin, Germany
e-mail:aureli@ipk.fhg.de
fon: +49 30 39006-150
fax: +49 30 3917517
#################################



_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig