diff options
author | Guido van Rossum <guido@python.org> | 2001-07-23 13:27:49 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-07-23 13:27:49 +0000 |
commit | 0a761d80bac935e8b244ea2341e31bf5c344183e (patch) | |
tree | 5544568370eed51425ce47d4d72e593ef6345626 /Python/pythonrun.c | |
parent | 2df7a4be5f8fe9755c7aeafd02b6ea36945915a6 (diff) | |
download | cpython-0a761d80bac935e8b244ea2341e31bf5c344183e.tar.gz |
SF Patch #441791, with changes: when "import foo.bar" fails with an
exception in the execution of bar, ensure that foo.bar exists.
(Previously, while sys.modules['foo.bar'] would exist, foo.bar would
only be created upon successful execution of bar. This is
inconvenient; some would say wrong. :-)
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions