This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients brett.cannon, eric.snow, ezio.melotti, ncoghlan, pitrou, serhiy.storchaka, terry.reedy
Date 2013-08-11.10:23:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1376216625.51.0.146165859806.issue18706@psf.upfronthosting.co.za>
In-reply-to
Content
Perhaps `del sys.modules['module']` should remove all 'module.submodule' from sys.modules. Or perhaps `import module.submodule` should ensure that 'module' is in sys.modules and has the 'submodule' attribute.

Ezio, seems you forgot to attach a patch.
History
Date User Action Args
2013-08-11 10:23:45serhiy.storchakasetrecipients: + serhiy.storchaka, brett.cannon, terry.reedy, ncoghlan, pitrou, ezio.melotti, eric.snow
2013-08-11 10:23:45serhiy.storchakasetmessageid: <1376216625.51.0.146165859806.issue18706@psf.upfronthosting.co.za>
2013-08-11 10:23:45serhiy.storchakalinkissue18706 messages
2013-08-11 10:23:45serhiy.storchakacreate