New submission from handle <ke1...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue33250>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to