arraymodule questions

Andrew Dalke dalke at acm.org
Mon Apr 3 01:52:49 EDT 2000


Mark Hammond said:
>How about if we better expose a "buffer" object.

>It is basically a fixed array("c"), and supports all slicing and
>assignment operations.  The difference from an array object is
>that its size is fixed, but that can sometimes be a bonus.


> From you description, this would be an alternative solution?

I need a character array which is resizeable, so this won't work.
Some of the final array sizes are not known a priori, and I
need a data structure which can be used, for instance, in a
GUI sequence editor.

                    Andrew
                    dalke at acm.org






More information about the Python-list mailing list