[Python-Dev] Py_ssize_t support for ctypes arrays and pointers

Kristján Valur Jónsson kristjan at ccpgames.com
Fri Mar 20 21:36:23 CET 2009


Will testing an array of chars do?
You can easily allocate 4-5Gb on a regular 64bit pc, even with only 1G of ram, given that your swap space is sufficient.
If you want to excercise your array, then you might get some paging, but it's not completely impossible.
K

-----Original Message-----
From: python-dev-bounces+kristjan=ccpgames.com at python.org [mailto:python-dev-bounces+kristjan=ccpgames.com at python.org] On Behalf Of Thomas Heller
Sent: 20. mars 2009 19:01
To: python-dev at python.org
Subject: [Python-Dev] Py_ssize_t support for ctypes arrays and pointers

I received some (so far unfinished) patches for ctypes
that will allow to create arrays with more than 2**31
elements and that will eventually also support pointer
offsets larger than int, on 64-bit platforms.

Since I do not have a machine with so much memory: Does one
of the buildbots allow to run tests for this feature, or
do I have to wait for the snakebite farm?

-- 
Thanks,
Thomas

_______________________________________________
Python-Dev mailing list
Python-Dev at python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/kristjan%40ccpgames.com



More information about the Python-Dev mailing list