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

SourceForge.net noreply at sourceforge.net
Sun Aug 22 23:10:05 CEST 2004


Bugs item #1013908, was opened at 2004-08-22 20:57
Message generated for change (Comment added) made by loewis
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: Closed
>Resolution: Fixed
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.

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

>Comment By: Martin v. Löwis (loewis)
Date: 2004-08-22 23:10

Message:
Logged In: YES 
user_id=21627

Fixed in

test_complex.py 1.15
complexobject.c 2.72


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

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