Message270379
A warning like this sounds good to me though I'd prefer it to be slightly more verbose, like:
"RuntimeWarning: '<module>' found in sys.modules after import of package '<package>', but prior to execution of '<module>' as '__main__'; this may result in unpredictable behaviour"
or it wouldn't really have helped me much to understand what was happening.
P.S.: You understood correctly that my own code is fixed (patch sent to the affected user, next release will have the fix). Learnt something about the whole __spec__ and double import subject along the way so it wasn't completely wasted time. |
|
Date |
User |
Action |
Args |
2016-07-14 07:27:19 | wolma | set | recipients:
+ wolma, brett.cannon, ncoghlan, eric.snow, martin.panter |
2016-07-14 07:27:19 | wolma | set | messageid: <1468481239.44.0.194550280107.issue27487@psf.upfronthosting.co.za> |
2016-07-14 07:27:19 | wolma | link | issue27487 messages |
2016-07-14 07:27:19 | wolma | create | |
|