diff options
author | Tim Peters <tim.peters@gmail.com> | 2004-08-02 03:52:12 +0000 |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2004-08-02 03:52:12 +0000 |
commit | 1cd701732fe324adace84a955d48a3dc7753ee59 (patch) | |
tree | 35ba15417c614a36efd6c6dac1e080abb725dfb0 /Python/bltinmodule.c | |
parent | 94f9b8693038f25a800c3cd795c56c92b6f3541d (diff) | |
download | cpython-git-1cd701732fe324adace84a955d48a3dc7753ee59.tar.gz |
PyImport_ExecCodeModuleEx(): remove module from sys.modules in error cases.
PyImport_ReloadModule(): restore the module to sys.modules in error cases.
load_package(): semantic-neutral refactoring from an earlier stab at
this patch; giving it a common error exit made the code
easier to follow, so retaining that part.
_RemoveModule(): new little utility to delete a key from sys.modules.
Diffstat (limited to 'Python/bltinmodule.c')
0 files changed, 0 insertions, 0 deletions