This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: comments to clarify complexobject.c
Type: Stage:
Components: Interpreter Core Versions: Python 2.5
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: georg.brandl, jimjjewett
Priority: normal Keywords: patch

Created on 2007-01-23 19:34 by jimjjewett, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
complexobject.c.diff.txt jimjjewett, 2007-01-23 19:34 no behavior change expected
Messages (3)
msg51791 - (view) Author: Jim Jewett (jimjjewett) Date: 2007-01-23 19:34
The constructor for a complex takes two values, representing the real and imaginary parts.  Obviously, these should normally both be real numbers, but they don't have to be.  The code to cater to complex arguments led to even Tim Peters asking WTF?

http://mail.python.org/pipermail/python-dev/2007-January/070732.html

This patch just adds comments.
msg51792 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2007-01-27 08:48
Let Tim decide whether these are useful.
msg51793 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2007-03-13 07:58
Committed in rev. 54325.
History
Date User Action Args
2022-04-11 14:56:22adminsetgithub: 44497
2007-01-23 19:34:28jimjjewettcreate