[Python-checkins] r73850 - in python/branches/py3k: Lib/test/test_array.py Modules/arraymodule.c

Alexandre Vassalotti alexandre at peadrop.com
Sun Jul 5 22:01:17 CEST 2009


On Sun, Jul 5, 2009 at 4:36 AM, Antoine Pitrou<solipsis at pitrou.net> wrote:
> <alexandre.vassalotti> writes:
>>
>> +    def test_memoryview_no_resize(self):
>> +        # Test for issue 4509.
>
> Perhaps you should have expanded the existing test_buffer() method instead?
>

Ah, thanks! And moving the tests to test_buffer exposed yet another bug!

Now, I wonder why array defines item getters/setters both for the
sequence protocol and mapping protocol...

-- Alexandre


More information about the Python-checkins mailing list