Re: [sage-devel] Brower incompatible with plotting function in Safari

2015-08-13 Thread William Stein
This is a bug in safari. It was actually recently fixed by apple according to their bug tracker but evidently they haven't pushed the fix out widely yet On Thursday, August 13, 2015, Jianping Pan wrote: > I was using Safari SMC to plot a line: > > > line([(2,2), (3,2)]) > > Yeah, just that

[sage-devel] Brower incompatible with plotting function in Safari

2015-08-13 Thread Jianping Pan
I was using Safari SMC to plot a line: line([(2,2), (3,2)]) Yeah, just that simple. And in Safari, it is displayed as So it took me several hours to f

Re: [sage-devel] Re: Integer-valued functions: int or Integer?

2015-08-13 Thread Volker Braun
Easy, the doctest displayhook should print Python integers differently. Say, as int(1) instead of just 1. On Thursday, August 13, 2015 at 3:20:11 PM UTC+2, Nathann Cohen wrote: > > Do you know how to enforce this standard? Can it be done in the buildbot? > > -- You received this message bec

Re: [sage-devel] Re: Integer-valued functions: int or Integer?

2015-08-13 Thread Volker Braun
Doctests should cover those special branches. Without test coverage we have no hope of testing anything. On Thursday, August 13, 2015 at 5:53:40 PM UTC+2, Jori Mäntysalo wrote: > > if trivial: return 1 > return Integer(2) > -- You received this message because you are subscribed to the Googl

[sage-devel] Re: Sage Days 70: announcement

2015-08-13 Thread William Stein
Hi, I just wanted to post an update. There's now a list of probable participants on the wiki: http://wiki.sagemath.org/days70 There's funding still for some US participants. -- William On Thu, Jul 30, 2015 at 10:30 AM, William Stein wrote: > Hi People-who-might-care, > > There is going

Re: [sage-devel] [ANN] Flint 2.5.2 released

2015-08-13 Thread 'Bill Hart' via sage-devel
Yeah, but when people don't test those just as they stopped testing "betas", what will we call them then? For real, I got an email from someone saying "why didn't you tell me you had issued a release!" Bill. On 13 August 2015 at 18:16, John Cremona wrote: > I think this is why some projects ha

Re: [sage-devel] [ANN] Flint 2.5.2 released

2015-08-13 Thread John Cremona
I think this is why some projects have "release candidates".;) On 13 August 2015 at 17:06, 'Bill Hart' via sage-devel < sage-devel@googlegroups.com> wrote: > Hi all, > > I've just release Flint 2.5.2 on our website http://flintlib.org/ > > This fixes further issues related to soname versionin

[sage-devel] [ANN] Flint 2.5.2 released

2015-08-13 Thread 'Bill Hart' via sage-devel
Hi all, I've just release Flint 2.5.2 on our website http://flintlib.org/ This fixes further issues related to soname versioning and ldconfig reported by Andreas Enge and tries to make the process more robust. Sorry for the quick succession patch releases. But it's better to try to get it workin

Re: [sage-devel] Re: Integer-valued functions: int or Integer?

2015-08-13 Thread Jori Mäntysalo
On Thu, 13 Aug 2015, Nathann Cohen wrote: What about *input* integers? I have many functions that take integers as input. Will the new standard enforce that those must be Integers too? If this is the case, then not only "return 1" gets forbidden, but also "my_function(1)". "Be liberal what you

Re: [sage-devel] Re: Integer-valued functions: int or Integer?

2015-08-13 Thread Jori Mäntysalo
On Thu, 13 Aug 2015, John Cremona wrote: The trouble is that functions have many exit points and if you ever have something like "if trivial: return 1" then the returned value will be int(1), and such cases might not be in doctests (though of course they should). True. But will it hurt, if we

Re: [sage-devel] Re: Integer-valued functions: int or Integer?

2015-08-13 Thread Nathann Cohen
> I doubt if this can be automated, but if coders and reviewers are reminded > often that might help. If we do nothing to ensure that all Sage functions will progressively be udpated, or that we have a deterministic way to check what is left to do (like for sage -coverage), then we will end up wi

Re: [sage-devel] Re: Integer-valued functions: int or Integer?

2015-08-13 Thread John Cremona
On 13 August 2015 at 15:58, Jori Mäntysalo wrote: > On Thu, 13 Aug 2015, Nathann Cohen wrote: > > All Sage methods that return integers should return Sage integer elements. >>> Especially those that count something. >>> >> > Do you know how to enforce this standard? Can it be done in the buildbot

Re: [sage-devel] Re: Integer-valued functions: int or Integer?

2015-08-13 Thread Jori Mäntysalo
On Thu, 13 Aug 2015, Nathann Cohen wrote: All Sage methods that return integers should return Sage integer elements. Especially those that count something. Do you know how to enforce this standard? Can it be done in the buildbot? We cannot have something like that without making sure that a

Re: [sage-devel] Patchbot reporting failed builds: Zorn

2015-08-13 Thread Nathann Cohen
> We should try to make the patchbot safer to such building failures... > Andrew, could you give us more details about what was going wrong? I'd say that it is the usual problem: sometimes some files linger in the log/ file, and the build is reported as "failed" if some files remain there. Nathan

Re: [sage-devel] Patchbot reporting failed builds: Zorn

2015-08-13 Thread Andrew Gainer-Dewar
Honestly, I'm not entirely sure what the problem was. I killed the patchbot, did a 'make clean && make doc-clean && git checkout develop && make', and then fired it back up, and things seem to be working now. On Thu, Aug 13, 2015 at 10:12 AM, Vincent Delecroix < 20100.delecr...@gmail.com> wrote:

Re: [sage-devel] Patchbot reporting failed builds: Zorn

2015-08-13 Thread Vincent Delecroix
We should try to make the patchbot safer to such building failures... Andrew, could you give us more details about what was going wrong? On 13/08/15 16:09, Nathann Cohen wrote: Thanks ! Nathann On 13 August 2015 at 16:07, Andrew Gainer-Dewar wrote: Whoops! I think everything is fixed now. S

Re: [sage-devel] Patchbot reporting failed builds: Zorn

2015-08-13 Thread Nathann Cohen
Thanks ! Nathann On 13 August 2015 at 16:07, Andrew Gainer-Dewar wrote: > Whoops! I think everything is fixed now. Sorry about the mess. > > --Andrew > > > On Thursday, August 13, 2015 at 5:16:03 AM UTC-4, vdelecroix wrote: >> >> Seems to be agd, see >> >> http://wiki.sagemath.org/buildbot/owner

Re: [sage-devel] Patchbot reporting failed builds: Zorn

2015-08-13 Thread Andrew Gainer-Dewar
Whoops! I think everything is fixed now. Sorry about the mess. --Andrew On Thursday, August 13, 2015 at 5:16:03 AM UTC-4, vdelecroix wrote: > > Seems to be agd, see > > http://wiki.sagemath.org/buildbot/owners > > And trac says Andrew Gainer-Dewar. > > On 13/08/15 09:34, Nathann Cohen wrote:

Re: [sage-devel] Re: Integer-valued functions: int or Integer?

2015-08-13 Thread Nathann Cohen
> All Sage methods that return integers should return Sage integer elements. > Especially those that count something. Do you know how to enforce this standard? Can it be done in the buildbot? We cannot have something like that without making sure that all Sage functions will slowly converge and i

[sage-devel] Re: Integer-valued functions: int or Integer?

2015-08-13 Thread Volker Braun
All Sage methods that return integers should return Sage integer elements. Especially those that count something. On Thursday, August 13, 2015 at 1:50:35 PM UTC+2, Jori Mäntysalo wrote: > > This might be of general interest. For example > > P = Poset() > type(P.height()), type(P.width()) > >

[sage-devel] Integer-valued functions: int or Integer?

2015-08-13 Thread Jori Mäntysalo
This might be of general interest. For example P = Poset() type(P.height()), type(P.width()) outputs (, ). For cardinality() this is clear after http://trac.sagemath.org/ticket/18159 , but is this a general rule for other integer-valued functions too? (For comments for only this specific exa

Re: [sage-devel] Patchbot reporting failed builds: Zorn

2015-08-13 Thread Vincent Delecroix
Seems to be agd, see http://wiki.sagemath.org/buildbot/owners And trac says Andrew Gainer-Dewar. On 13/08/15 09:34, Nathann Cohen wrote: Hello everybody, Is the owner of 'Zorn' reading this mailing list? The machine reports a build failure on a ticket, and I do not think that the errors are r

Re: [sage-devel] Re: About the "default" hash function from sage.structure.element.__hash__

2015-08-13 Thread Volker Braun
On Thursday, August 13, 2015 at 12:32:27 AM UTC+2, Nils Bruin wrote: > > Do you really just want equality and hash on FP groups to be what we have > on the covering free presentation? GAP doesn't do that itself (and as a > result computations there can lead to unbounded running times and outright

[sage-devel] Patchbot reporting failed builds: Zorn

2015-08-13 Thread Nathann Cohen
Hello everybody, Is the owner of 'Zorn' reading this mailing list? The machine reports a build failure on a ticket, and I do not think that the errors are related: http://trac.sagemath.org/ticket/19018 Here is the bottom of the shortlog - * package: Cython log file: /mnt/pile/data