tab completion broken by string.whitespace
Bug #285470 reported by
Glen Mailer
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
BzrTools |
New
|
Undecided
|
Unassigned |
Bug Description
When using the tab-completion provided by bzrtools' "shell" command, string.whitespace somehow includes the character \xa0 - the non-breaking space.
As this character is outside of the ascii range, any attempt at tab completion causes pyreadline to throw a UnicodeDecodeError.
I have managed to trace this to the delimiter setting in shell.py - the fix would be to use "\t\n\x0b\x0c\r " instead of string.whitespace when setting the delims.
tags: | added: windows |
To post a comment you must log in.
Please fix this! (Is it enough to vote on a bug to mark the "this affects me" flag? Does anyone see that?)