Re: [Python-Dev] Rename str/unicode to text

2006-02-17 Thread Michael Hudson
"Fredrik Lundh" <[EMAIL PROTECTED]> writes: > Michael Hudson wrote: > >> > OTOH, even if we didn't rename str/unicode to text, opentext would >> > still be a good name for the function that opens a text file. >> >> Hnnrgh, not really. You're not opening a 'text', nor are you >> constructing some

Re: [Python-Dev] Rename str/unicode to text

2006-02-17 Thread Fredrik Lundh
Michael Hudson wrote: > > OTOH, even if we didn't rename str/unicode to text, opentext would > > still be a good name for the function that opens a text file. > > Hnnrgh, not really. You're not opening a 'text', nor are you > constructing something that might reasonably be called an 'opentext'.

Re: [Python-Dev] Rename str/unicode to text

2006-02-17 Thread Michael Hudson
Guido van Rossum <[EMAIL PROTECTED]> writes: > OTOH, even if we didn't rename str/unicode to text, opentext would > still be a good name for the function that opens a text file. Hnnrgh, not really. You're not opening a 'text', nor are you constructing something that might reasonably be called an

Re: [Python-Dev] Rename str/unicode to text [Was: Re: str object going in Py3K]

2006-02-16 Thread Guido van Rossum
On 2/16/06, Adam Olsen <[EMAIL PROTECTED]> wrote: > While we're at it, any chance of renaming str/unicode to text in 3.0? > It's a MUCH better name, as evidenced by the opentext/openbytes names. > str is just some odd C-ism. > > Obviously it's a form of gratuitous breakage, but I think the long >

Re: [Python-Dev] Rename str/unicode to text [Was: Re: str object goingin Py3K]

2006-02-16 Thread Fredrik Lundh
Adam Olsen wrote: > While we're at it, any chance of renaming str/unicode to text in 3.0? > It's a MUCH better name, as evidenced by the opentext/openbytes names. > str is just some odd C-ism. > > Obviously it's a form of gratuitous breakage, but I think the long > term benefits are enough that w

[Python-Dev] Rename str/unicode to text [Was: Re: str object going in Py3K]

2006-02-16 Thread Adam Olsen
On 2/15/06, Guido van Rossum <[EMAIL PROTECTED]> wrote: > On 2/15/06, M.-A. Lemburg <[EMAIL PROTECTED]> wrote: > > Barry Warsaw wrote: > > > On Wed, 2006-02-15 at 18:29 +0100, M.-A. Lemburg wrote: > > > > > >> Maybe a weird idea, but why not use static methods on the > > >> bytes and str type objec