How do I really delete an imported module?

Terry Reedy tjreedy at udel.edu
Sun Dec 21 22:11:15 EST 2003


"Robin Becker" <robin at jessikat.fsnet.co.uk> wrote
in message
news:mGZIGKA10i5$Ewob at jessikat.fsnet.co.uk...
> ....well you have to delete all references to
the module before it goes
> away. There are references to re in other
library modules, but I suspect
> that most of re is in an extension (or built
in).

re is a relatively short Python wrapper module
(see the Lib directory) that imports the current
preferred re implementation written in C -- now
_sre, previously _pcre (or something like that).

TJR






More information about the Python-list mailing list