ipython/ipython — Issue #1076: namespace changes broke `foo.*bar*?` syntax
Author: fperez
Created: 2011-12-01 02:13:18+00:00
State: open
Labels: prio-blocker, regression, type-bug

On master we now have:

```
In [2]: sys.*pt*?
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
/home/fperez/usr/lib/python2.7/site-packages/IPython/core/oinspect.pyc in psearch(self, pattern, ns_table, ns_search, ignore_case, show_all)
760 if name not in ns_table:
761 raise ValueError('invalid namespace <%s>. Valid names: %s' %
--> 762 (name,ns_table.keys()))
763
764 #print 'type_pattern:',type_pattern # dbg

ValueError: invalid namespace . Valid names: ['alias', 'user_global', 'builtin', 'user_local']
```

We should add a test for this form of call before fixing it, so that we're sure the bug doesn't come back.