Issue 18918: help('FILES') finds no documentation (original) (raw)

process

Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: Claudiu.Popa, Ramchandra Apte, docs@python, ezio.melotti, georg.brandl, mikehoy, orsenthil, python-dev, serhiy.storchaka, st.sempert@gmail.com, terry.reedy
Priority: normal Keywords: easy, patch

Created on 2013-09-04 04:40 by st.sempert@gmail.com, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
pydoc_files.patch Claudiu.Popa,2013-09-18 17:15 review
Messages (7)
msg196888 - (view) Author: bussau (st.sempert@gmail.com) Date: 2013-09-04 04:40
Calling for help() about the topic 'FILES' returns no documentation found for 'FILES' ------------------------------ Python 2.7.3 (default, Apr 14 2012, 08:58:41) [GCC] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> help('topics') Here is a list of available topics. Enter any topic name to get more help. ASSERTION DEBUGGING LITERALS SEQUENCEMETHODS2 ASSIGNMENT DELETION LOOPING SEQUENCES ATTRIBUTEMETHODS DICTIONARIES MAPPINGMETHODS SHIFTING ATTRIBUTES DICTIONARYLITERALS MAPPINGS SLICINGS AUGMENTEDASSIGNMENT DYNAMICFEATURES METHODS SPECIALATTRIBUTES BACKQUOTES ELLIPSIS MODULES SPECIALIDENTIFIERS BASICMETHODS EXCEPTIONS NAMESPACES SPECIALMETHODS BINARY EXECUTION NONE STRINGMETHODS BITWISE EXPRESSIONS NUMBERMETHODS STRINGS BOOLEAN FILES NUMBERS SUBSCRIPTS CALLABLEMETHODS FLOAT OBJECTS TRACEBACKS CALLS FORMATTING OPERATORS TRUTHVALUE CLASSES FRAMEOBJECTS PACKAGES TUPLELITERALS CODEOBJECTS FRAMES POWER TUPLES COERCIONS FUNCTIONS PRECEDENCE TYPEOBJECTS COMPARISON IDENTIFIERS PRINTING TYPES COMPLEX IMPORTING PRIVATENAMES UNARY CONDITIONAL INTEGER RETURNING UNICODE CONTEXTMANAGERS LISTLITERALS SCOPING CONVERSIONS LISTS SEQUENCEMETHODS1 >>> help('FILES') no documentation found for 'FILES' -------------------------------------------------------- best regards stephan
msg196890 - (view) Author: Ramchandra Apte (Ramchandra Apte) * Date: 2013-09-04 05:49
I am able to reproduce on Python 3.3 as well.
msg198027 - (view) Author: PCManticore (Claudiu.Popa) * (Python triager) Date: 2013-09-18 17:15
Hello. The 'File objects' section was removed in Python 3, with this issue http://bugs.python.org/issue7508, but not the topic from pydoc.py. As I understand, there is no point in having this, because there isn't a `file` type anymore. The attached patched removes the `FILES` topic, which used an undefined reference ('bltin-file-objects', removed in the mentioned issue).
msg219080 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2014-05-25 10:05
New changeset 3fa76139c908 by Serhiy Storchaka in branch '3.4': Issue #18918: Removed non-existing topic from a list of available topics. http://hg.python.org/cpython/rev/3fa76139c908 New changeset e5bac5b2f38d by Serhiy Storchaka in branch 'default': Issue #18918: Removed non-existing topic from a list of available topics. http://hg.python.org/cpython/rev/e5bac5b2f38d
msg219081 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2014-05-25 10:13
Fixed in Python 3. Thanks Claudiu. But it is not clear why this topic is absent in 2.7.
msg257600 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2016-01-06 11:54
New changeset 0792a0ad7f22 by Senthil Kumaran in branch '2.7': Fix : Attach the pydoc documentation for 'FILES' topic. https://hg.python.org/cpython/rev/0792a0ad7f22
msg257601 - (view) Author: Senthil Kumaran (orsenthil) * (Python committer) Date: 2016-01-06 11:57
The bltin-file-objects was not referenced in pyspecific.py from which this data was generated. Added it and fixed it. Verified that it is available in 2.7 now.
History
Date User Action Args
2022-04-11 14:57:50 admin set github: 63118
2016-01-06 11:57:41 orsenthil set status: open -> closednosy: + orsenthilmessages: + resolution: fixedstage: patch review -> resolved
2016-01-06 11:54:26 python-dev set messages: +
2014-05-25 10:13:33 serhiy.storchaka set nosy: + serhiy.storchakamessages: + versions: - Python 3.3, Python 3.4
2014-05-25 10:05:03 python-dev set nosy: + python-devmessages: +
2013-12-14 01:35:29 terry.reedy set nosy: + terry.reedy
2013-10-19 04:44:20 ezio.melotti set nosy: + georg.brandlstage: needs patch -> patch review
2013-09-18 17:15:43 Claudiu.Popa set files: + pydoc_files.patchnosy: + Claudiu.Popamessages: + keywords: + patch
2013-09-18 02:25:31 mikehoy set nosy: + mikehoy
2013-09-07 12:28:35 ezio.melotti set keywords: + easynosy: + ezio.melottistage: needs patch
2013-09-04 05:49:15 Ramchandra Apte set versions: + Python 3.3, Python 3.4nosy: + Ramchandra Aptemessages: + components: - Interpreter Core
2013-09-04 04:40:20 st.sempert@gmail.com create