buffer_info() for arrays but not structs?
moshez at math.huji.ac.il
Wed Mar 1 19:32:27 CET 2000
On Tue, 29 Feb 2000, Thomas Heller wrote:
> > Is there a reason an array has a buffer_info() method but a struct doesn't?
> > This would be a nice addition to the struct object. Does anyone know if
> > there are plans to add this?
> Probably because a struct is not an object. At least in 1.5.
In Python, everything is an object. More probably the answer is "no one
cared enough to implement it: go ahead and submit a patch
(patches at python.org)"
Moshe Zadka <mzadka at geocities.com>.
INTERNET: Learn what you know.
Share what you don't.
More information about the Python-list