On 8/9/07, Joel Bender <[EMAIL PROTECTED]> wrote:
> Jason Orendorff wrote:
>
> > Hooks would help with that, or even eliminate the need altogether.
>
> IMHO, having a __bytes__ method would go a long way.

I've heard this before, but there are many different, equally
attractive ways to serialize objects to bytes (e.g. marshal, pickle,
repr + encode, etc.).

Bytes are not the same as strings, and you need to think differently about them.

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to