Skip to content

ipython==8.8.0 has weird tab completion bug #13935

@suewonjp

Description

@suewonjp
self.my_attr.my_method(self.f<tab>

Becomes:

self.my_attr.my_method(self.my_attr.my_method(self.foo

It looks like it would grab and prepend the front part of the line.

Workaround

Rolling back to 8.7.0 solves it.

Repro

Unfortunately, I failed to reproduce it with simple setup with a simple class and method and attribute.

But I easily reproduce this bug at my work projects (which are huge... and have so much complicated dependencies). I think this bug wouldn't manifest itself unless the code base is complicated enough.

I've confirmed 8.7.0 doesn't have this issue.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions