In a nuthsell:
In : x="""
Object `Eh` not found.
And now, the string is actually empty...
In : x
The problem is that the introspection magic is kicking in inside of the string declaration.
This isn't 100% trivial to fix, because we do want magics in multiline input (that's been a feature for a long time). But I suppose we do need to blacklist a few ones, like the '?' behavior.
|Changed in ipython:|
|status:||New → Confirmed|