diff options
| author | Nadeem Vawda <nadeem.vawda@gmail.com> | 2011-09-07 19:40:26 (GMT) |
|---|---|---|
| committer | Nadeem Vawda <nadeem.vawda@gmail.com> | 2011-09-07 19:40:26 (GMT) |
| commit | 3d5881ec2b600d59c38ca757ecdbfaf6c7d976cf (patch) | |
| tree | 56fe5975d6856ad3f89daa74988a5f66221eda4a /Python/getargs.c | |
| parent | 425fcd3045708a6e8ce1c15c6950101d2523dd59 (diff) | |
| download | cpython-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 'Python/getargs.c')
0 files changed, 0 insertions, 0 deletions
