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 r.david.murray
Recipients brett.cannon, eric.snow, gvanrossum, ncoghlan, r.david.murray, terry.reedy
Date 2016-07-14.21:14:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1468530865.36.0.931551458761.issue27515@psf.upfronthosting.co.za>
In-reply-to
Content
So, Guido answered your actual question, and I was confused :(  The important point is that email.charset still exists in sys.modules, so import doesn't reload it, and as Guido says module load is the thing that creates the attribute mapping.
History
Date User Action Args
2016-07-14 21:14:25r.david.murraysetrecipients: + r.david.murray, gvanrossum, brett.cannon, terry.reedy, ncoghlan, eric.snow
2016-07-14 21:14:25r.david.murraysetmessageid: <1468530865.36.0.931551458761.issue27515@psf.upfronthosting.co.za>
2016-07-14 21:14:25r.david.murraylinkissue27515 messages
2016-07-14 21:14:25r.david.murraycreate