Issue 27882: Python docs on 9.2 Math module lists math.log2 as function but it does not exist (original) (raw)

Issue27882

Created on 2016-08-28 03:38 by PyRW, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
docbugmathlog2.jpg PyRW,2016-08-28 03:45
Messages (3)
msg273805 - (view) Author: Anilyka Barry (abarry) * (Python triager) Date: 2016-08-28 04:24
The function does definitely exist for me. Please make sure your Python version is up-to-date. Also, please post a short summary of the issue, and avoid screenshots whenever possible; it's more work for you, makes it harder for us to reproduce/follow (need to manually type everything back), and makes it impossible for the blind and visually impaired to participate. Thanks!
msg273812 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2016-08-28 07:31
Also, check your Python version to make sure that you're running Python 3.3 or later.
msg273871 - (view) Author: Mark Dickinson (mark.dickinson) * (Python committer) Date: 2016-08-29 16:42
Closing. The docs are correct for the corresponding version of Python: math.log2 is new in Python 3.3, and the entry for math.log2 is there in Python 3.3 but not Python 3.2 or Python 2.7. @PyRW: It looks as though this is simply a version mismatch (looking at the wrong docs for the Python version you're using). If you double check `sys.version` and find that math.log2 still appears to be missing even on Python >= 3.3, feel free to reopen this issue with more information.
History
Date User Action Args
2022-04-11 14:58:35 admin set github: 72069
2016-08-29 16:42:08 mark.dickinson set status: pending -> closednosy: + mark.dickinsonmessages: + resolution: not a bugstage: resolved
2016-08-28 09:37:33 serhiy.storchaka set status: open -> pending
2016-08-28 07:31:35 rhettinger set status: pending -> opennosy: + rhettingermessages: +
2016-08-28 04:24:55 abarry set status: open -> pendingnosy: + abarrymessages: + assignee: docs@python -> components: - Documentation
2016-08-28 03:45:54 PyRW set files: + docbugmathlog2.jpg
2016-08-28 03:43:45 PyRW set title: Python docs on 9.52 Math module lists math.log2 as function but it does not exist -> Python docs on 9.2 Math module lists math.log2 as function but it does not exist
2016-08-28 03:43:24 PyRW set title: Python docs on 3.52 Math module lists math.log2 as function but it does not exist -> Python docs on 9.52 Math module lists math.log2 as function but it does not exist
2016-08-28 03:38:06 PyRW create