[sage-devel] Re: Error when plotting `sum(i for i in range(x))`

2025-01-21 Thread dmo...@deductivepress.ca
The error message is correct -- you should not expect to be able to plot this function, because it is only defined for integer values of x, not all x between 2 and 4. For example: sage: f1(2.1) TypeError: 'sage.rings.real_mpfr.RealLiteral' object cannot be interpreted as an integer On Tuesd

[sage-devel] Error when plotting `sum(i for i in range(x))`

2025-01-21 Thread Georgi Guninski
sage: def f1(x): return sum(i for i in range(x)) sage: f1(20) 190 sage: pl1=plot(f1,2,4);pl1 verbose 0 (3965: plot.py, generate_plot_points) WARNING: When plotting, failed to evaluate function at 200 points. verbose 0 (3965: plot.py, generate_plot_points) Last error message: ''float' object cannot

[sage-devel] problems building gmpy

2025-01-21 Thread David Einstein
Macosx 15.1.1 M1 laptop I probably messed something up with my python setup but I cannot figure out what. It is looking for python 3.11 which I have removed. Thank you for any assistance. This is almost certainly my fault, but I'm not sure how to fix it. -- You received this message beca

Re: [sage-devel] Policy for closing abandoned PRs

2025-01-21 Thread Jackson Walters
That sounds reasonable to me. I have a couple open PRs, one of which originated months ago, but I try to stay current with it. I don't see a problem with closing it with an appropriate tag with the possibility of reopening down the road if they do respond. Best, Jackson On Tue, Jan 21, 2025 at 3:

[sage-devel] Policy for closing abandoned PRs

2025-01-21 Thread Vincent Macri
Currently the allowed reasons to close PRs (see https://doc.sagemath.org/html/en/developer/review.html) is if they try to do too many things, are patch bombs, or aren't sage-specific. We have some PRs that have been reviewed with changes requested with no response from the person who proposed t

Re: [sage-devel] Regarding rebuilding sage

2025-01-21 Thread Dima Pasechnik
On Mon, Jan 20, 2025 at 6:57 PM Pawani Agarwal wrote: > > Hi. > > I had initially built sage from source on my Mac but after running some > command, later running ./sage wasn't working. So I tried to rebuild it again > but it's giving errors. I am also trying to maybe delete everything and then