[issue33250] Move VERSION attribute output up in pydoc (via help() builtin)
handle
report at bugs.python.org
Mon Apr 9 09:29:07 EDT 2018
New submission from handle <ke13bd at gmail.com>:
I'd like to suggest moving the output of a modules version, e.g.
VERSION
__version__
up as it can "buried" by PACKAGE CONTENTS and DATA items.
https://github.com/python/cpython/blob/3.6/Lib/pydoc.py#L1181
The other attributes (date, author, credits) could be moved up, too, e.g. to https://github.com/python/cpython/blob/3.6/Lib/pydoc.py#L1117
Of course this depends on the use case (what are we looking for), but assuming these attributes are rather limited and constant in size, they would not be blocking access to the further items.
----------
components: Library (Lib)
messages: 315128
nosy: handle
priority: normal
severity: normal
status: open
title: Move VERSION attribute output up in pydoc (via help() builtin)
type: enhancement
versions: Python 3.6
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33250>
_______________________________________
More information about the Python-bugs-list
mailing list