Skip to content

pdbrc is read twice if current directory is the home directoryΒ #80744

Closed

Description

@blueyed
mannequin
BPO 36563
Nosy @blueyed
PRs
  • gh-80744: pdb: do not read .pdbrc twice when in $HOMEΒ #12731
  • 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 = None
    created_at = <Date 2019-04-08.16:31:36.019>
    labels = ['library', '3.9']
    title = 'pdbrc is read twice if current directory is the home directory'
    updated_at = <Date 2019-04-08.16:35:02.595>
    user = 'https://github.com/blueyed'

    bugs.python.org fields:

    activity = <Date 2019-04-08.16:35:02.595>
    actor = 'blueyed'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2019-04-08.16:31:36.019>
    creator = 'blueyed'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 36563
    keywords = ['patch']
    message_count = 1.0
    messages = ['339657']
    nosy_count = 1.0
    nosy_names = ['blueyed']
    pr_nums = ['12731']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue36563'
    versions = ['Python 3.9']

    Linked PRs

    Activity

    1. blueyed commented on Apr 8, 2019

      blueyedmannequin
      MannequinAuthor

      If $HOME is $PWD, .pdbrc is read twice.

      This confused me when seeing intentional errors from there twice during tests.

      It should be only read once.

    2. added
      stdlibStandard Library Python modules in the Lib/ directory
      on Apr 8, 2019
    3. changed the title [-]pdbrc home twice[/-] [+]pdbrc is read twice if current directory is the home directory[/+] on Apr 8, 2019
    4. transferred this issue fromon Apr 10, 2022
    5. added a commit that references this issue on Jul 19, 2025
    6. added a commit that references this issue on Jul 20, 2025
    7. added a commit that references this issue on Dec 21, 2025
    8. added a commit that references this issue on Dec 22, 2025
    9. saucoide commented on Feb 18, 2026

      @saucoide
      Contributor

      This could be closed since #136816 was merged last year, as well the original PR #136816 can be closed too

    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

      stdlibStandard Library Python modules in the Lib/ directory

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions