This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Oren Milman
Recipients Oren Milman, amaury.forgeotdarc, belopolsky, i3v, meador.inge, serhiy.storchaka
Date 2017-08-19.08:39:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1503131975.27.0.250744982215.issue29843@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2017-08-19 08:39:35Oren Milmansetrecipients: + Oren Milman, amaury.forgeotdarc, belopolsky, meador.inge, serhiy.storchaka, i3v
2017-08-19 08:39:35Oren Milmansetmessageid: <1503131975.27.0.250744982215.issue29843@psf.upfronthosting.co.za>
2017-08-19 08:39:35Oren Milmanlinkissue29843 messages
2017-08-19 08:39:35Oren Milmancreate