module loading/unloading mechanism
Matthias Scheidegger
mscheid at iam.unibe.ch
Fri Feb 15 07:27:24 EST 2002
More information about the Python-list mailing list
Fri Feb 15 07:27:24 EST 2002
- Previous message (by thread): xmlrpclib RPC calls sometimes hang
- Next message (by thread): certification
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, I'm need some way to do module loading/unloading similar to the way it's done in the Linux kernel. A module should be loadable from a string or marshalled object (ie. have its own namespace and execute some initialization code) and be unloadable (ie. remove all its namespace and execute cleanup code). An important requirement is that the interpreter can't be restarted. Module loading/unloading should be the only way to add/remove "programs". The interpreter is embedded in a C program. Afaik frozen modules could do the loading pretty smoothly. Any ideas about unloading? cheers Matthias
- Previous message (by thread): xmlrpclib RPC calls sometimes hang
- Next message (by thread): certification
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list