kennethreitz/clint — Issue #28: clint breaks readline completion
Author: jandd
Created: 2012-01-13 23:18:32+00:00
State: open

importing clint breaks readline completion for raw_input. The following small example illustrates that behaviour:

```python

#!/usr/bin/env python

#from clint import resources
import readline

def complete(text, state):
if text[state].startswith('h'):
return 'hello'
return None

readline.parse_and_bind('tab: complete')
readline.set_completer(complete)

print raw_input('Tell me something: ')
```

if the clint import is uncommented the tab completion stops working.