Skip to content
This repository

Source introspection with ?? is broken #665

Closed
takluyver opened this Issue August 02, 2011 · 3 comments

2 participants

Thomas Kluyver Min RK
Thomas Kluyver
Collaborator

To reproduce:

In [1]: def  abcdef(x, y, *args, **kwargs):
   ...:     pass
   ...: 

In [2]: 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.

Thomas Kluyver takluyver referenced this issue from a commit August 02, 2011
Commit has since been removed from the repository and is no longer available.
Min RK
Owner

reproduced on Linux, does not appear to happen on OSX.

Thomas Kluyver
Collaborator

I think this is now fixed in my py3compat branch.

Thomas Kluyver takluyver referenced this issue from a commit August 27, 2011
Commit has since been removed from the repository and is no longer available.
Thomas Kluyver takluyver referenced this issue from a commit September 03, 2011
Commit has since been removed from the repository and is no longer available.
Min RK
Owner

Fixed by PR #663

Min RK minrk closed this September 09, 2011
Brian E. Granger ellisonbg referenced this issue from a commit January 10, 2012
Commit has since been removed from the repository and is no longer available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.