Re: [sage-devel] Unicode in Sage Worksheets

2015-05-06 Thread Francois Bissey
Nice. Could you try the example at http://trac.sagemath.org/ticket/10295#comment:7 in a sage notebook session and see if it works? François > On 7/05/2015, at 17:23, Bill Page wrote: > > On 6 May 2015 at 23:28, leif wrote: >> Bill Page wrote: >>> Is there a possibility of creating an experimen

Re: [sage-devel] Re: Unicode in Sage Worksheets

2015-05-06 Thread Bill Page
On 6 May 2015 at 23:28, leif wrote: > Bill Page wrote: >> Is there a possibility of creating an experimental package to install >> pexpect 3.3 ? > > mkdir foo-1.0 > > echo 'print "Installing foo.."' > foo-1.0/setup.py > > tar czf foo-1.0.spkg foo-1.0/ > > ./sage -i foo-1.0.spkg > OK but I was bit

[sage-devel] Re: pushing to tickets after setting it to positive_review is incompatible with the current workflow

2015-05-06 Thread leif
Clemens Heuberger wrote: > Am 2015-05-07 um 03:42 schrieb leif: >> I might be wrong, but isn't it trivial to check whether the branch of a >> ticket changed (after you merged it into some preliminary release)? > > It is easy to check. But what if it did change? This might lead to an infinite > cyc

Re: [sage-devel] Re: pushing to tickets after setting it to positive_review is incompatible with the current workflow

2015-05-06 Thread Clemens Heuberger
Am 2015-05-07 um 03:42 schrieb leif: > I might be wrong, but isn't it trivial to check whether the branch of a > ticket changed (after you merged it into some preliminary release)? It is easy to check. But what if it did change? This might lead to an infinite cycle, as outlined before. Regards, C

[sage-devel] Re: Unicode in Sage Worksheets

2015-05-06 Thread leif
Bill Page wrote: > Is there a possibility of creating an experimental package to install > pexpect 3.3 ? mkdir foo-1.0 echo 'print "Installing foo.."' > foo-1.0/setup.py tar czf foo-1.0.spkg foo-1.0/ ./sage -i foo-1.0.spkg -leif > I see references to "doctests failing" but no details. It w

Re: [sage-devel] Re: Unicode in Sage Worksheets

2015-05-06 Thread Bill Page
Is there a possibility of creating an experimental package to install pexpect 3.3 ? I see references to "doctests failing" but no details. It would be good to make this easier to test. On 6 May 2015 at 22:41, leif wrote: > Bill Page wrote: >> After reading the docs: >> >> http://pexpect.readthe

Re: [sage-devel] Unicode in Sage Worksheets

2015-05-06 Thread Bill Page
http://trac.sagemath.org/ticket/10295 Looks like no one is interested any more. On 6 May 2015 at 22:03, Francois Bissey wrote: > Haven’t checked recently but the notebook has been broken each > time someone has tried to update pexpect. There is a pexpect upgrade > ticket where there should be mo

[sage-devel] Re: Unicode in Sage Worksheets

2015-05-06 Thread leif
Bill Page wrote: > After reading the docs: > > http://pexpect.readthedocs.org/en/latest/index.html > > It seems that version 3 and later are supposed to handler unicode > properly. Version 3.3 requires Python 2.6 or later. Since Sage is > already at Python 2.7 is there a good reason why Sage is

Re: [sage-devel] Unicode in Sage Worksheets

2015-05-06 Thread Francois Bissey
Haven’t checked recently but the notebook has been broken each time someone has tried to update pexpect. There is a pexpect upgrade ticket where there should be more details. François > On 7/05/2015, at 13:55, Bill Page wrote: > > After reading the docs: > > http://pexpect.readthedocs.org/en/l

Re: [sage-devel] Re: Unicode in Sage Worksheets

2015-05-06 Thread Bill Page
After reading the docs: http://pexpect.readthedocs.org/en/latest/index.html It seems that version 3 and later are supposed to handler unicode properly. Version 3.3 requires Python 2.6 or later. Since Sage is already at Python 2.7 is there a good reason why Sage is still using an older version o

[sage-devel] Re: pushing to tickets after setting it to positive_review is incompatible with the current workflow

2015-05-06 Thread leif
Volker Braun wrote: > On Wednesday, May 6, 2015 at 8:07:08 PM UTC+2, Jeroen Demeyer wrote: > > And it just feels like an unneeded restriction that tickets > shouldn't be > changed after positive_review: there is no fundamental reason why > positive_review should be final. +1 Espe

Re: [sage-devel] build sage-6.6 R fail

2015-05-06 Thread William Stein
On Wed, May 6, 2015 at 4:54 PM, William Stein wrote: > Hi, > > Thanks for the feedback.I decided to (1) use sage-6.7.beta4, and > (2) upgrade to Ubuntu-15.04. The Sage build has gone perfectly with > this combination. This worked and all long tests passed. William > > -- William > > On We

[sage-devel] Re: build sage-6.6 R fail

2015-05-06 Thread leif
John Foster wrote: > Just a suggestion: > Try a different make, as you know there are several. You mean a different 'make' program? There's nothing wrong with 'make' here; the R binary "crashed": $ printf '#include\nint main(){abort();}' | gcc -o dump_core -x c - $ printf 'all:\n\t@echo | ./du

Re: [sage-devel] build sage-6.6 R fail

2015-05-06 Thread William Stein
Hi, Thanks for the feedback.I decided to (1) use sage-6.7.beta4, and (2) upgrade to Ubuntu-15.04. The Sage build has gone perfectly with this combination. -- William On Wed, May 6, 2015 at 8:32 AM, John Foster wrote: > Just a suggestion: > Try a different make, as you know there are sever

[sage-devel] Problem while compiling

2015-05-06 Thread larutan . 87
Hello, I have tried to compile sage from sources but it does not work. Attached is a log of the last part of the compiling output. My OS is a Linux Mint 17 64 bits. Thanks in advance for any help. Christophe -- You received this message because you are subscribed to the Google Groups "sage-d

[sage-devel] Re: Catalog of algebras: the definition of an algebra

2015-05-06 Thread Peter Bruin
Hello, Travis Scrimshaw wrote: > On #15635, we are trying to decide whether we want non-associative > algebras to be included in the catalog of algebras. For a general mathematical software system such as Sage, I think it is overly restrictive to impose the rule that algebras are associative. Th

[sage-devel] Re: dimension() broken for ideals?

2015-05-06 Thread mmarco
This is now ticket #18374 El miércoles, 6 de mayo de 2015, 17:47:54 (UTC+2), Jakob Kroeker escribió: > > It is definitely a bug in the dimension method. >> > > could you open a ticket and post the link here? > > Am Sonntag, 3. Mai 2015 15:25:13 UTC+2 schrieb mmarco: >> >> It is definitely a bug in

[sage-devel] Re: Unicode in Sage Worksheets

2015-05-06 Thread Volker Braun
There are some unicode typesetting enhancements coming down the road: #18357: Unicode Art #18270: Print matrices using unicode large delimiters (on demand) On Wednesday, May 6, 2015 at 7:03:23 PM UTC+2, Bill Page wrote: > > Perhaps this is more specifically related to Sage. Anyone have any > su

Re: [sage-devel] Re: pushing to tickets after setting it to positive_review is incompatible with the current workflow

2015-05-06 Thread Volker Braun
On Wednesday, May 6, 2015 at 8:07:08 PM UTC+2, Jeroen Demeyer wrote: > > And it just feels like an unneeded restriction that tickets shouldn't be > changed after positive_review: there is no fundamental reason why > positive_review should be final. There is no reason that "closed" should be fi

Re: [sage-devel] Catalog of algebras: the definition of an algebra

2015-05-06 Thread John Cremona
Forward to sage-algebra? John On 6 May 2015 at 20:08, Travis Scrimshaw wrote: > On #15635, we are trying to decide whether we want non-associative algebras > to be included in the catalog of algebras. > > The argument against including them is "most" people think of algebras as > being associati

[sage-devel] Catalog of algebras: the definition of an algebra

2015-05-06 Thread Travis Scrimshaw
On #15635 , we are trying to decide whether we want non-associative algebras to be included in the catalog of algebras. The argument against including them is "most" people think of algebras as being associative (and maybe even unital), and as such, might

Re: [sage-devel] Re: pushing to tickets after setting it to positive_review is incompatible with the current workflow

2015-05-06 Thread Clemens Heuberger
Am 2015-05-06 um 20:07 schrieb Jeroen Demeyer: > On 2015-05-06 20:00, Clemens Heuberger wrote: >>> I'm happy to switch to closed when I merge it, and not only when it tests >>> ok. >>> The downside is that you'll get more emails as I'll inevitably have to >>> reopen >>> tickets, but merging/unmer

Re: [sage-devel] Re: pushing to tickets after setting it to positive_review is incompatible with the current workflow

2015-05-06 Thread Jeroen Demeyer
On 2015-05-06 20:00, Clemens Heuberger wrote: I'm happy to switch to closed when I merge it, and not only when it tests ok. The downside is that you'll get more emails as I'll inevitably have to reopen tickets, but merging/unmerging is scripted anyways. Eventually the merge will be done by a scri

[sage-devel] Re: pushing to tickets after setting it to positive_review is incompatible with the current workflow

2015-05-06 Thread Clemens Heuberger
Am 2015-04-19 um 01:10 schrieb Volker Braun: > On Saturday, April 18, 2015 at 4:47:05 AM UTC-4, Clemens Heuberger wrote: > > Freezing tickets once release manager starts merging them > - change status to closed > - some new status) > > > I'm happy to switch to clos

Re: [sage-devel] Re: sage 6.6 & pyopenssl

2015-05-06 Thread Clemens Heuberger
Am 2015-05-04 um 12:46 schrieb Volker Braun: > It didn't work, there is no deprecation period for removing bugs. I see. Sorry, that was not clear to me, neither here nor on the ticket. Regards, CH > > > On Monday, May 4, 2015 at 11:14:43 AM UTC+2, Clemens Heuberger wrote: > > On 2015-05-

[sage-devel] Fwd: Unicode in Sage Worksheets

2015-05-06 Thread Bill Page
Perhaps this is more specifically related to Sage. Anyone have any suggestions or comments? Has the issue of sending unicode to external programs been discussed before? Is there a better way to implement this without having to modify a common python site package? Is there a good way to make this

[sage-devel] Re: dimension() broken for ideals?

2015-05-06 Thread Jakob Kroeker
> > It is definitely a bug in the dimension method. > could you open a ticket and post the link here? Am Sonntag, 3. Mai 2015 15:25:13 UTC+2 schrieb mmarco: > > It is definitely a bug in the dimension method. > > If singular can handle the ring, sage asks singular to compute the > dimension, wh

Re: [sage-devel] build sage-6.6 R fail

2015-05-06 Thread John Foster
Just a suggestion: Try a different make, as you know there are several. I see at the bottom there is a core dump but no justification. Could be a memory addressing issue. best wishes. On 05/04/2015 01:43 AM, William Stein wrote: Hi, I'm trying to build Sage-6.6 on the latest Ubuntu 14.10 (Sa

Re: [sage-devel] timeit in the cloud vs terminal

2015-05-06 Thread William Stein
On Wed, May 6, 2015 at 7:03 AM, jplab wrote: > Hi! > > Compare the following code in the command line and the cloud: > > In the terminal: > > sage: t=timeit('factor(ZZ.random_element(10^40))', seconds=True) > sage: t > 0.019134044647216797 > sage: type(t) > > > In the cloud: > > sage: t=timeit('f

[sage-devel] timeit in the cloud vs terminal

2015-05-06 Thread jplab
Hi! Compare the following code in the command line and the cloud: In the terminal: sage: t=timeit('factor(ZZ.random_element(10^40))', seconds=True) sage: t 0.019134044647216797 sage: type(t) In the cloud: sage: t=timeit('factor(ZZ.random_element(10^40))', seconds=True) 0.0210275173187 sage: t

Re: [sage-devel] Checking if a set is gcd closed

2015-05-06 Thread Jori Mäntysalo
On Wed, 6 May 2015, John Cremona wrote: But would it be useful to have is_gcd_closed() as a Sage built-in function? I have not come across this function before (and I am a number theorist!). I am guessing on what it means: applied to a set of integers (?) or positive integers, it checks whe

Re: [sage-devel] Checking if a set is gcd closed

2015-05-06 Thread John Cremona
On 6 May 2015 at 13:32, Jori Mäntysalo wrote: > It is of course just about oneliner to check if a set is gcd closed or not. > > But would it be useful to have is_gcd_closed() as a Sage built-in function? > I have not come across this function before (and I am a number theorist!). I am guessing o

[sage-devel] Checking if a set is gcd closed

2015-05-06 Thread Jori Mäntysalo
It is of course just about oneliner to check if a set is gcd closed or not. But would it be useful to have is_gcd_closed() as a Sage built-in function? -- Jori Mäntysalo

Re: [sage-devel] Re: Bug with vars()?

2015-05-06 Thread Jeroen Demeyer
On 2015-05-06 14:09, Volker Braun wrote: Technically its because * notebook is a lazy import, * printing notebook causes sagenb to be imported * which changes the displayhook to the SageNB displayhook which causes various problems. I guess that's a bug. Simply *importing* sagenb should not change

Re: [sage-devel] Re: Bug with vars()?

2015-05-06 Thread Volker Braun
Technically its because * notebook is a lazy import, * printing notebook causes sagenb to be imported * which changes the displayhook to the SageNB displayhook which causes various problems. On Wednesday, May 6, 2015 at 1:58:45 PM UTC+2, John Cremona wrote: > > On 6 May 2015 at 12:49, Volker

Re: [sage-devel] Re: Bug with vars()?

2015-05-06 Thread Jean-Pierre Flori
I unpacked the sage 6.6 tarball and ran make. I'll have some trouble posting the exact output here as the machine is not connected to the network, but basically: * I'm on an amd64 Ubuntu 14.04.2 LTS. * I launch: sage * I type at Sage's prompt: vars() * I get: """ /blablabla/pretty_print.py:147: D

Re: [sage-devel] Re: Bug with vars()?

2015-05-06 Thread John Cremona
On 6 May 2015 at 12:49, Volker Braun wrote: > vars() works as documented. > > Its a good test whether every object that we define can actually print That sounds like a good thing, but I still do not understand why an error is raised. John > itself. That caughs up plenty of deprecation warnings

Re: [sage-devel] Re: Bug with vars()?

2015-05-06 Thread Volker Braun
vars() works as documented. Its a good test whether every object that we define can actually print itself. That caughs up plenty of deprecation warnings and fails for sage: notebook --- TypeError

Re: [sage-devel] Re: Bug with vars()?

2015-05-06 Thread John Cremona
I also have a 6.6 install which quites badly when I give (as the first command) vars(). The output is hunderds of lines long and ends with TypeError Traceback (most recent call last) in () > 1 vars() /usr/local/sage/sage-2/local/lib/python2.7/site-packages/IP

[sage-devel] Re: Bug with vars()?

2015-05-06 Thread Volker Braun
There were some changes to how globals() are handled. Did you run "make", can you show us the output, debugger, ... On Wednesday, May 6, 2015 at 10:51:27 AM UTC+2, Jean-Pierre Flori wrote: > > Dear all, > > My Sage 6.6 install quits after printing a depreciation warning message > when I issue:

[sage-devel] Re: Bug with vars()?

2015-05-06 Thread leif
Jean-Pierre Flori wrote: > My Sage 6.6 install quits after printing a depreciation warning message > when I issue: > sage: vars() "Works" for me: ... 'zeta': zeta, 'zeta__exact': , 'zeta_symmetric': , 'zeta_zeros': , 'zetaderiv': zetaderiv} ---

Re: [sage-devel] Re: Please review ticket #18128 -- Face truncation of polyhedron

2015-05-06 Thread Jeroen Demeyer
On 2015-05-06 11:04, jplab wrote: Hi again, The ticket is again ready for review! ... just like 225 other tickets. -- 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 email

[sage-devel] Re: Please review ticket #18128 -- Face truncation of polyhedron

2015-05-06 Thread jplab
Hi again, The ticket is again ready for review! http://trac.sagemath.org/ticket/18128 Thanks!! JP -- 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 email to sage-devel+uns

[sage-devel] Bug with vars()?

2015-05-06 Thread Jean-Pierre Flori
Dear all, My Sage 6.6 install quits after printing a depreciation warning message when I issue: sage: vars() Same is true for at least globals(). Any clue on what's going on? Best, JP -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscr

Re: [sage-devel] CategoryObject vs. Parent

2015-05-06 Thread Nathann Cohen
> > In the same vein, shouldn't base_ring be removed from Parent as well ? > > sage: Set([1,2,3]).base_ring() > > The return value is None, which is arguably correct, for a generic set has > no base ring, but it might be surprising when using tab completion to > discover functionalities to see t