Re: [Python-Dev] magic method __bytes__

2014年1月14日 08:01:17 -0800

On 2014年1月13日 17:38:38 -0800, Ethan Furman <[email protected]> wrote:
> Has anyone actually used __bytes__ yet? What for?
bytes(email.message.Message()) returns the message object serialized to
"wire format".
--David
PS: I've always thought of "wire format" as *including* files...a file is
a just a "wire" with an indefinite destination and transmission time....
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to