In : def abcdef(x, y, *args, **kwargs):
In : abcdef??
The source stops at the first character. The same thing happens with %psource, although that's fixed in my py3compat branch, PR #663. I think it's somehow related to unicode, but I'm not sure how. Debugging it, page.page() on the result shows the problem, but printing the same string doesn't.
Linux, problem only affects terminal (not qtconsole), replicated with 0.11.rc3 and current master.
reproduced on Linux, does not appear to happen on OSX.
I think this is now fixed in my py3compat branch.
Convert source to native string before doing ANSI formatting.
Fixed by PR #663