commit | 3f91437e5fa9d48522a3b9c5c7eb9f8b4ff75efb | [log] [tgz] |
---|---|---|
author | Eric Smith <eric@trueblade.com> | Fri Feb 15 12:14:32 2008 +0000 |
committer | Eric Smith <eric@trueblade.com> | Fri Feb 15 12:14:32 2008 +0000 |
tree | d9bf76b87e281a44ef21e512a57cef100cf987f0 | |
parent | 7adfad850a50722464775d57b5d16b850ecab56a [diff] |
In PyNumber_ToBase, changed from an assert to returning an error when PyObject_Index() returns something other than an int or long. It should never be possible to trigger this, as PyObject_Index checks to make sure it returns an int or long.