Re: [Python-3000] fix email module for bytes/str

2007-08-08 Thread Guido van Rossum
You might want to send this to the email-sig. On 8/8/07, Victor Stinner <[EMAIL PROTECTED]> wrote: > Hi, > > I started to work on email module, but I have trouble to understand if a > function should returns bytes or str (because I don't know email module). > > Header.encode() -> bytes? > Message.

[Python-3000] fix email module for bytes/str

2007-08-08 Thread Victor Stinner
Hi, I started to work on email module, but I have trouble to understand if a function should returns bytes or str (because I don't know email module). Header.encode() -> bytes? Message.as_string() -> bytes? decode_header() -> list of (bytes, str|None) or (str, str|None)? base64MIME.encode() -> b