]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Add extra check on whether 'tp_as_number' is still non-NULL after coercion,
authorThomas Wouters <thomas@python.org>
Wed, 23 Aug 2000 23:16:10 +0000 (23:16 +0000)
committerThomas Wouters <thomas@python.org>
Wed, 23 Aug 2000 23:16:10 +0000 (23:16 +0000)
commitbf6cfa5f8ee803797b28d15767fddda88076a69b
tree2a31ed1f0df9c78872c2e023190a75f886156289
parent635f6fb0e9fade3c734d650951815682b08bbec2
Add extra check on whether 'tp_as_number' is still non-NULL after coercion,
in the PyNumber_* functions. Also, remove unnecessary tests from
PyNumber_Multiply: after BINOP(), neither argument can be an instance.
Objects/abstract.c