Re: [Python-Dev] Byte literals (was Re: [Python-checkins] Changing string constants to byte arrays ( r55119 - in python/branches/py3k-struni/Lib: codecs.py test/test_codecs.py ))

2007-05-08 Thread Steve Holden
Guido van Rossum wrote: [+python-3000; replies please remove python-dev] On 5/5/07, Josiah Carlson [EMAIL PROTECTED] wrote: Fred L. Drake, Jr. [EMAIL PROTECTED] wrote: On Saturday 05 May 2007, Aahz wrote: I'm with MAL and Fred on making literals immutable -- that's safe and lots of

Re: [Python-Dev] Byte literals (was Re: [Python-checkins] Changing string constants to byte arrays ( r55119 - in python/branches/py3k-struni/Lib: codecs.py test/test_codecs.py ))

2007-05-07 Thread Guido van Rossum
[+python-3000; replies please remove python-dev] On 5/5/07, Josiah Carlson [EMAIL PROTECTED] wrote: Fred L. Drake, Jr. [EMAIL PROTECTED] wrote: On Saturday 05 May 2007, Aahz wrote: I'm with MAL and Fred on making literals immutable -- that's safe and lots of newbies will need to use

[Python-Dev] Byte literals (was Re: [Python-checkins] Changing string constants to byte arrays ( r55119 - in python/branches/py3k-struni/Lib: codecs.py test/test_codecs.py ))

2007-05-05 Thread Aahz
On Fri, May 04, 2007, Guido van Rossum wrote: [-python-dev] On 5/4/07, Fred L. Drake, Jr. [EMAIL PROTECTED] wrote: On Friday 04 May 2007, M.-A. Lemburg wrote: I also suggest making all bytes literals immutable to avoid running into any issues like the above. +1 from me. Rather than

Re: [Python-Dev] Byte literals (was Re: [Python-checkins] Changing string constants to byte arrays ( r55119 - in python/branches/py3k-struni/Lib: codecs.py test/test_codecs.py ))

2007-05-05 Thread Fred L. Drake, Jr.
On Saturday 05 May 2007, Aahz wrote: I'm with MAL and Fred on making literals immutable -- that's safe and lots of newbies will need to use byte literals early in their Python experience if they pick up Python to operate on network data. Yes; there are lots of places where bytes literals

Re: [Python-Dev] Byte literals (was Re: [Python-checkins] Changing string constants to byte arrays ( r55119 - in python/branches/py3k-struni/Lib: codecs.py test/test_codecs.py ))

2007-05-05 Thread Josiah Carlson
Fred L. Drake, Jr. [EMAIL PROTECTED] wrote: On Saturday 05 May 2007, Aahz wrote: I'm with MAL and Fred on making literals immutable -- that's safe and lots of newbies will need to use byte literals early in their Python experience if they pick up Python to operate on network data.