[issue28203] complex() gives wrong error when the second argument has an invalid type
Mark Dickinson
report at bugs.python.org
Sat Sep 24 10:32:59 EDT 2016
Mark Dickinson added the comment:
Fixed; thanks. I made a couple of changes:
- Use "argument" rather than "arg", to be consistent with the original code (but admittedly not consistent with the rest of the module, where there doesn't seem to be any consistent choice between "arg" and "argument").
- Reformat C and test code to avoid long lines.
- Slight rearrangement of the C code so that all of the "i" handling is in one place.
----------
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28203>
_______________________________________
More information about the Python-bugs-list
mailing list