[ python-Bugs-1013908 ] Error in representation of complex numbers

SourceForge.net noreply at sourceforge.net
Sun Aug 22 20:57:32 CEST 2004


Bugs item #1013908, was opened at 2004-08-22 13:57
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1013908&group_id=5470

Category: Python Interpreter Core
Group: Python 2.4
Status: Open
Resolution: None
Priority: 7
Submitted By: Raymond Hettinger (rhettinger)
Assigned to: Martin v. Löwis (loewis)
Summary: Error in representation of complex numbers

Initial Comment:
>>> 1-2j
(1+-2j)

This was introduced in Objects/complexobject.c 2.71
checked in by MvL on June 8, 2004.  It is causing the
doctests to fail on some of my apps.

Recommend introducing an alternate path when the
imaginary component is negative.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1013908&group_id=5470


More information about the Python-bugs-list mailing list