> base64MIME.decode() and base64MIME.encode() should accept bytes and str > base64MIME.decode() result type is bytes > base64MIME.encode() result type should be... bytes or str, no idea > > Other decode() and encode() functions should use same rules about types.
Victor, Here's my take on this: base64MIME.decode converts string to bytes base64MIME.encode converts bytes to string Pretty straightforward. Bill _______________________________________________ Email-SIG mailing list Email-SIG@python.org Your options: http://mail.python.org/mailman/options/email-sig/archive%40mail-archive.com