mirror of
https://github.com/python/cpython.git
synced 2026-08-03 07:35:55 -04:00
Raise ValueError OverflowError in case of a negative _length_ in a ctypes.Array subclass. Also raise TypeError instead of AttributeError for non-integer _length_. Co-authored-by: Oren Milman <[email protected]>