Re: [sympy] ipython configuration and isympy

2012-04-28 Thread Joachim Durchholz
Am 28.04.2012 00:33, schrieb Aaron Meurer: However as it is a blocker on one of my pull request I will actually try to do it now that I have your approval. (in a week as I have many exams at the moment) If my approval is all it takes, then I hereby approve everybody to implement any idea or fix

Re: [sympy] Trigsimp using groebner bases

2012-04-28 Thread Aaron Meurer
On Sat, Apr 28, 2012 at 12:42 AM, Tom Bachmann wrote: > On 28.04.2012 02:42, Aaron Meurer wrote: >> >> On Fri, Apr 27, 2012 at 2:46 PM, Tom Bachmann  wrote: >>> >>> A quick update: >>> >>> I implemented a much better selection strategy for the groebner basis >>> algorithm ("sugar cube"), implement

Re: [sympy] Best practices for using virtualenv?

2012-04-28 Thread Joachim Durchholz
Am 27.04.2012 23:57, schrieb Aaron Meurer: It's just the other way round: I don't have tox in the package list, so I need to use pip or easy_install, which means using virtualenv so I have an environment I can install tox into. Uninstalling tox is then easy, just throw away the virtual environme

[sympy] Pull request review and testing (Plotting Module).

2012-04-28 Thread Bharath M R
Hi, I am Bharath M R and I will be working on the implicit plotting module as part of GSoC this year. I will be basing my work on Stefan's pull request [1]. So I would like to get it merged before I start working on my project. This will help me to have regular atomic pull requests throughout su

Re: [sympy] Pull request review and testing (Plotting Module).

2012-04-28 Thread krastanov.ste...@gmail.com
Hi Bharath, First of all, what should I do to add you as a collaborator to the pull request (I was not aware it was possible)? Second, we can meet on IRC or skype so I can help you with reviewing the code. There is one big chunk of documentation missing and one important change still needs to be

Re: [sympy] Pull request review and testing (Plotting Module).

2012-04-28 Thread krastanov.ste...@gmail.com
> > @Stefan Can you add me as an collaborator for the plotting module branch? Or > will it be better > if I send pull requests to your branch to fix the problems that come up? > I checked that. I think it would be better to send a pull request to my branch with your changes. -- You received this

Re: [sympy] Pull request review and testing (Plotting Module).

2012-04-28 Thread krastanov.ste...@gmail.com
Things to be changed: #1 Plot() should not do all this magic. All the magic should be in plot() and Series(). - Plot() should accept only instances of subclasses of BaseSeries in its constructor. - plot() should be fixed to work after the change to Plot() - the documentation should explicitly ment

Re: [sympy] Pull request review and testing (Plotting Module).

2012-04-28 Thread krastanov.ste...@gmail.com
There is also the problem with what to do when the result is a complex number. This is complicated, so I really hope that we can leave this question out at least for the moment. (the current behavior is to plot the real part of the expression) -- You received this message because you are subscrib

Re: [sympy] Best practices for using virtualenv?

2012-04-28 Thread krastanov.ste...@gmail.com
Just a tangential remark: The pip tool permits you to install python packages independently of apt-get and permits also their removal. If you want an independent environment you can do something like this: # virtualenv ENV # cd ENV # source bin/activate # pip install numpy # pip install gmpy # p

[sympy] what does Equal and == do in sympy

2012-04-28 Thread Robert
Hello, I have a question about == and Equal in sympy. Their behavior is strange to me. In [108]: expr = sympy.simplify('Equal(A,B)') In [111]: expr.subs(dict(A=1, B=1)) Equal(1, 1) In [112]: expr = sympy.simplify('A==B') In [113]: expr False In [115]: A = sympy.Symbol('A') In [116]: B = sympy.

[sympy] ipython notebooks in examples and documentation [again, but this time with a possible solution]

2012-04-28 Thread krastanov.ste...@gmail.com
This has cropped up a number of times already. The main points: - ipython notebooks are great for examples from pedagogical point of view - there is no standard way to run tests on them - there is no standard way to add them to sphinx docs (this http://matplotlib.sourceforge.net/sampledoc/ipython_

Re: [sympy] Best practices for using virtualenv?

2012-04-28 Thread Joachim Durchholz
Am 28.04.2012 18:04, schrieb krastanov.ste...@gmail.com: If you want an independent environment you can do something like this: # virtualenv ENV # cd ENV # source bin/activate # pip install numpy # pip install gmpy # pip etc... # #do whatever you want # deactivate # cd .. and your system will n

Re: [sympy] Pull request review and testing (Plotting Module).

2012-04-28 Thread Aaron Meurer
That's great that you're looking at this now, so that you can indeed get atomic pull requests throughout the summer. I think that the main thing is to get a stable API, as we may end up releasing at some point in the beginning of the summer. Other things like what to do with complex numbers can w

Re: [sympy] Best practices for using virtualenv?

2012-04-28 Thread Aaron Meurer
On Sat, Apr 28, 2012 at 5:38 AM, Joachim Durchholz wrote: > Am 27.04.2012 23:57, schrieb Aaron Meurer: > >>> It's just the other way round: I don't have tox in the package list, so I >>> need to use pip or easy_install, which means using virtualenv so I have >>> an >>> environment I can install to

Re: [sympy] Best practices for using virtualenv?

2012-04-28 Thread Aaron Meurer
Ah, I didn't realize that pip lets you uninstall packages. So the main advantage of using apt-get over pip then is that the system will know about it for its dependency tracking. By the way, something to be aware of when using pip: pip is extremely aggressive in getting the latest version of a p

Re: [sympy] ipython notebooks in examples and documentation [again, but this time with a possible solution]

2012-04-28 Thread Aaron Meurer
This sounds good to me. So it would look something like this: - All of our git tracked examples will be in .ipnb format. - The test script calls nbconvert on the examples, and runs the .py files. These are not tracked by git. - At release time, we use nbconvert to convert the notebook files to p

Re: [sympy] GSoC Project

2012-04-28 Thread Aaron Meurer
It would be great if you still implemented this outside of GSoC. Just ask here if you have any questions. Aaron Meurer On Mon, Apr 23, 2012 at 2:17 PM, Saurabh Jha wrote: > Hi, > > I am not accepted this year. However, I really want to work on this > project. Will the implementation of Manuel K

Re: [sympy] ipython notebooks in examples and documentation [again, but this time with a possible solution]

2012-04-28 Thread krastanov.ste...@gmail.com
On 28 April 2012 23:19, Aaron Meurer wrote: > This sounds good to me.  So it would look something like this: > > - All of our git tracked examples will be in .ipnb format. > - The test script calls nbconvert on the examples, and runs the .py > files.  These are not tracked by git. > - At release t

Re: [sympy] Best practices for using virtualenv?

2012-04-28 Thread Joachim Durchholz
Am 27.04.2012 23:57, schrieb Aaron Meurer: There is a label in the issue tracker, "Testing", that should be on all testing related issues (just search for "label:Testing"). Okay, finished reading. From the issues, it seems to me that it would be easier to solve any problems SymPy may have wit

[sympy] New raises()

2012-04-28 Thread Joachim Durchholz
Hi all, I'm having a "will this cause too much surprise" question here. I need to explain the situation, so I'm sorry for any tl;dr effects. as those who're watching https://github.com/sympy/sympy/pull/911 already know, I have upgraded raises() by backporting some code from pytest. Raises will

Re: [sympy] New raises()

2012-04-28 Thread krastanov.ste...@gmail.com
On 29 April 2012 00:10, Joachim Durchholz wrote: > Hi all, > > I'm having a "will this cause too much surprise" question here. > I need to explain the situation, so I'm sorry for any tl;dr effects. > > as those who're watching https://github.com/sympy/sympy/pull/911 already > know, I have upgraded

Re: [sympy] Best practices for using virtualenv?

2012-04-28 Thread Ronan Lamy
Le samedi 28 avril 2012 à 15:03 -0600, Aaron Meurer a écrit : > On Sat, Apr 28, 2012 at 5:38 AM, Joachim Durchholz wrote: > > Am 27.04.2012 23:57, schrieb Aaron Meurer: > > > > > >> Yeah, they don't really have any of that implemented. You'll have to > >> use your built-in OS services to reduce t