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 gvanrossum
Recipients brett.cannon, eric.snow, gvanrossum, ncoghlan, r.david.murray, terry.reedy
Date 2016-07-15.05:54:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In-reply-to <>
Are you sure you realize that "import email.charset" doesn't create a
local variable named "email.charset"? It creates a local variable
named "email" which happens to have an attribute "charset".

The problem with "import pack; print(pack.sub)" being unpredictable is
explainable though annoying, but I don't think it can be avoided.
After all there's no intrinsic reason why module "pack" couldn't have
some attribute named "sub" unrelated to a submodule.

I'm not sure what you mean by injections or cleaning them up. Perhaps
there's some overzealousness here that causes this broken behavior?

Is there somewhere in the IDLE code that you'd like me to look at?
Date User Action Args
2016-07-15 05:54:19gvanrossumsetrecipients: + gvanrossum, brett.cannon, terry.reedy, ncoghlan, r.david.murray, eric.snow
2016-07-15 05:54:18gvanrossumlinkissue27515 messages
2016-07-15 05:54:18gvanrossumcreate