summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorNadeem Vawda <nadeem.vawda@gmail.com>2011-09-07 19:40:26 (GMT)
committerNadeem Vawda <nadeem.vawda@gmail.com>2011-09-07 19:40:26 (GMT)
commit3d5881ec2b600d59c38ca757ecdbfaf6c7d976cf (patch)
tree56fe5975d6856ad3f89daa74988a5f66221eda4a /Tools
parent425fcd3045708a6e8ce1c15c6950101d2523dd59 (diff)
downloadcpython-3d5881ec2b600d59c38ca757ecdbfaf6c7d976cf.zip
cpython-3d5881ec2b600d59c38ca757ecdbfaf6c7d976cf.tar.gz
cpython-3d5881ec2b600d59c38ca757ecdbfaf6c7d976cf.tar.bz2
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 'Tools')
0 files changed, 0 insertions, 0 deletions