diff options
author | Nadeem Vawda <nadeem.vawda@gmail.com> | 2011-09-07 21:40:26 +0200 |
---|---|---|
committer | Nadeem Vawda <nadeem.vawda@gmail.com> | 2011-09-07 21:40:26 +0200 |
commit | 3d5881ec2b600d59c38ca757ecdbfaf6c7d976cf (patch) | |
tree | 56fe5975d6856ad3f89daa74988a5f66221eda4a /Python/dynamic_annotations.c | |
parent | 425fcd3045708a6e8ce1c15c6950101d2523dd59 (diff) | |
download | cpython-git-3d5881ec2b600d59c38ca757ecdbfaf6c7d976cf.tar.gz |
Issue #12909: Make PyLong_As* functions consistent in their use of exceptions.
PyLong_AsDouble() and PyLong_AsUnsignedLongLong() now raise TypeError (rather
than SystemError) when passed a non-integer argument, matching the behavior of
all the other PyLong_As*() functions.
Diffstat (limited to 'Python/dynamic_annotations.c')
0 files changed, 0 insertions, 0 deletions