[issue18918] help('FILES') finds no documentation
New submission from bussau: 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 ---------- assignee: docs@python components: Documentation, Interpreter Core messages: 196888 nosy: docs@python, st.sempert@gmail.com priority: normal severity: normal status: open title: help('FILES') finds no documentation type: behavior versions: Python 2.7 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue18918> _______________________________________
Ramchandra Apte added the comment: I am able to reproduce on Python 3.3 as well. ---------- components: -Interpreter Core nosy: +Ramchandra Apte versions: +Python 3.3, Python 3.4 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue18918> _______________________________________
Changes by Ezio Melotti <ezio.melotti@gmail.com>: ---------- keywords: +easy nosy: +ezio.melotti stage: -> needs patch _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue18918> _______________________________________
Changes by Mike Hoy <mhoy09@gmail.com>: ---------- nosy: +mikehoy _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue18918> _______________________________________
Claudiu.Popa added the comment: 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). ---------- keywords: +patch nosy: +Claudiu.Popa Added file: http://bugs.python.org/file31809/pydoc_files.patch _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue18918> _______________________________________
Changes by Ezio Melotti <ezio.melotti@gmail.com>: ---------- nosy: +georg.brandl stage: needs patch -> patch review _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue18918> _______________________________________
Changes by Terry J. Reedy <tjreedy@udel.edu>: ---------- nosy: +terry.reedy _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue18918> _______________________________________
Roundup Robot added the comment: 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 ---------- nosy: +python-dev _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue18918> _______________________________________
Serhiy Storchaka added the comment: Fixed in Python 3. Thanks Claudiu. But it is not clear why this topic is absent in 2.7. ---------- nosy: +serhiy.storchaka versions: -Python 3.3, Python 3.4 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue18918> _______________________________________
Roundup Robot added the comment: New changeset 0792a0ad7f22 by Senthil Kumaran in branch '2.7': Fix issue18918 : Attach the pydoc documentation for 'FILES' topic. https://hg.python.org/cpython/rev/0792a0ad7f22 ---------- _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue18918> _______________________________________
Senthil Kumaran added the comment: 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. ---------- nosy: +orsenthil resolution: -> fixed stage: patch review -> resolved status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue18918> _______________________________________
participants (9)
-
bussau
-
Claudiu.Popa
-
Ezio Melotti
-
Mike Hoy
-
Ramchandra Apte
-
Roundup Robot
-
Senthil Kumaran
-
Serhiy Storchaka
-
Terry J. Reedy