hylang/hy — pull request #227 by ralph-moeritz (2013-07-06 15:52:31+00:00)
Title: Resolve #226

Create `completion` context manager so we can "wrap" readline completion around REPL interaction like this:

```python
with completion():
if not hr:
hr = HyREPL()

hr.interact("{appname} {version}".format(
appname=hy.__appname__,
version=hy.__version__
))
```