Skip to content

readline history file is hard-coded #82972

Closed

Description

@jonathan-conder
BPO 38791
Nosy @Yhg1s, @pmp-p, @ZackerySpytz, @jonathan-conder
PRs
  • bpo-38791: Add readline history environment variable #17149
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2019-11-14.07:51:12.907>
    created_at = <Date 2019-11-14.04:25:55.293>
    labels = ['3.8', '3.7', 'library', '3.9']
    title = 'readline history file is hard-coded'
    updated_at = <Date 2019-11-14.07:51:12.904>
    user = 'https://github.com/jonathan-conder'

    bugs.python.org fields:

    activity = <Date 2019-11-14.07:51:12.904>
    actor = 'jconder'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-11-14.07:51:12.907>
    closer = 'jconder'
    components = ['Library (Lib)']
    creation = <Date 2019-11-14.04:25:55.293>
    creator = 'jconder'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 38791
    keywords = ['patch']
    message_count = 3.0
    messages = ['356573', '356581', '356584']
    nosy_count = 4.0
    nosy_names = ['twouters', 'pmpp', 'ZackerySpytz', 'jconder']
    pr_nums = ['17149']
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue38791'
    versions = ['Python 3.5', 'Python 3.6', 'Python 3.7', 'Python 3.8', 'Python 3.9']

    Activity

    1. jonathan-conder commented on Nov 14, 2019

      jonathan-condermannequin
      MannequinAuthor

      Other tools such as bash and less allow their history file to be customised with an environment variable. Will add a patch for this in a bit.

      This could also be customised using PYTHONSTARTUP, but then the user has to duplicate a bunch of code which is already part of the site module.

    2. ZackerySpytz commented on Nov 14, 2019

      ZackerySpytzmannequin
      Mannequin

      This issue seems like a duplicate of bpo-29779 (which has a pull request).

    3. jonathan-conder commented on Nov 14, 2019

      jonathan-condermannequin
      MannequinAuthor

      I agree. Did a cursory search before posting but missed it somehow

    4. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of life3.8 (EOL)end of life3.9 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directory

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions