Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
blueyed mannequin opened this issue Apr 8, 2019 · 1 comment
Open

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

blueyed mannequin opened this issue Apr 8, 2019 · 1 comment
Labels
3.9 only security fixes stdlib Python modules in the Lib dir

Comments

@blueyed
Copy link
Mannequin

blueyed mannequin commented Apr 8, 2019

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']

    @blueyed
    Copy link
    Mannequin Author

    blueyed mannequin commented Apr 8, 2019

    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.

    @blueyed blueyed mannequin added stdlib Python modules in the Lib dir 3.9 only security fixes labels Apr 8, 2019
    @blueyed blueyed mannequin changed the title pdbrc home twice pdbrc is read twice if current directory is the home directory Apr 8, 2019
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.9 only security fixes stdlib Python modules in the Lib dir
    Projects
    None yet
    Development

    No branches or pull requests

    0 participants