[sage-devel] Re: symbolics: is_real versus conversion to RR

2017-01-07 Thread Ralf Stephan
On Saturday, January 7, 2017 at 10:54:36 PM UTC+1, vdelecroix wrote: > > Some symbolic expressions claim that they are not real > No. They just don't claim being real. The docstring says explicitly "Return True if this expression is known to be a real number." I guess we could (and should) make

Re: [sage-devel] Re: patchbot: ticket list latency?

2017-01-07 Thread Clemens Heuberger
On 2017-01-07 23:22, Vincent Delecroix wrote: > Le 05/01/2017 à 18:05, Clemens Heuberger a écrit : >> >> Hello, >> >> On 2017-01-05 17:29, Frédéric Chapoton wrote: >>> Tickets with untrusted authors are never looked at, unless you ask >>> specifically so : >>> { >>> "Clemens Heuberger": "trus

[sage-devel] Re: Extra blank is inserted before the output in the Sage CLI

2017-01-07 Thread Sho Takemori
Thank you for the information and opening the issue. I checked the output in IPython provided by Sage 7.3 and Sage 7.4. I also check the output in IPython 5.1.0 with the simple prompt. It seems that both outputs in IPython 4 and IPython 5 are same. And the behavior in IPython 5.1.0 with simple p

[sage-devel] Re: Extra blank is inserted before the output in the Sage CLI

2017-01-07 Thread Kwankyu Lee
I asked in IPython community: https://github.com/ipython/ipython/issues/10138 -- 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+unsubscr...@googlegroups.

[sage-devel] Re: Extra blank is inserted before the output in the Sage CLI

2017-01-07 Thread Kwankyu Lee
I now see why that behavior was introduced in IPython. Just put your example directly in the ipython, using "sage -ipython" -- 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

[sage-devel] Re: Extra blank is inserted before the output in the Sage CLI

2017-01-07 Thread Kwankyu Lee
This was reported earlier in https://groups.google.com/forum/#!msg/sage-support/F6rDRrU59W8/kVbLWAtZAAAJ;context-place=searchin/sage-support/extra$20$20line The presumed suspect was the recent update of the IPython underlying the Sage command line. I am also annoyed by this. Your report seems to

[sage-devel] Extra blank is inserted before the output in the Sage CLI

2017-01-07 Thread Sho Takemori
Dear all, It seems that for an object obj, if repr(obj) contains a newline character, then a blank line is printed when evaluating obj in the Sage command line interface. I use SageMath 7.4 on Ubuntu 16.04. To reproduce it, run Sage in the terminal and evaluate the following code. Extra blank

Re: [sage-devel] Sage and Google Summer of Code (GSoC) 2017

2017-01-07 Thread Vincent Delecroix
Dear Arpit, Any cleaning of the wiki is more than welcome. Some concrete random remarks: 1) The main GSoC page should remain https://wiki.sagemath.org/GSoC And, if I had to rewrite it, I would keep it as short as possible. However having guidelines for students and tutors would be good. I wo

Re: [sage-devel] Re: patchbot: ticket list latency?

2017-01-07 Thread Vincent Delecroix
Le 05/01/2017 à 18:05, Clemens Heuberger a écrit : Hello, On 2017-01-05 17:29, Frédéric Chapoton wrote: Tickets with untrusted authors are never looked at, unless you ask specifically so : { "Clemens Heuberger": "trusted", "Roswitha Rissner": "not trusted" } that's clear. My config.

[sage-devel] symbolics: is_real versus conversion to RR

2017-01-07 Thread Vincent Delecroix
Hello, Some symbolic expressions claim that they are not real sage: cos(pi/7).is_real() False sage: (exp(I*pi/7) + exp(-I*pi/7)).is_real() False But conversion to real floating points perfectly works sage: RR(cos(pi/7)) 0.900968867902419 sage: RR(exp(I*pi/7) + exp(-I*pi/7)) 1.80193773580484 I