Skip to content

Import rlcompleter before sys.path is extended #92345

Closed
@tiran

Description

@tiran

Python should import rlcompleter module with readline module before sys.path gets extended. This prevents accidentally shadowing of readline and rlcompleter modules when the current working directory contains a Python file with the same name.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions