Thanks
Anything in the doc about that?
2011/1/9 Francois Maltey
> thanks,
>
> I discover :
>
> sage: import itertools
> sage: it = sxrange(10^7)
> sage: (it1, it2) = itertools.tee (it)
> sage: ... play with it1.next() and it2.next()
>
> ...
>
> F.
>
>
> --
> To post to this group, send email to
Okey, thank you and sorry about the text in spanish.
2011/1/9 Justin C. Walker
>
> On Jan 9, 2011, at 08:32 , José Díaz de Greñu y de Pedro wrote:
>
> > Yes, it is just for my own work. William, do you know where, in the doc,
> can
> > i find ANYTHING about _is_inmutabl
I don't think so.. :S
Traceback (click to the left of this block for traceback)
...
NameError: name 'tee' is not defined
2011/1/9 Mike Hansen
> 2011/1/9 José Díaz de Greñu y de Pedro :
> > But that's in Phyton is it exactly the same for SAGE?
>
> Yep!
Yes, it is just for my own work. William, do you know where, in the doc, can
i find ANYTHING about _is_inmutable flag?
2011/1/9 William Stein
> On Sun, Jan 9, 2011 at 8:09 AM, Volker Braun
> wrote:
> > The documentation of Sequence.set_immutable() is quite clear. "Never"
> means
> > that there
I'm not talking about the .set_inmutable() but about _is_inmutable.
Thanks for the answers
2011/1/9 Volker Braun
> The documentation of Sequence.set_immutable() is quite clear. "Never" means
> that there is no way:
>
>
> Definition: Sequence.set_immutable(self)
> Docstring:
>Make this o
But that's in Phyton is it exactly the same for SAGE?
2011/1/9 Iwao Kimura
> Hi, Trollkemada,
>
> Here is the same question (and answers):
>
> http://stackoverflow.com/questions/1271320/reseting-generator-object-in-python
>
> Hope this helps.
>
> On Sun, Jan 9, 2011 at 10:55 PM, Trollkemada
> w
I've told you two ways to un-unmutate something.
I just need either the doc file when it is talked about "_is_inmutable"
thing or a doc when it is said that there is no way to make mutable an
inmutable sequence.
Thanks
2011/1/9 Volker Braun
> There is no official way to un-immutable something