commit | 2447773573e74819e163f8963ab107bc5db123e5 | [log] [tgz] |
---|---|---|
author | Tal Einat <taleinat+github@gmail.com> | Mon Oct 22 18:33:10 2018 +0300 |
committer | GitHub <noreply@github.com> | Mon Oct 22 18:33:10 2018 +0300 |
tree | 4db0104b09186c80bdcf9d0d7feeeb0390b89a61 | |
parent | 121eb1694cab14df857ba6abe9839654cada15cf [diff] |
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>