Re: [sage-devel] Feature requests: Composition of binary relations

2018-01-13 Thread Ralf Stephan
I think it's completely ok to wait with Cython unless of course it's required, for example if you write an interface. If there are performance problems affecting Sage in general then the patchbots will complain, else it's a matter of code that only gets executed on demand. Regards, -- You

[sage-devel] Re: Internet access during package tests

2018-01-13 Thread Simon King
On 2018-01-13, Simon King wrote: > On 2018-01-13, Volker Braun wrote: >> Packages must work without internet access; We poison cache environment >> variables to prevent accidental internet access. > > OK. What to do instead? Would access to local

[sage-devel] How to restrict a type?

2018-01-13 Thread Victor Porton
I am trying to implement binary relations (sets of 2-tuples) in Sage. So far I've written: class FiniteBinaryRelation(Set_object_enumerated): def __init__(self, x_range, y_range, points=[]): self._x_range = Set_object_enumerated(x_range) self._y_range =

[sage-devel] Re: Internet access during package tests

2018-01-13 Thread Simon King
On 2018-01-13, Volker Braun wrote: > Packages must work without internet access; We poison cache environment > variables to prevent accidental internet access. OK. What to do instead? Would access to local files via urllib2 work? That's to say

[sage-devel] Re: Internet access during package tests

2018-01-13 Thread Volker Braun
Packages must work without internet access; We poison cache environment variables to prevent accidental internet access. On Sunday, January 14, 2018 at 12:13:21 AM UTC+1, Simon King wrote: > > Hi! > > In my group cohomology package, I have a couple of tests that require > internet access

[sage-devel] Internet access during package tests

2018-01-13 Thread Simon King
Hi! In my group cohomology package, I have a couple of tests that require internet access (namely access to some data base). The tests work in an interactive session, and they also work if I do them in a sage shell using "sage -t --force_lib". My spkg-check script is also just doing "sage -t

[sage-devel] Re: Singular quotient rings in doctests

2018-01-13 Thread Simon King
Hi Dima, On 2018-01-13, Dima Pasechnik wrote: > One can search the source code of Singular for > this string, to see what library (.LIB file) loads it. Thank you! I should have thought of searching .LIB files myself, actually. It turns out that nctools.lib sets

Re: [sage-devel] Feature requests: Composition of binary relations

2018-01-13 Thread Victor Porton
OK, I know Python and want to implement some new features in Sage. Is it OK to write in Python and wait when somebody other will rewrite in Cython? Or should I learn Cython first? On Fri, 2018-01-12 at 00:44 +0100, Vincent Delecroix wrote: > Thanks for your interest in Sage. > > As you can see

[sage-devel] Re: Feature requests: Composition of binary relations

2018-01-13 Thread Victor Porton
On Friday, January 12, 2018 at 10:55:29 AM UTC+2, Martin R wrote: > > Maybe this can be done using > http://doc.sagemath.org/html/en/reference/algebras/sage/combinat/diagram_algebras.html > It seems unrelated. -- You received this message because you are subscribed to the Google Groups

[sage-devel] Re: Singular quotient rings in doctests

2018-01-13 Thread Simon King
Hi Volker, On 2018-01-13, Volker Braun wrote: > Just to point out the obvious: If qringNF isn't enabled explicitly then it > must be set by some singular package that is being imported in a test. Sure. But I wonder if someone on the list knows what Singular packages do

[sage-devel] Re: Singular quotient rings in doctests

2018-01-13 Thread Volker Braun
Just to point out the obvious: If qringNF isn't enabled explicitly then it must be set by some singular package that is being imported in a test. On Saturday, January 13, 2018 at 1:29:00 PM UTC+1, Simon King wrote: > > On 2018-01-13, Simon King wrote: > > I wonder: Is

[sage-devel] Re: Singular quotient rings in doctests

2018-01-13 Thread Simon King
On 2018-01-13, Simon King wrote: > I wonder: Is the doctest framework adding certain options to > Singular that are not used in an interactive session? If yes, > how can I prevent that (at least during one test)? Indeed, I see this during the failing test:

[sage-devel] Singular quotient rings in doctests

2018-01-13 Thread Simon King
Hi! I am currently trying to create some doc tests, that involve computations by Singular in quotients of polynomial rings. I observe that the results in an interactive session differ from those obtained during the tests. It seems to me that the elements are automatically put into normal form

[sage-devel] Re: GSoC 2018: mentor application and ideas list

2018-01-13 Thread Harald Schilly
On Friday, January 12, 2018 at 6:26:02 PM UTC+1, Stefan wrote: > > Please register me as mentor again. >> >> >> Hi, thank you for the responses. Before I can add anyone sage as an organization needs to be selected, though. So, let's hope the application goes through again. I'll keep everyone