]> granicus.if.org Git - python/commit
It turned out not so difficult to support old-style numbers (those
authorGuido van Rossum <guido@python.org>
Tue, 9 Oct 2001 11:07:24 +0000 (11:07 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 9 Oct 2001 11:07:24 +0000 (11:07 +0000)
commit0eb2a6e974d6862ce5d691f30ec9cc9dae5c9074
tree846f06f528c49f5ddeb8135aa9182e404c4de97e
parent1dbce44b91426712f5a904c8c52fbde21c7bd79c
It turned out not so difficult to support old-style numbers (those
without the Py_TPFLAGS_CHECKTYPES flag) in the wrappers.  This
required a few changes in test_descr.py to cope with the fact that the
complex type has __int__, __long__ and __float__ methods that always
raise an exception.
Lib/test/test_descr.py
Objects/typeobject.c