[sympy] Re: Adding sympy.physics to documentation

2011-06-08 Thread Øyvind Jensen
> sympy.physics.mechanics? +1 -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sympy@googlegroups.com. To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.com. For more options, visit this

[sympy] bugs in units

2011-06-08 Thread Luke
I was writing some documentation for physics/units.py and discovered some infinite recursion RuntimeError: >>> from sympy.physics.units import joule >>> joule File "/home/luke/repos/sympy/sympy/core/expr.py", line 140, in __lt__ return C.StrictInequality(self, other) File "/home/luke/

Re: [sympy] Pull Requests

2011-06-08 Thread Andy Ray Terrel
Feel free to ask me to look at a branch. That's what I'm here for. Additionally what is "quality" code is usually subject to the dev. If it is PEP 8 compliant and doesn't have any major design flaws its usually okay. -- Andy On Fri, Jun 3, 2011 at 7:45 PM, Aaron S. Meurer wrote: > You should

Re: [sympy] bugs in units

2011-06-08 Thread Aaron S. Meurer
See the issue page. It has something to do with the new default lexicographic ordering for printing. Aaron Meurer On Jun 8, 2011, at 2:20 AM, Luke wrote: > I was writing some documentation for physics/units.py and discovered > some infinite recursion RuntimeError: > from sympy.physics.un

[sympy] Why is Symbol subclassed from Boolean?

2011-06-08 Thread krastanov.ste...@gmail.com
Why is it necessary? -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sympy@googlegroups.com. To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.com. For more options, visit this group at

Re: [sympy] Why is Symbol subclassed from Boolean?

2011-06-08 Thread Aaron S. Meurer
I think it's so that we can use symbols in boolean expressions, like In [2]: x & y Out[2]: x ∧ y But I think this is a bad design. We should rather have a BooleanSymbol to do this. Aaron Meurer On Jun 8, 2011, at 2:41 PM, krastanov.ste...@gmail.com wrote: > Why is it necessary? -- You rec

Re: [sympy] Why is Symbol subclassed from Boolean?

2011-06-08 Thread Haz
Think of it as a predicate -- it can be either true or false (hence boolean). On Jun 8, 2011 4:41 PM, "krastanov.ste...@gmail.com" < krastanov.ste...@gmail.com> wrote: > Why is it necessary? > > -- > You received this message because you are subscribed to the Google Groups "sympy" group. > To post

Re: [sympy] Why is Symbol subclassed from Boolean?

2011-06-08 Thread krastanov.ste...@gmail.com
On 8 June 2011 22:47, Haz wrote: > Think of it as a predicate -- it can be either true or false (hence > boolean). > Why it needs to be true or false? I don't expect the x in sin(x) to be boolean. What am I missing? > On Jun 8, 2011 4:41 PM, "krastanov.ste...@gmail.com" < > krastanov.ste...@gm

Re: [sympy] Why is Symbol subclassed from Boolean?

2011-06-08 Thread Haz
> Why it needs to be true or false? I don't expect the x in sin(x) to be > boolean. What am I missing? Nothing -- I misunderstood. Ronan may be able to shed some light: - https://github.com/sympy/sympy/commit/635d89c3c53fd84cc884e0ab62dc3f03480fe76a#sympy/core/symbol.py Cheers -- You recei