On Tuesday, May 7, 2013 3:55:11 PM UTC-4, Mike S wrote:

> I've done a bit more experimenting, and it turns out my local interpreter 
> is going nuts when I copy/paste a line with the print command.  It asks, 
> "Display all 2249 possibilities? (y or n)" and proceeds to print out an 
> exhaustive list of symbols (e.g. defined functions).  Loading a script file 
> would presumably avoid this, but then I run into the problem of basic sage 
> functions being undefined symbols.
>

Okay, sorry for the repeated posts, but it turns out that my problem with 
copy/pasting goes beyond the symbol list issue:  It's annoying that IPython 
is printing out the symbol list, but a bigger problem is that copy/pasting 
creates syntax errors (presumably due to copy/pasting breaking the 
indentation).  %paste won't work at all (I suppose since Tkinter isn't 
included).  %cpaste works, but it still prints out the symbol list after 
print commands, and it raises syntax errors of its own.  The difference is, 
instead of having to do with indentation, the errors are really bizarre and 
buggy and taking issue with perfectly acceptable syntax.

For instance, I had some SyntaxErrors that complained about things like:
if low < 2^32:
The interpreter decided to move on to another error once I tried wrapping 
the right side of the comparison operator (or assignment operator, on other 
lines) in parentheses:
if low < (2^32):
Now, it's complaining about the following:
alist.append(low)
Where "alist" is a defined list of values, and low is a defined value.  
There's not too much I can do to "fix" that one.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to