On 11/3/07, Brett Cannon <[EMAIL PROTECTED]> wrote:
> On 11/2/07, Guido van Rossum <[EMAIL PROTECTED]> wrote:
> > In the py3k-pep3137 branch I've been working on the implementation of PEP
> > 3137.
> > The work is largely done, but I'm stuck with about 20 failing tests,
> > and very little time th
Guido van Rossum wrote:
> He's absolutely right.
>
> I never realized that your test was meant to fail until the behavior
> was fixed -- then I would've just disabled it. :-)
I've disabled the test for you. :)
>> Guido, what's the output of the locale command on your box?
>
> LANG=en_US
My loc
On Sat, Nov 03, 2007, Brett Cannon wrote:
> On 11/3/07, Christian Heimes <[EMAIL PROTECTED]> wrote:
>>
>> No, Python has no means to check for the buffer interface yet. You could
>> do isinstance(ob, (bytes, buffer)) but it wouldn't catch every object.
>> We could create a PyObject_CheckWriteBuffer
Guido van Rossum wrote:
> In the py3k-pep3137 branch I've been working on the implementation of PEP
> 3137.
> The work is largely done, but I'm stuck with about 20 failing tests,
> and very little time this weekend to work on these. Here's the list:
Windows test results:
test_bytes
test_csv
test
I'm beginning to settle on the following:
1. concrete types: bytes (immutable) and bytearray (mutable)
2. their common ABC: ByteString (derives from Sequence)
3. the ABC corresponding to buffer-API objects: MemoryBlock
--Guido
On 11/3/07, Jeffrey Yasskin <[EMAIL PROTECTED]> wrote:
> Those look c
On 04/11/2007, Guido van Rossum <[EMAIL PROTECTED]> wrote:
> I'm beginning to settle on the following:
>
> 1. concrete types: bytes (immutable) and bytearray (mutable)
bytearray seems a bit clumsy, but I can't think of anything better...
> 2. their common ABC: ByteString (derives from Sequence)
Paul Moore schrieb:
> On 04/11/2007, Guido van Rossum <[EMAIL PROTECTED]> wrote:
>> I'm beginning to settle on the following:
>>
>> 1. concrete types: bytes (immutable) and bytearray (mutable)
>
> bytearray seems a bit clumsy, but I can't think of anything better...
It's much better than "buffer"
On 11/4/07, Guido van Rossum <[EMAIL PROTECTED]> wrote:
> I'm beginning to settle on the following:
>
> 1. concrete types: bytes (immutable) and bytearray (mutable)
> 2. their common ABC: ByteString (derives from Sequence)
> 3. the ABC corresponding to buffer-API objects: MemoryBlock
>
All seem fi
Guido van Rossum wrote:
> I'm beginning to settle on the following:
>
> 1. concrete types: bytes (immutable) and bytearray (mutable)
> 2. their common ABC: ByteString (derives from Sequence)
I prefer ByteSequence. Bytes and buffer are a sequence of bytes.
> 3. the ABC corresponding to buffer-API
On 11/4/07, Christian Heimes <[EMAIL PROTECTED]> wrote:
> Guido van Rossum wrote:
> > I'm beginning to settle on the following:
> >
> > 1. concrete types: bytes (immutable) and bytearray (mutable)
> > 2. their common ABC: ByteString (derives from Sequence)
>
> I prefer ByteSequence. Bytes and buffe
10 matches
Mail list logo