On 6/26/07, Nick Alexander <[EMAIL PROTECTED]> wrote:

> Interrogating literals works, more or less.
>
> sage: ?factor(6)
> Type:           Factorization
> Base Class:     <class 'sage.structure.factorization.Factorization'>
> String Form:    2 * 3
> Length:         2
> Docstring:
>     <no docstring>

I'm going to guess you have an eval() somewhere in there for this to
work.  If not, just ignore the rest of this message and send me the
patch for ipython itself :)

It's worth mentioning that I removed this very functionality from
ipython a long time ago, precisely because...

> Does what you'd expect, even if it will mangle iterators in strange
> corner cases.

of this.  After a few very puzzled users who lost quite a bit of time
tracking down a problem caused by this, I decided to more or less
eliminate all eval()s from ipython during the introspection phases.
Today, if %autocall is off, no silent evals can ever happen, and even
with autocall on, they are avoided if at all possible.

Just a comment, you guys decide how to patch/fork your own versions as
you best see fit, of course.

Cheers,

f

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to