Crash if completer_delims has been set to a unicode string (at least on windows)
Bug #315392 reported by
Jörgen Stenarson
on 2009-01-09
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| IPython |
Fix Released
|
Critical
|
Brian Granger | |
| 0.10 |
Fix Released
|
Critical
|
Jörgen Stenarson |
Bug Description
I have set completer delims to u" \t\n\"\
I believe it is because a unicode strings translate method does not have a delete keyword argument on python2.4.
/Jörgen
Related branches
lp:~jorgen-stenarson/ipython/ipython-bug-315392
- IPython Developers: Pending requested 2009-04-16
- Diff: None lines
Ville M. Vainio (villemvainio) wrote : | #2 |
Jörgen Stenarson (jorgen-stenarson) wrote : Re: [Bug 315392] Re: Crash if completer_delims has been set to a unicode string (at least on windows) | #3 |
Ville M. Vainio skrev:
> IPython should just do str() to convert whatever
> readline.
>
But that could fail if get_completer_
with a character that can not be converted to ascii.
I will work on a quickfix here. It should be ok to just remove any characters from completer_delims that are not ascii.
Brian Granger (ellisonbg)
on 2009-04-21
Changed in ipython: | |
assignee: | nobody → ellisonbg |
importance: | Undecided → Critical |
status: | New → Fix Committed |
Fernando Perez (fdo.perez)
on 2009-08-05
Changed in ipython: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
IPython should just do str() to convert whatever readline. get_completer_ delims gives it.