◐ Shell
clean mode source ↗

Message 270441 - Python tracker

Or, to put it another way, you deleted the charset attribute from the email module.  On the second import, import finds email in sys.modules, so it doesn't reimport it, so charset doesn't get recreated.  So, the difference is you didn't do 'del email'.