[sage-support] Re: Pushing to trac from GitHub

2019-04-03 Thread Eric Gourgoulhon
Hi, Le mardi 2 avril 2019 21:40:14 UTC+2, Bea Galiana a écrit : > > Hi, > > so I was wondering, is it possible to push to trac without having a trac > account, only logged with a GitHub account? > > I think yes, see http://doc.sagemath.org/html/en/developer/trac.html The branch name (created

Re: [sage-support] Piecewise Function Fails to Evaluate in its Domain

2019-04-03 Thread David Joyner
On Wed, Apr 3, 2019 at 2:47 PM wrote: > The simplest example: > > f = piecewise([[[-pi-1, -pi/2], 0], [(-pi/2,pi/2), 1], [[pi/2, pi+1], 0]]) > print(f(-pi)) > > I'm not sure why it isn't evaluating symbolic numbers like pi, but here's a work-around: sage: f = piecewise([((-pi-*1*, -pi/*2*),

[sage-support] Piecewise Function Fails to Evaluate in its Domain

2019-04-03 Thread brandonhgomes
The simplest example: f = piecewise([[[-pi-1, -pi/2], 0], [(-pi/2,pi/2), 1], [[pi/2, pi+1], 0]]) print(f(-pi)) which gives the traceback: TypeError Traceback (most recent call last) in () > 1 f(-pi)

Re: [sage-support] Print statement vs function in Sage-py3

2019-04-03 Thread John Cremona
On Wed, 3 Apr 2019 at 18:56, John H Palmieri wrote: > > > On Wednesday, April 3, 2019 at 10:11:19 AM UTC-7, kcrisman wrote: >> >> >> >> On Tuesday, April 2, 2019 at 6:03:23 PM UTC-4, Dima Pasechnik wrote: >>> >>> On Tue, Apr 2, 2019 at 10:47 PM wrote: >>> > >>> > Hello, Sage community. >>> >

Re: [sage-support] Print statement vs function in Sage-py3

2019-04-03 Thread kcrisman
On Tuesday, April 2, 2019 at 6:03:23 PM UTC-4, Dima Pasechnik wrote: > > On Tue, Apr 2, 2019 at 10:47 PM wrote: > > > > Hello, Sage community. > > With the upcoming migration of Sage from Python2 to Python3, I was > wondering if the "print" statement will be changed to the new "print" >

Re: [sage-support] Print statement vs function in Sage-py3

2019-04-03 Thread John H Palmieri
On Wednesday, April 3, 2019 at 10:11:19 AM UTC-7, kcrisman wrote: > > > > On Tuesday, April 2, 2019 at 6:03:23 PM UTC-4, Dima Pasechnik wrote: >> >> On Tue, Apr 2, 2019 at 10:47 PM > >> wrote: >> > >> > Hello, Sage community. >> > With the upcoming migration of Sage from Python2 to Python3,

Re: [sage-support] Print statement vs function in Sage-py3

2019-04-03 Thread dsejas . mathematics
On Wednesday, April 3, 2019 at 1:56:03 PM UTC-4, John H Palmieri wrote: > > > > On Wednesday, April 3, 2019 at 10:11:19 AM UTC-7, kcrisman wrote: >> >> >> >> On Tuesday, April 2, 2019 at 6:03:23 PM UTC-4, Dima Pasechnik wrote: >>> >>> On Tue, Apr 2, 2019 at 10:47 PM wrote: >>> > >>> > Hello,