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, terry.reedy
Date 2016-07-14.20:57:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I don't think this is a bug. You're paraphrasing step 2 incorrectly. The local name-binding behavior just creates a local named "email" -- it doesn't concern itself with ensuring that the email package has an attribute "charset". That attribute is set as a side effect of *loading* the charset submodule, not as a side effect of every import statement.
Date User Action Args
2016-07-14 20:57:43gvanrossumsetrecipients: + gvanrossum, brett.cannon, terry.reedy, ncoghlan, eric.snow
2016-07-14 20:57:43gvanrossumsetmessageid: <>
2016-07-14 20:57:43gvanrossumlinkissue27515 messages
2016-07-14 20:57:43gvanrossumcreate