Re: [sympy] Python integer divisions should be fractions

2021-05-14 Thread Aaron Meurer
On Fri, May 14, 2021 at 4:01 PM Oscar Benjamin wrote: > > On Fri, 14 May 2021 at 22:27, Aaron Meurer wrote: >> >> On Fri, May 14, 2021 at 3:04 PM Oscar Benjamin >> wrote: >> > >> > On Fri, 14 May 2021 at 21:33, Aaron Meurer wrote: >> > > >> > > On Fri, May 14, 2021 at 1:59 PM gu...@uwosh.edu

Re: [sympy] Python integer divisions should be fractions

2021-05-14 Thread Oscar Benjamin
On Fri, 14 May 2021 at 22:27, Aaron Meurer wrote: > On Fri, May 14, 2021 at 3:04 PM Oscar Benjamin > wrote: > > > > On Fri, 14 May 2021 at 21:33, Aaron Meurer wrote: > > > > > > On Fri, May 14, 2021 at 1:59 PM gu...@uwosh.edu > wrote: > > > > > > > > > > > > I want to second Aaron's comment.

Re: [sympy] Python integer divisions should be fractions

2021-05-14 Thread Aaron Meurer
On Fri, May 14, 2021 at 3:04 PM Oscar Benjamin wrote: > > On Fri, 14 May 2021 at 21:33, Aaron Meurer wrote: > > > > On Fri, May 14, 2021 at 1:59 PM gu...@uwosh.edu wrote: > > > > > > > > > I want to second Aaron's comment. Please just use > > > `sympy.init_session(auto_int_to_Integer=True)` if

Re: [sympy] Python integer divisions should be fractions

2021-05-14 Thread Oscar Benjamin
On Fri, 14 May 2021 at 21:33, Aaron Meurer wrote: > > On Fri, May 14, 2021 at 1:59 PM gu...@uwosh.edu wrote: > > > > > > I want to second Aaron's comment. Please just use `sympy.init_session(auto_int_to_Integer=True)` if you want that behavior. As a scientist who uses python to process large

Re: [sympy] Google Season of Docs

2021-05-14 Thread Oscar Benjamin
Welcome Joannah! Looking forward to working with you... Oscar On Fri, 14 May 2021 at 20:48, Aaron Meurer wrote: > > Hello everyone. > > I am happy to announce that we have hired Joannah Nanjekye for Google > Season of Docs 2021. Joannah will be working over the next 5 months on > improving the

Re: [sympy] Python integer divisions should be fractions

2021-05-14 Thread Aaron Meurer
On Fri, May 14, 2021 at 1:59 PM gu...@uwosh.edu wrote: > > > I want to second Aaron's comment. Please just use > `sympy.init_session(auto_int_to_Integer=True)` if you want that behavior. As > a scientist who uses python to process large data sets I do not want it to > bog down trying to do

Re: [sympy] Python integer divisions should be fractions

2021-05-14 Thread gu...@uwosh.edu
I want to second Aaron's comment. Please just use `sympy.init_session(auto_int_to_Integer=True)` if you want that behavior. As a scientist who uses python to process large data sets I do not want it to bog down trying to do exact calculations. Most datasets only have a few significant figures

[sympy] Google Season of Docs

2021-05-14 Thread Aaron Meurer
Hello everyone. I am happy to announce that we have hired Joannah Nanjekye for Google Season of Docs 2021. Joannah will be working over the next 5 months on improving the organization of the SymPy documentation. For those who don't know, Season of Docs is a program run by Google that matches

Re: [sympy] Python integer divisions should be fractions

2021-05-14 Thread Aaron Meurer
The problem is that this would affect all integer divisions anywhere in Python, which would be a huge compatibility break. I'm sure not even SymPy's own test suite would pass all tests under this patched interpreter. Even if you don't care about backwards compatibility, it's generally a bad idea

[sympy] Python integer divisions should be fractions

2021-05-14 Thread Martin Teichmann
Hi fans of sympy, often when I am using sympy I accidentally just type "1/2" to mean one half. All of you know that sympy does not like that... So I asked myself, does it need to be like that? So I played around a bit with the Python interpreter, and just made integer divisions return

Re: [sympy] Introducing Equation module

2021-05-14 Thread Chris Smith
> the str() representation should be something that can be copy-pasted This, of course, allows for creativity in presentation to get the cut-and-paste right while still giving something that is easy to look at. Consider the matrix-like presentation of Matrix: >>> ones(2) Matrix([ [1, 1], [1,