[Python-ideas] Re: Fractions vs. floats - let's have the cake and eat it

2021-05-21 Thread Eric V. Smith
On 5/20/2021 5:41 PM, Stephen J. Turnbull wrote: Matt del Valle writes: > Fully agreed on the sentiment that we shouldn't treat compile-time > literals differently from runtime operations. But as you just pointed out, we do. Literals are evaluated at compile time, operations at runtime.

[Python-ideas] Re: Bring back PEP 501

2021-05-21 Thread Guido van Rossum
(PEP 501 is titled "General purpose string interpolation") It's unlikely that the SC would reconsider PEP 501 as-is. Probably the best way forward is to consider the existing PEP 501 as food for thought, and write up a new proposal that aims to solve some of the same problems in a way that

[Python-ideas] Re: Bring back PEP 501

2021-05-21 Thread Nick Humrich
This thread kind of took a turn to bikeshed, and thats probably my fault, I apologize. I would like to get back to the original question which is, can we revisit PEP 501? What can I do to get this to happen? What is the process for revisiting existing deferred PEPs? Nick On Sat, May 8, 2021 at

[Python-ideas] Re: division of integers should result in fractions not floats

2021-05-21 Thread micro codery
> If there was some way to make >@syms x, y > translate to x, y = syms('x, y') or something like that then that > would be great. Maybe that doesn't have broad enough use for Python > the language but I would certainly add something like that if I was > providing a SymPy UI based on a modified