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.

classification
Title: Move VERSION attribute output up in pydoc (via help() builtin)
Type: enhancement Stage:
Components: Library (Lib) Versions: Python 3.6
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: handle
Priority: normal Keywords:

Created on 2018-04-09 13:29 by handle, last changed 2022-04-11 14:58 by admin.

Messages (1)
msg315128 - (view) Author: handle (handle) Date: 2018-04-09 13:29
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.
History
Date User Action Args
2022-04-11 14:58:59adminsetgithub: 77431
2018-04-09 13:29:07handlecreate