[sage-devel] Adding combinatorial divisorial polytopes to sagemath

2022-05-13 Thread Irina Batmanova
Hi, I created a ticket https://trac.sagemath.org/ticket/33830 for implementing new functionality and going to work on it by myself. Are there any chances that anyone will review my pull request any time soon if I will submit it within the next couple of weeks? -- You received this message

Re: [sage-devel] Question about factories, representations and multiple classes

2022-05-13 Thread David Roe
I think the following should work: class MyObject: def __classcall__(cls, arg): if isinstance(arg, special): return typecall(MyObject_specific_case, arg) else: return typecall(MyObject, arg) plus the same __init__ you had before. I haven't checked

[sage-devel] Question about factories, representations and multiple classes

2022-05-13 Thread Antoine Leudière
Hi, I have a class `MyObject` and a class `MyObject_specific_case` that inherits `MyObject`: ``` class MyObject: def __init__(self, arg): # Do stuff class MyObject_specific_case: def __init__(self, arg): # Do stuff super().__init__(arg) ``` It is easy to decide

Re: [sage-devel] 2 basic questions on sagemath programming with external CAS systems

2022-05-13 Thread Michael Orlitzky
On Thu, 2022-05-12 at 20:28 -0700, 'Nasser M. Abbasi' via sage-devel wrote: > > > And with maxima it does not even time out. It hanged > Integrating with maxima doesn't use the pexpect interface. There *is* a pexpect interface to maxima, but there is also a library interface that is faster.

Re: [sage-devel] 'sage --sdist' still gives "SageMath version 9.6.rc3, Release Date: 2022-04-29"

2022-05-13 Thread ph h
P.S: Sorry for the noise at an early hour. 'sage --sdist' was run from the wrong directory. On Fri, May 13, 2022 at 12:54 AM ph h wrote: > Dear All, > > This happens at 12:52 AM EST, May 13 > > Please advise if this is expected. > > Thank you for your help. > > Regards, > > phiho > > -- > You

[sage-devel] "sage --sdist" still gives "SageMath version 9.6.rc3, Release Date: 2022-04-29"

2022-05-13 Thread being nobody00
Dear All, This happens at 12:39AM EST May 13 Is there something wrong on this system or something else? Thank you for your help. Regards, phiho -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving

Re: [sage-devel] 2 basic questions on sagemath programming with external CAS systems

2022-05-13 Thread Dima Pasechnik
On Thu, 12 May 2022, 11:32 'Nasser M. Abbasi' via sage-devel, < sage-devel@googlegroups.com> wrote: > > 1) I just want to confirm if this is what happens ( I could find > information on this googling). > > If from sagemath, one makes a call to an external CAS, does sagemath > create a