diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2010-03-13 11:34:40 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2010-03-13 11:34:40 (GMT) |
commit | d59b41641e7f800a65f4241d05710b774cafa04f (patch) | |
tree | 1a859128a25416a27c391421f9cdae3676c240e3 /Objects/rangeobject.c | |
parent | fe427fee6c77f2a2b8c7c1ad0fec14d8638a9db0 (diff) | |
download | cpython-d59b41641e7f800a65f4241d05710b774cafa04f.zip cpython-d59b41641e7f800a65f4241d05710b774cafa04f.tar.gz cpython-d59b41641e7f800a65f4241d05710b774cafa04f.tar.bz2 |
Issue #8014: Fix PyLong_As<c-integer-type> methods not to produce an
internal error on non-integer input: they now raise TypeError instead.
This is needed for attributes declared via PyMemberDefs.
Diffstat (limited to 'Objects/rangeobject.c')
0 files changed, 0 insertions, 0 deletions