Blake Winton schrieb: > Jason Orendorff wrote: >> On 2/22/07, Guido van Rossum <[EMAIL PROTECTED]> wrote: >>> If someone would like to volunteer a small PEP on the b"..." literal I >>> would appreciate it. >> How do you feel about raw byte-strings (br'a\b\c') > > Not that my opinion particularly matters, but I would say "sure" to this > one. On the other hand, I really don't use raw strings that often, and > the places I do are pretty much solely regexes, which shouldn't really > be passed bytes. > > > and long byte-strings (b'''...''')? > > What would: > b"""abc > def""" > translate into, exactly? > [ 97, 98, 99, 10, 100, 101, 102 ]? > [ 97, 98, 99, 13, 10, 100, 101, 102 ]? > Platform-dependent? (Ewwww!)
The same that """abc def""" translates to today, which is, "abc\ndef" on every platform. Georg _______________________________________________ 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
