Checking for overflow in ctypes array creation (fixing test.test_ctypes)

Merged Bitbucket Importer requested to merge bitbucket/merged-pr-680 into branch/py3.7

Created originally on Bitbucket by Bernd Schoeller

Was already merged in Bitbucket before import, marked as merged by the import user

No unit test, as this is already covered by the cpython unit tests.

Merge request reports