reloading a C module
Kragen Sitaker
kragen at dnaco.net
Wed Sep 27 00:46:41 EDT 2000
In article <p6qhf746t8o.fsf at informatik.hu-berlin.de>,
Martin von Loewis <loewis at informatik.hu-berlin.de> wrote:
>chris_barker at my-deja.com writes:
>
>> Is this supposed to work?
>
>Reloading of C modules is not supposed to work; all hell would break
>lose if there are still objects allocated which had their code in the
>old copy of the library.
Perhaps reload(x) should raise an exception in this case?
--
<kragen at pobox.com> Kragen Sitaker <http://www.pobox.com/~kragen/>
Perilous to all of us are the devices of an art deeper than we ourselves
possess.
-- Gandalf the Grey [J.R.R. Tolkien, "Lord of the Rings"]
More information about the Python-list
mailing list