commit | 3d5881ec2b600d59c38ca757ecdbfaf6c7d976cf | [log] [tgz] |
---|---|---|
author | Nadeem Vawda <nadeem.vawda@gmail.com> | Wed Sep 07 21:40:26 2011 +0200 |
committer | Nadeem Vawda <nadeem.vawda@gmail.com> | Wed Sep 07 21:40:26 2011 +0200 |
tree | 56fe5975d6856ad3f89daa74988a5f66221eda4a | |
parent | 425fcd3045708a6e8ce1c15c6950101d2523dd59 [diff] |
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.