Message300573
I am not sure I understood your question, Igor.
I compiled with https://github.com/python/cpython/pull/3006, and got:
class T(ctypes.Array):
_type_ = ctypes.c_int
_length_ = 2 ** 1000
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
OverflowError: Python int too large to convert to C ssize_t
and also:
class T(ctypes.Array):
_type_ = ctypes.c_int
_length_ = -1
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
OverflowError: array too large |
|
Date |
User |
Action |
Args |
2017-08-19 08:39:35 | Oren Milman | set | recipients:
+ Oren Milman, amaury.forgeotdarc, belopolsky, meador.inge, serhiy.storchaka, i3v |
2017-08-19 08:39:35 | Oren Milman | set | messageid: <1503131975.27.0.250744982215.issue29843@psf.upfronthosting.co.za> |
2017-08-19 08:39:35 | Oren Milman | link | issue29843 messages |
2017-08-19 08:39:35 | Oren Milman | create | |
|