Message270465
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:19 | gvanrossum | set | recipients:
+ gvanrossum, brett.cannon, terry.reedy, ncoghlan, r.david.murray, eric.snow |
2016-07-15 05:54:18 | gvanrossum | link | issue27515 messages |
2016-07-15 05:54:18 | gvanrossum | create | |
|