64-bit Python?

Martin v. Loewis martin at v.loewis.de
Thu Jun 6 22:32:00 CEST 2002


Kragen Sitaker <kragen at pobox.com> writes:

> Yes, this is correct.  Even the buffer interface, which my
> arrayfrombuffer package[0] uses to provide access to mmapped files as
> Numeric arrays inexplicably uses int instead of size_t.

It can't use size_t for the object's size, since size_t is unsigned,
but some applications put negative numbers into ob_size (see
longobject.c for an example).

Regards,
Martin




More information about the Python-list mailing list