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 Rolf Campbell
Recipients Rolf Campbell, brett.cannon, eric.snow, ncoghlan, r.david.murray
Date 2018-05-18.01:56:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1526608579.33.0.682650639539.issue33547@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks David, I agree that my assumption that the local valiables were not being replaced is not really what was going on there.

I also agree that, while this might not strictly classify as a bug, it's probably not the most helpful/useful way that "from ." could be implemented for __main__. Why does it act different than in modules?

I have reproduced my original ploblem in a simplified scenario, for which I will raise a new bug.

Thanks
History
Date User Action Args
2018-05-18 01:56:19Rolf Campbellsetrecipients: + Rolf Campbell, brett.cannon, ncoghlan, r.david.murray, eric.snow
2018-05-18 01:56:19Rolf Campbellsetmessageid: <1526608579.33.0.682650639539.issue33547@psf.upfronthosting.co.za>
2018-05-18 01:56:19Rolf Campbelllinkissue33547 messages
2018-05-18 01:56:19Rolf Campbellcreate