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

spurious space after opening parenthesis when auto-completing #50242

Closed
pitrou opened this issue May 10, 2009 · 3 comments
Closed

spurious space after opening parenthesis when auto-completing #50242

pitrou opened this issue May 10, 2009 · 3 comments
Labels
type-bug An unexpected behavior, bug, or error

Comments

@pitrou
Copy link
Member

pitrou commented May 10, 2009

BPO 5992
Nosy @terryjreedy, @pitrou
Superseder
  • bpo-5833: readline update
  • 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 2009-07-27.13:50:30.965>
    created_at = <Date 2009-05-10.23:56:49.244>
    labels = ['type-bug']
    title = 'spurious space after opening parenthesis when auto-completing'
    updated_at = <Date 2009-07-27.13:50:30.951>
    user = 'https://github.com/pitrou'

    bugs.python.org fields:

    activity = <Date 2009-07-27.13:50:30.951>
    actor = 'pitrou'
    assignee = 'none'
    closed = True
    closed_date = <Date 2009-07-27.13:50:30.965>
    closer = 'pitrou'
    components = []
    creation = <Date 2009-05-10.23:56:49.244>
    creator = 'pitrou'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 5992
    keywords = []
    message_count = 3.0
    messages = ['87558', '87853', '87865']
    nosy_count = 2.0
    nosy_names = ['terry.reedy', 'pitrou']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'needs patch'
    status = 'closed'
    superseder = '5833'
    type = 'behavior'
    url = 'https://bugs.python.org/issue5992'
    versions = ['Python 3.1', 'Python 2.7']

    @pitrou
    Copy link
    Member Author

    pitrou commented May 10, 2009

    Recent trunk/py3k revisions add a spurious space character after the
    opening parenthesis when doing completion at the interpreter prompt. For
    example if you type "he" and then press the Tab key, it will display
    "help( " instead of "help(".

    @pitrou pitrou added release-blocker type-bug An unexpected behavior, bug, or error and removed release-blocker labels May 10, 2009
    @terryjreedy
    Copy link
    Member

    What system are you using?  On Windows 3.0.1, standard interpreter window,
    'h' 'e' '<tab>' prints 'h' 'e' ' ' ' ' (making, with '>>> ', 8 chars.
    Which is to say, there is no tab completion.

    On IDLE, same brings up box and <tab> <tab> completes to 'help'

    @pitrou
    Copy link
    Member Author

    pitrou commented May 16, 2009

    This is with readline and rlcompleter enabled.
    However, it actually does this with the installed system Python too, so
    I fear some system-specific problem (perhaps a buggy readline library).

    @pitrou pitrou closed this as completed Jul 27, 2009
    @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
    type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants