ipython/ipython — pull request #6379 by ivanov (2014-08-28 22:49:02+00:00)
Title: better underscore completion

While poking around matplotlib today, I noticed that IPython doesn't complete on attributes that start with an underscore.

Simplest example to reproduce this behavior on master:

```python
class A(object):
pass
a = A()
a._x = {}
```

`a._x.` doesn't return anything on master. This PR adds the necessary changes to make this work and also adds a test for it.