Skip to content

Fix Crash: Eliding string with consecutive dots. - #10508

Merged
takluyver merged 1 commit into
ipython:masterfrom
Carreau:elide-bug
May 8, 2017
Merged

takluyver merged 1 commit into
ipython:masterfrom
Carreau:elide-bug

Conversation

@Carreau

@Carreau Carreau commented May 6, 2017

Copy link
Copy Markdown
Member

Spiting a string with consecutive dots would lead to empty parts, which
you can't subslice when recombining and lead to IndexError.

Should not happened on 6.0, but could if the completer is refactored to
display completions that can contain the ellipsis symbol in Python 3 or
arbitrary string in default arguments.

@Carreau Carreau added this to the 6.1 milestone May 6, 2017
Spiting a string with consecutive dots would lead to empty parts, which
you can't subslice when recombining and lead to `IndexError`.

Should not happened on 6.0, but could if the completer is refactored to
display completions that can contain the ellipsis symbol in Python 3 or
arbitrary string in default arguments.
@takluyver
takluyver merged commit d61d9f4 into ipython:master May 8, 2017
@Carreau

Carreau commented May 8, 2017 via email

Copy link
Copy Markdown
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants