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 vstinner
Recipients arnaudc, docs@python, mark.dickinson, pitrou, python-dev, skrah, vstinner
Date 2011-12-18.00:46:36
SpamBayes Score 0.0053773792
Marked as misclassified No
Message-id <1324169196.77.0.976411153859.issue13522@psf.upfronthosting.co.za>
In-reply-to
Content
_Py_c_pow() doc is wrong:

+   If :attr:`exp.imag` is not null, or :attr:`exp.real` is negative,
+   this method returns zero and sets :c:data:`errno` to :c:data:`EDOM`.

The function only fails if num=0 and exp.real < 0 or if num=0 and exp.imag != 0.
History
Date User Action Args
2011-12-18 00:46:36vstinnersetrecipients: + vstinner, mark.dickinson, pitrou, skrah, docs@python, python-dev, arnaudc
2011-12-18 00:46:36vstinnersetmessageid: <1324169196.77.0.976411153859.issue13522@psf.upfronthosting.co.za>
2011-12-18 00:46:36vstinnerlinkissue13522 messages
2011-12-18 00:46:36vstinnercreate