Thomas Lee wrote:
> Guido van Rossum wrote:
>
>> - make == and != between PyBytes and PyUnicode return False instead of
>> raising TypeError
>>
A patch for this is ready. I'll submit it to the bug tracker later tonight.
>> - make == and != between PyString and Pyunicode return False instead
Thomas Lee wrote:
> Thomas Lee wrote:
>
>> Guido van Rossum wrote:
>>
>>
>>> - make == and != between PyBytes and PyUnicode return False instead of
>>> raising TypeError
>>>
>>>
> A patch for this is ready. I'll submit it to the bug tracker later tonight.
>
This patch is n
On 10/9/07, Thomas Lee <[EMAIL PROTECTED]> wrote:
> Thomas Lee wrote:
> > Guido van Rossum wrote:
> >
> >> - make == and != between PyBytes and PyUnicode return False instead of
> >> raising TypeError
> >>
> A patch for this is ready. I'll submit it to the bug tracker later tonight.
> >> - make ==
On 10/9/07, Thomas Lee <[EMAIL PROTECTED]> wrote:
> Guido van Rossum wrote:
> >>>
> - make == and != between PyBytes and PyUnicode return False instead of
> raising TypeError
>
>
> Just thinking about it I'm pretty sure my initial patch is wrong -
> forgive my ignorance. To remo
On 10/9/07, Thomas Lee <[EMAIL PROTECTED]> wrote:
> Guido van Rossum wrote:
> >
> > The point is that a bytes and a str instance are never considered equal...
> >
> >
> Sorry. I understand now. My brain must have been on a holiday earlier.
> :) Just pushed an updated patch to the bug tracker.
> >>
On 10/9/07, Thomas Lee <[EMAIL PROTECTED]> wrote:
> Looks like it:
>
> >>> str8('a') > b'b'
> False
> >>> str8('a') < b'b'
> True
> >>> str8('a') <= b'b'
> True
> >>> str8('a') >= b'b'
> False
Which reminds me of a task I forgot to add to the list:
- change the constructor for PyString to mat
On 10/9/07, Guido van Rossum <[EMAIL PROTECTED]> wrote:
> Which reminds me of a task I forgot to add to the list:
>
> - change the constructor for PyString to match the one for PyBytes.
And another pair of forgotten tasks:
- change PyBytes so that its str() is the same as its repr().
- change PyS
On 10/8/07, Alexandre Vassalotti <[EMAIL PROTECTED]> wrote:
> On 10/8/07, Guido van Rossum <[EMAIL PROTECTED]> wrote:
> > - change indexing and iteration over PyString to return ints, not
> > 1-char PyStrings
>
> I will try do this one.
This took a bit longer than I expected. Changing the PyString
>
> > - remove buffer API from PyUnicode
>
>
> I'll take these two with a goal of having them done by the end of the
> week.
>
> -gps
>
I should've known not to believe the simple description. This one is
proving difficult by itself. If I modify the Unicode object to not support
the buffer API I
On 10/10/07, Gregory P. Smith <[EMAIL PROTECTED]> wrote:
>
>
> >
> >
> > >
> > > - remove buffer API from PyUnicode
> >
> >
> > I'll take these two with a goal of having them done by the end of the
> week.
> >
> > -gps
>
> I should've known not to believe the simple description. This one is
> prov
10 matches
Mail list logo