Bug 36622

Summary: help() doesn't show the reference URL on x86_64
Product: Sisyphus Reporter: Ivan Zakharyaschev <imz>
Component: python3-baseAssignee: Grigory Ustinov <grenka>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: minor    
Priority: P3 CC: george, glebfm, grenka, imz, vitty
Version: unstable   
Hardware: all   
OS: Linux   

Description Ivan Zakharyaschev 2019-04-18 09:42:15 MSK
python3-base-3.6.8-alt1

Since our lib64 patch is derived from Fedora's one, the fix for this problem (in pydoc.py) could be sent to Fedora, too.

Compare:

-bash-4.3$ hsh ~/hasher2/ --number=2 --apt-conf=/home/imz/.hasher/sisyphus-i586/apt.conf --target=i586 --ini && hsh-install ~/hasher2/ python3-modules-curses && hsh-run ~/hasher2/ -- python3 -c 'import curses; help(curses)' | head
Help on package curses:

NAME
    curses - curses

MODULE REFERENCE
    https://docs.python.org/3.6/library/curses
    
    The following documentation is automatically generated from the Python
    source files.  It may be incomplete, incorrect or include features that

-bash-4.3$ hsh ~/hasher2/ --number=2 --apt-conf=/home/imz/.hasher/sisyphus/apt.conf --ini && hsh-install ~/hasher2/ python3-modules-curses && hsh-run ~/hasher2/ -- python3 -c 'import curses; help(curses)' | head
Help on package curses:

NAME
    curses - curses

DESCRIPTION
    The main package for curses support for Python.  Normally used by importing
    the package, and perhaps a particular module inside it.
    
       import curses
Comment 1 Repository Robot 2020-03-10 14:10:22 MSK
python3-3.8.1-alt1 -> sisyphus:

 Fri Jan 24 2020 Grigory Ustinov <grenka@altlinux> 3.8.1-alt1
 - Updated to upstream version 3.8.1.
 - Restructured patching scheme about lib64 and site-packages.
 - Add Requires on tcl-tix (thx to vseleznv@).
 - Translate idle desktop file (Closes: #37307).
 - platform._supported_dists deprecated since 3.5 now vanished (Closes: #33677).
 - help() now shows MODULE REFERENCE on 64bit systems (Closes: #36622).
 Fri Jan 24 2020 Anton V. Boyarshinov <boyarsh@altlinux> 3.7.4-alt3
 - hackaround forbidden python-base dep
 - 'Trusted mode': optional modules loading paths restriction