initial magic ? (question mark) fails before wildcard

Bug #502779 reported by Jonathan March
6
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

Revision history for this message
Fernando Perez (fdo.perez) wrote :

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.

Changed in ipython:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.