Re: [sage-devel] python3 status

2017-10-15 Thread Volker Braun
There are a few guards in place * Doctests don't accept print statements any more * There is a unit test that checks that code is syntactically Py3 Thats not enough to catch .iteritems, for example, but we'll get better test coverage over time. On Saturday, October 14, 2017 at 11:51:01 AM UTC

Re: [sage-devel] A couple R tickets need review.

2017-10-15 Thread William Stein
On Sun, Oct 15, 2017 at 12:32 PM Emmanuel Charpentier < emanuel.charpent...@gmail.com> wrote: > > > Le dimanche 15 octobre 2017 20:57:43 UTC+2, William a écrit : > >> >> On Sun, Oct 15, 2017 at 11:40 AM Emmanuel Charpentier < >> emanuel.c...@gmail.com> wrote: >> >>> Inspired by an ask.sagemath >>>

Re: [sage-devel] A couple R tickets need review.

2017-10-15 Thread Emmanuel Charpentier
Le dimanche 15 octobre 2017 21:24:28 UTC+2, Dima Pasechnik a écrit : [ Snip... ] > Some soft, notable wget, have an exception clause, needed for binary > installs. > See https://en.wikipedia.org/wiki/Wget > > Additional permission under GNU GPL version 3 section 7 > > If you modify this progra

Re: [sage-devel] A couple R tickets need review.

2017-10-15 Thread Emmanuel Charpentier
Le dimanche 15 octobre 2017 20:57:43 UTC+2, William a écrit : > > > On Sun, Oct 15, 2017 at 11:40 AM Emmanuel Charpentier < > emanuel.c...@gmail.com > wrote: > >> Inspired by an ask.sagemath >> >> question, Trac#23980

Re: [sage-devel] A couple R tickets need review.

2017-10-15 Thread Dima Pasechnik
On Sunday, October 15, 2017 at 7:57:43 PM UTC+1, William wrote: > > > On Sun, Oct 15, 2017 at 11:40 AM Emmanuel Charpentier < > emanuel.c...@gmail.com > wrote: > >> Inspired by an ask.sagemath >> >> question, Trac#23980

Re: [sage-devel] A couple R tickets need review.

2017-10-15 Thread William Stein
On Sun, Oct 15, 2017 at 11:40 AM Emmanuel Charpentier < emanuel.charpent...@gmail.com> wrote: > Inspired by an ask.sagemath > > question, Trac#23980 adds a > couple usage hints to the r he

[sage-devel] A couple R tickets need review.

2017-10-15 Thread Emmanuel Charpentier
Inspired by an ask.sagemath question, Trac#23980 adds a couple usage hints to the r help text. This very minor patch is unproblematic. Trac#24026

[sage-devel] pari groups

2017-10-15 Thread John Cremona
Extracting information about a Galois group is more painful than it should be. After sage: K. = CyclotomicField(5) sage: G = K.galois_group(type='pari') sage: G Galois group PARI group [4, -1, 1, "C(4) = 4"] of degree 4 of the Cyclotomic Field of order 5 and degree 4 we have sage: type(G) (ot

Re: [sage-devel] python3 status

2017-10-15 Thread Kwankyu Lee
On Saturday, October 14, 2017 at 6:51:01 PM UTC+9, John Cremona wrote: > > How can we be sure that new code witten by people (like me) who are > not python2/3 experts does not regress? This would help. While coding on Sage, I refer to Python 3 reference manual :-) -- You received this messa

Re: [sage-devel] python3 status

2017-10-15 Thread Frédéric Chapoton
There is no simple and perfect way to really test that fully now. Some things that can be done right now in the code of packages : * check that print is used in a python3 compatible way * check that cmp() is not used * check that .iteritems, .iterkeys are not used An useful diagnostic tool is "2