Message194776
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. |
|
Date |
User |
Action |
Args |
2013-08-09 23:27:18 | eric.snow | set | recipients:
+ eric.snow, brett.cannon |
2013-08-09 23:27:18 | eric.snow | set | messageid: <1376090838.27.0.832453640234.issue18698@psf.upfronthosting.co.za> |
2013-08-09 23:27:18 | eric.snow | link | issue18698 messages |
2013-08-09 23:27:18 | eric.snow | create | |
|