SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 1 Python

bpo-29843: raise AttributeError if given negative _length_ (GH-10029)

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 <orenmn@gmail.com>
T
Tal Einat committed
2447773573e74819e163f8963ab107bc5db123e5
Parent: 121eb16
Committed by GitHub <noreply@github.com> on 10/22/2018, 3:33:10 PM