| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
(cherry picked from commit 72dccd6) Co-authored-by: sobolevn <mail@sobolevn.me> Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com> Co-authored-by: Petr Viktorin <encukou@gmail.com>
There was a problem hiding this comment.
One remark on PyComplex_ImagAsDouble(). The rest LGTM.
Sorry, something went wrong.
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
| Back | FazBrowse Home | New Git URL |
(cherry picked from commit 72dccd6)
Since PyComplex_RealAsDouble uses PyFloat_AsDouble, it can still fail there:
cpython/Objects/complexobject.c
Lines 258 to 267 in a15ed56
While PyComplex_ImagAsDouble is always successful:
cpython/Objects/complexobject.c
Lines 269 to 278 in a15ed56
📚 Documentation preview 📚: https://cpython-previews--121897.org.readthedocs.build/