commit | 0eb2a6e974d6862ce5d691f30ec9cc9dae5c9074 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Tue Oct 09 11:07:24 2001 +0000 |
committer | Guido van Rossum <guido@python.org> | Tue Oct 09 11:07:24 2001 +0000 |
tree | 846f06f528c49f5ddeb8135aa9182e404c4de97e | |
parent | 1dbce44b91426712f5a904c8c52fbde21c7bd79c [diff] |
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.