I think you're confused. There isn't anything 'less generic' about the bytes literal. Both bytes([...]) and b"..." can express the full 256 value range.
On 2/25/07, Greg Ewing <[EMAIL PROTECTED]> wrote:
Thomas Wouters wrote: > > I'm not sure what makes you say that. There isn't anyone actually using > bytes() right now, so what makes you think how it's created? That's my point -- you *don't* know how any given bytes object was created, so there's no reason to display it in anything other than the most generic way. Another thing is that the idea of displaying a mutable object in a way that closely resembles a non-mutable literal makes me uncomfortable. Actually, writing that sort of literal makes me uncomfortable too, but I'm not sure what to do about that. -- Greg _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/thomas%40python.org
-- Thomas Wouters <[EMAIL PROTECTED]> Hi! I'm a .signature virus! copy me into your .signature file to help me spread!
_______________________________________________ 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
