Am 19.10.2012 18:23, schrieb Maciej Fijalkowski: > Nick just said it's a bug that cmath type checks are too strict. I'm not so sure about that. cmath just uses PyArg_ParseTuple with "D" which itself relies upon PyComplex_AsCComplex(). D (complex) [Py_complex] Convert a Python complex number to a C Py_complex structure. In order to fix the bug the code in PyComplex_AsCComplex() must be altered to support float as return type from __complex__(). That's a major change. Christian
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4