Skip to content

Fallback to pydoc if site._Helper is not defined #2606

Description

@eudoxos

ipython uses site._Helper as help() function. In some cases (specifically, when running in frozen pyInstaller setup), site.py is not have the same implementation as the one shipped with cpython. Since site._Helper is an internal function (leading underscore), there should be a fallback in case of ImporrError implementing site._Helper locally (http://hg.python.org/cpython/file/cf606c403f14/Lib/site.py#l445)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions