Issue 826074: cmath.log optional base argument, fixes #823209 (original) (raw)

Issue826074

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.

This issue has been migrated to GitHub: https://github.com/python/cpython/issues/39430

classification

Title: cmath.log optional base argument, fixes #823209
Type: Stage:
Components: Extension Modules Versions: Python 2.4

process

Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: rhettinger Nosy List: gaul, rhettinger, tim.peters
Priority: normal Keywords: patch

Created on 2003-10-18 18:42 by gaul, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
cmath_log.diff gaul,2003-10-18 18:42 cmath.log optional base argument
Messages (4)
msg44806 - (view) Author: Andrew Gaul (gaul) Date: 2003-10-18 18:42
Fixes bug #823209. math.log allows an optional base argument, add the same functionality to cmath.log.
msg44807 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2004-01-01 07:33
Logged In: YES user_id=80475 Tim, should this be done?
msg44808 - (view) Author: Tim Peters (tim.peters) * (Python committer) Date: 2004-01-02 05:36
Logged In: YES user_id=31435 I don't really care. I see the referenced bug report had a marginal use case; OTOH, I can't afford the time to analyze this for numeric quality and robustness (but almost all of cmathmodule is in the same boat wrt that, so that's not much of an argument against it). The patch needs new tests and doc changes, of course.
msg44809 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2004-06-14 07:42
Logged In: YES user_id=80475 Modified argument passing to use PyArg_ParseTuple(). Applied as Modules/cmathmodule.c 2.33
History
Date User Action Args
2022-04-11 14:56:00 admin set github: 39430
2003-10-18 18:42:21 gaul create