[Python-3000] Immutable bytes type and dbm modules

Guido van Rossum guido at python.org
Wed Aug 8 03:52:58 CEST 2007


On 8/7/07, Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
> Guido van Rossum wrote:
> > Currently the array module can be used for
> > this but I would like to get rid of it in favor of bytes and Travis
> > Oliphant's new buffer API
>> I thought the plan was to *enhance* the array module
> so that it provides multi-dimensional arrays that
> support the new buffer protocol.
>> If the plan is instead to axe it completely, then
> I'm disappointed. Bytes is only a replacement for
> array.array('B'), not any of the other types.

I wouldn't ax it unless there was a replacement. But I'm not holding
the replacement to any kind of compatibility with the old array
module, and I expect it would more likely take the form of a wrapper
around anything that supports the (new) buffer API, such as bytes.
This would render the array module obsolete.
-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-3000 mailing list

AltStyle によって変換されたページ (->オリジナル) /