On Sun, Oct 30, 2016 at 11:04 PM, Chris Angelico <ros...@gmail.com> wrote: > I've pushed a change to 8.1 that ought to be 100% backward compatible. > If there's a problem, I can revert it, but there shouldn't be. (Just > in case, it's not in 8.0.) The two notable features are: > > 1) MIME.UnicodeMessage, as described above > 2) MIME.parse_headers() now takes an additional parameter 'unicode'. > > Everything else should be completely invisible to most programs, and > both of these can be ignored. >
Turns out, I haven't been seeing all the messages on this list :( Sorry all! This change has been reverted. New proposal: MIME.decode_words_text_remapped is the single most obvious way to decode a Subject header (among others), but that's really not obvious from the docs. Can we somehow make that more discoverable? I ended up implementing my own version of that (tediously and buggily [1]), then wanting to fold that into core so other people don't. ChrisA [1] https://github.com/Rosuav/zawinski/commit/43a09b87a1f7b89e553e2f842149c64186d98694