diff options
| author | Tim Peters <tim.peters@gmail.com> | 2004-08-02 03:52:12 (GMT) |
|---|---|---|
| committer | Tim Peters <tim.peters@gmail.com> | 2004-08-02 03:52:12 (GMT) |
| commit | 1cd701732fe324adace84a955d48a3dc7753ee59 (patch) | |
| tree | 35ba15417c614a36efd6c6dac1e080abb725dfb0 /Python/hypot.c | |
| parent | 94f9b8693038f25a800c3cd795c56c92b6f3541d (diff) | |
| download | cpython-1cd701732fe324adace84a955d48a3dc7753ee59.zip cpython-1cd701732fe324adace84a955d48a3dc7753ee59.tar.gz cpython-1cd701732fe324adace84a955d48a3dc7753ee59.tar.bz2 | |
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/hypot.c')
0 files changed, 0 insertions, 0 deletions
