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 eric.snow
Recipients brett.cannon, eric.snow
Date 2013-08-09.23:27:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1376090838.27.0.832453640234.issue18698@psf.upfronthosting.co.za>
In-reply-to
Content
Currently reload() returns the module that loader.load_module() returns, rather than returning the one in sys.modules.  This is different from what happens during normal import.  I would expect reload() to return what's in sys.modules.  Perhaps this got overlooked when we moved reload()?  I haven't had a chance to verify, but I do recall that the switch to importlib-based import in 3.3 exposed a bug where importlib wasn't returning the module in sys.modules during normal import.
History
Date User Action Args
2013-08-09 23:27:18eric.snowsetrecipients: + eric.snow, brett.cannon
2013-08-09 23:27:18eric.snowsetmessageid: <1376090838.27.0.832453640234.issue18698@psf.upfronthosting.co.za>
2013-08-09 23:27:18eric.snowlinkissue18698 messages
2013-08-09 23:27:18eric.snowcreate