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.

Author pbrod
Recipients eric.smith, lemburg, mark.dickinson, pbrod, pitrou, stutzbach, vstinner
Date 2015-04-25.15:13:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1429974788.95.0.154117362318.issue22544@psf.upfronthosting.co.za>
In-reply-to
Content
This is not only a problem for division. It also applies to multiplication as exemplified here:

>>> complex(0,inf)+1  # expect 1 + infj
Out[16]: (1+infj)

>>> (complex(0,inf)+1)*1  # expect 1 + infj
Out[17]: (nan+infj)

>>> complex(inf, 0) + 1j  # expect inf + 1j
Out[18]: (inf+1j)

>>> (complex(inf, 0)+1j)*1  # expect inf + 1j
Out[19]: (inf, nanj)
History
Date User Action Args
2015-04-25 15:13:09pbrodsetrecipients: + pbrod, lemburg, mark.dickinson, pitrou, vstinner, eric.smith, stutzbach
2015-04-25 15:13:08pbrodsetmessageid: <1429974788.95.0.154117362318.issue22544@psf.upfronthosting.co.za>
2015-04-25 15:13:08pbrodlinkissue22544 messages
2015-04-25 15:13:08pbrodcreate