initial magic ? (question mark) fails before wildcard
Bug #502779 reported by
Jonathan March
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
IPython |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
All the documentation which I have found says that magic:
?a*
should be the same as
a*?
But this is not the case. The latter searches namespaces as desired, the former raises SyntaxError.
OTOH, the following two do act identically:
?a
a?
Is this a documentation error, a product bug, or my configuration error?
Python 2.6.2
Ipython 0.10
Windows XP SP3
==== partial session copy: ===
In [1]: ?a
Object `a` not found.
In [2]: a?
Object `a` not found.
In [3]: ?a*
-------
File "<ipython console>", line 1
?a*
^
SyntaxError: invalid syntax
In [4]: a*?
abs
all
any
apply
To post a comment you must log in.
Documentation error at the very least. It would be nice to actually support it in both modes, but barring that, we should explain that only the *? form works.