Issue 10625: There is no test for repr(complex(-0.,1.)) special handling (original) (raw)

Issue10625

Created on 2010-12-04 13:24 by eric.smith, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (3)
msg123348 - (view) Author: Eric V. Smith (eric.smith) * (Python committer) Date: 2010-12-04 13:24
There's a special test in the C code for this, but there no test for it in test_complex. Note that this needs to be a IEEE 754 specific test.
msg123350 - (view) Author: Eric V. Smith (eric.smith) * (Python committer) Date: 2010-12-04 13:35
Technically the special handling in complex_repr() is for +0, but there needs to be a test both ways.
msg123360 - (view) Author: Eric V. Smith (eric.smith) * (Python committer) Date: 2010-12-04 15:26
Checked-in in r87044.
History
Date User Action Args
2022-04-11 14:57:09 admin set github: 54834
2010-12-04 15:26:41 eric.smith set status: open -> closedresolution: acceptedmessages: + stage: resolved
2010-12-04 13:35:39 eric.smith set messages: +
2010-12-04 13:33:25 mark.dickinson set nosy: + mark.dickinson
2010-12-04 13:24:31 eric.smith create