summaryrefslogtreecommitdiffstats
path: root/Objects/call.c
diff options
context:
space:
mode:
authorTal Einat <taleinat+github@gmail.com>2018-10-22 15:33:10 (GMT)
committerGitHub <noreply@github.com>2018-10-22 15:33:10 (GMT)
commit2447773573e74819e163f8963ab107bc5db123e5 (patch)
tree4db0104b09186c80bdcf9d0d7feeeb0390b89a61 /Objects/call.c
parent121eb1694cab14df857ba6abe9839654cada15cf (diff)
downloadcpython-2447773573e74819e163f8963ab107bc5db123e5.zip
cpython-2447773573e74819e163f8963ab107bc5db123e5.tar.gz
cpython-2447773573e74819e163f8963ab107bc5db123e5.tar.bz2
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>
Diffstat (limited to 'Objects/call.c')
0 files changed, 0 insertions, 0 deletions