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

MS Windows - module search path fix #42158

Closed
thanan mannequin opened this issue Jul 4, 2005 · 2 comments
Closed

MS Windows - module search path fix #42158

thanan mannequin opened this issue Jul 4, 2005 · 2 comments

Comments

@thanan
Copy link
Mannequin

thanan mannequin commented Jul 4, 2005

BPO 1232023
Nosy @loewis
Files
  • module_search_pathfix.patch: Initial module search path fix - Windows
  • 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 2006-07-24.11:55:47.000>
    created_at = <Date 2005-07-04.05:57:28.000>
    labels = ['OS-windows']
    title = 'MS Windows - module search path fix'
    updated_at = <Date 2006-07-24.11:55:47.000>
    user = 'https://bugs.python.org/thanan'

    bugs.python.org fields:

    activity = <Date 2006-07-24.11:55:47.000>
    actor = 'loewis'
    assignee = 'none'
    closed = True
    closed_date = None
    closer = None
    components = ['Windows']
    creation = <Date 2005-07-04.05:57:28.000>
    creator = 'thanan'
    dependencies = []
    files = ['6726']
    hgrepos = []
    issue_num = 1232023
    keywords = ['patch']
    message_count = 2.0
    messages = ['48567', '48568']
    nosy_count = 2.0
    nosy_names = ['loewis', 'thanan']
    pr_nums = []
    priority = 'normal'
    resolution = 'accepted'
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue1232023'
    versions = ['Python 2.4']

    @thanan
    Copy link
    Mannequin Author

    thanan mannequin commented Jul 4, 2005

    Module search path initialization code for Windows (PC)
    contains empty component(s) if Python home is
    determined and
    registry key "Software/Python/PythonCore/<Python
    Version>/PythonPath" of HKLM or HKCU exists but does
    not any subkeys as usually the case. This(ese) empyt
    componentes
    transformed into current directory later causing to
    load modules in the current directory in preference to
    modules in the installation.

    This patch removes this(ese) empty component(s) from
    initial module search path.

    @thanan thanan mannequin closed this as completed Jul 4, 2005
    @thanan thanan mannequin added the OS-windows label Jul 4, 2005
    @loewis
    Copy link
    Mannequin

    loewis mannequin commented Jul 24, 2006

    Logged In: YES
    user_id=21627

    Thanks for the patch. Committed as r50796 (for 2.5)
    I won't backport this to 2.4.x, as this change in behaviour
    might break existing installations.

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 9, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    None yet
    Development

    No branches or pull requests

    0 participants