[sage-devel] Re: element construction by parent with multiple element classes

2014-08-23 Thread Travis Scrimshaw
Hey, > I wonder: Is it really the case that one single parent P, which is an > instance of a parent class P_class, shall simultaneously have elements > of type MyElementA and MyElementB? Or is it rather the case that you > have one single parent class P_class, and then have two instances P_A

Re: [sage-devel] Re: Crazy/dumb idea about Sage on Windows...

2014-08-23 Thread Travis Scrimshaw
I have a machine with a Windows8 (Ubuntu dual boot), so I can test some things for you. Best, Travis On Saturday, August 23, 2014 4:30:19 AM UTC+9, Volker Braun wrote: > > On Friday, August 22, 2014 7:54:57 PM UTC+1, Fernando Perez wrote: >> >> - a headless VM is less 'alien' to user. T\(they c

[sage-devel] Re: element construction by parent with multiple element classes

2014-08-23 Thread Simon King
Hi Daniel, On 2014-08-23, Daniel Krenn wrote: > +- MyElementBase >+-- MyElementA (derived from MyElementBase) >+-- MyElementB (derived from MyElementBase) I wonder: Is it really the case that one single parent P, which is an instance of a parent class P_class, shall simultaneously have e

[sage-devel] Re: element construction by parent with multiple element classes

2014-08-23 Thread Simon King
Hi! On 2014-08-23, Vincent Delecroix <20100.delecr...@gmail.com> wrote: > You must bypass the element_class. > > 1) Convert your base classes to categorized classes using something along > > Parent P: > def ___init__(self): > self.element_class_A = self.__make_element_class__(MyElement

[sage-devel] Re: element construction by parent with multiple element classes

2014-08-23 Thread Volker Braun
IMHO this will turn out to be a mistake later on. I know, its tempting to special-case some elements in a derived class but in my experience it always ended up with a more complicated code than if you just stick with a single element class. It is a single algebraic structure, so all elements sh

Re: [sage-devel] Re: Docs, "return" vs. "returns" etc.

2014-08-23 Thread Volker Braun
I agree with you that the documentation should be as explicit as possible. All I'm saying is: Don't describe the input/output in the title, use the INPUT: and OUTPUT: sections of the docstring for that. You are invited to be as verbose as you possibly can there. But the title is supposed to be a

Re: [sage-devel] element construction by parent with multiple element classes

2014-08-23 Thread Vincent Delecroix
Hi, You must bypass the element_class. 1) Convert your base classes to categorized classes using something along Parent P: def ___init__(self): self.element_class_A = self.__make_element_class__(MyElementA) self.element_class_B = self.__make_element_class__(MyElementB) 2) th

[sage-devel] element construction by parent with multiple element classes

2014-08-23 Thread Daniel Krenn
I'm going through [1] to construct a new algebraic structure. I have one parent, but want more than one elements, which should be associated to this parent. More precisely, I have the following classes: +- MyElementBase +-- MyElementA (derived from MyElementBase) +-- MyElementB (derived from

Re: [sage-devel] Re: About "pi?"

2014-08-23 Thread Nathann Cohen
Yo !! > This is now ticket #16871: http://trac.sagemath.org/ticket/16871 Thaaanks :-) Nathann -- 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

[sage-devel] Re: Crazy/dumb idea about Sage on Windows...

2014-08-23 Thread mmarco
> > > Their .sage and .ipynb files would live on the windows side, but if they > have some data they want to analyze (like a file to read in, or a file > to save to), they'd still have to somehow get that data into/out of the > VM. You're right that it's easier than what we have, though! > >

[sage-devel] Re: Patchbot troubles

2014-08-23 Thread Frédéric Chapoton
Maybe it was caused by some temporary slowness of trac ? Anyway, I have created #16872 to upgrade the patchbot to the latest version. http://trac.sagemath.org/ticket/16872 Le vendredi 22 août 2014 12:17:21 UTC+2, Jeroen Demeyer a écrit : > > Hello, > > Given the message asking for patchbot volu

[sage-devel] Re: cygwin64 build error for ppl-1.1

2014-08-23 Thread Sudarsan Vasista Srinivasan Ranganathan
Hi, Thanks for the reply. I'll surely do try building sage from your cygwin64 branch. And I'm not sure if I will get the time to do the reviews by the end of August (wrapping up some work and thus the delayed post). I haven't gone back and looked at my own build issue either. I'm new to both th