Issue link: http://code.google.com/p/sympy/issues/detail?id=2867
The idea here is to have a lambda expression instead of a string.
I.e. instead of
>>> raises(TypeError, "Rational(2)*MyInt")
we want
>>> raises(TypeError, lambda: Rational(2)*MyInt)
This works very well, except when the code needs
On Sat, Nov 26, 2011 at 6:51 PM, Joachim Durchholz wrote:
> Issue link: http://code.google.com/p/sympy/issues/detail?id=2867
>
> The idea here is to have a lambda expression instead of a string.
> I.e. instead of
raises(TypeError, "Rational(2)*MyInt")
> we want
raises(TypeError, lambda:
Le samedi 26 novembre 2011 à 14:06 +0100, Joachim Durchholz a écrit :
> Issue link: http://code.google.com/p/sympy/issues/detail?id=2867
>
> The idea here is to have a lambda expression instead of a string.
> I.e. instead of
> >>> raises(TypeError, "Rational(2)*MyInt")
> we want
> >>> raises(Typ
Am 26.11.2011 17:22, schrieb Ronan Lamy:
As with most problems concerning the test suite, the best solution would
be to use pytest: [http://pytest.org/latest/builtin.html#pytest.raises].
How does it avoid the use of strings as parameters?
(Note that to use raises() as a context manager, we need
Am 26.11.2011 15:02, schrieb Chris Smith:
A) Testing nonassignability:
sympy/core/tests/test_assumptions.py, line 393:
raises(AttributeError, "x.is_real = False")
sympy/core/tests/test_containers.py, line 101:
raises(NotImplementedError, "d[5] = 6") # assert immutability
Can't these be teste
On Sat, Nov 26, 2011 at 5:22 PM, Ronan Lamy wrote:
> Le samedi 26 novembre 2011 à 14:06 +0100, Joachim Durchholz a écrit :
>> Issue link: http://code.google.com/p/sympy/issues/detail?id=2867
>>
>> The idea here is to have a lambda expression instead of a string.
>> I.e. instead of
>> >>> raises(T
On Sat, Nov 26, 2011 at 5:48 PM, Joachim Durchholz wrote:
> Am 26.11.2011 17:22, schrieb Ronan Lamy:
>>
>> As with most problems concerning the test suite, the best solution would
>> be to use pytest: [http://pytest.org/latest/builtin.html#pytest.raises].
>
> How does it avoid the use of strings a
Am 26.11.2011 20:58, schrieb Vladimir Perić:
On Sat, Nov 26, 2011 at 5:48 PM, Joachim Durchholz wrote:
Am 26.11.2011 17:22, schrieb Ronan Lamy:
As with most problems concerning the test suite, the best solution would
be to use pytest: [http://pytest.org/latest/builtin.html#pytest.raises].
H
On Mon, Nov 21, 2011 at 10:20 PM, Aaron Meurer wrote:
> Don't forget to add the students to the AUTHORS/aboutus when you push
> in their code (and also try to keep the aboutus up-to-date when they
> submit new stuff, but actually we should be doing that for everybody).
> Keep people in the AUTHOR
Le samedi 26 novembre 2011 à 20:54 +0100, Vladimir Perić a écrit :
> On Sat, Nov 26, 2011 at 5:22 PM, Ronan Lamy wrote:
> > Le samedi 26 novembre 2011 à 14:06 +0100, Joachim Durchholz a écrit :
> >> Issue link: http://code.google.com/p/sympy/issues/detail?id=2867
> >>
> >> The idea here is to have
2011/11/26 Ondřej Čertík :
> On Mon, Nov 21, 2011 at 10:20 PM, Aaron Meurer wrote:
>> Don't forget to add the students to the AUTHORS/aboutus when you push
>> in their code (and also try to keep the aboutus up-to-date when they
>> submit new stuff, but actually we should be doing that for everybod
Hi,
On Fri, Nov 25, 2011 at 4:25 PM, Mateusz Paprocki wrote:
> Hi,
>
> On 25 November 2011 15:08, krastanov.ste...@gmail.com
> wrote:
>>
>> Hi,
>>
>> You can test the new stuff done for sympy-live (the new design and the new
>> mobile interface) on sympy-live-testing-2.appspot.com.
>>
>> Aaron m
On Sat, Nov 26, 2011 at 3:54 PM, Aaron Meurer wrote:
> 2011/11/26 Ondřej Čertík :
>> On Mon, Nov 21, 2011 at 10:20 PM, Aaron Meurer wrote:
>>> Don't forget to add the students to the AUTHORS/aboutus when you push
>>> in their code (and also try to keep the aboutus up-to-date when they
>>> submit
class OracleGate(Gate):
"""A black box gate.
The gate marks the desired qubits of an unknown function by flipping
the sign of the qubits. The unknown function returns true when it
finds its desired qubits and false otherwise.
Parameters
==
qubits : int
On Sat, Nov 26, 2011 at 7:29 PM, David Ju wrote:
> class OracleGate(Gate):
> """A black box gate.
> The gate marks the desired qubits of an unknown function by flipping
> the sign of the qubits. The unknown function returns true when it
> finds its desired qubits and false otherwi
2011/11/26 Ondřej Čertík :
> Hi,
>
> On Fri, Nov 25, 2011 at 4:25 PM, Mateusz Paprocki wrote:
>> Hi,
>>
>> On 25 November 2011 15:08, krastanov.ste...@gmail.com
>> wrote:
>>>
>>> Hi,
>>>
>>> You can test the new stuff done for sympy-live (the new design and the new
>>> mobile interface) on sympy-
The Other Online Shells dropdown (in Chrome) doesn't drop down far
enough and the bottom of the letters are clipped; it only drops as far
as the bottom of the bullet.
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To post to this group, send email to
On Sat, Nov 26, 2011 at 7:08 PM, Chris Smith wrote:
> The Other Online Shells dropdown (in Chrome) doesn't drop down far
> enough and the bottom of the letters are clipped; it only drops as far
> as the bottom of the bullet.
I think it was fixed. Can you try the version at:
http://live.sympy.org
> I think it was fixed. Can you try the version at:
>
> http://live.sympy.org/
>
> I just tested it in Chrome and it seems to work.
>
I have a version of chrome that reports it is up to date running under
Windows 7 and it still appears clipped. Is it just a matter of adding
a newline after the tex
I see the problem too. We should add a newline or two to that field.
Aaron Meurer
On Sat, Nov 26, 2011 at 8:38 PM, Chris Smith wrote:
>> I think it was fixed. Can you try the version at:
>>
>> http://live.sympy.org/
>>
>> I just tested it in Chrome and it seems to work.
>>
>
> I have a version
Hi.
These are known problems with the mpmath sources. These files are
only used in Python 3, so they will not cause any problems. You can
safely ignore them.
I think Fredrick was going to try to rewrite them so that they are not
needed, but I haven't checked if it ever happened. I guess we'll s
Let us know how this goes. I don't have an Android device, though I
do have iOS devices, so I would be interested if you port to that
platform.
Aaron Meurer
On Thu, Nov 24, 2011 at 6:24 PM, Shyam wrote:
> Hi,
> The applications are available in our website:
> http://www.touchthinktanks.com/scri
If someone is free tomorrow, can you go through and create tasks for
the Code-In issues in the tracker that do not have the
CodeInImportedIntoMelange label? They extended the deadline to create
new tasks for this round to Monday, so I think if you create them
tomorrow, they will be available for
This is an interesting question. Definitely is_zero should work.
Actually, it's not so bad. It's just not implemented enough to know
that zero + zero == zero:
In [4]: a.is_zero
Out[4]: True
In [3]: var('a b',positive=False,negative=False,real=True, zero=False)
AssertionError: ('inconsistency b
On Wed, Nov 23, 2011 at 12:54 PM, krastanov.ste...@gmail.com
wrote:
> About translating the wikipedia pages: I agree on adding tasks for that. We
> should just check if there is any sandboxing mechanism that can be used - It
> won't be great to have wrong translations online.
Do you think it's ne
On Sat, Nov 26, 2011 at 12:54 PM, Vladimir Perić wrote:
> On Sat, Nov 26, 2011 at 5:22 PM, Ronan Lamy wrote:
>> Le samedi 26 novembre 2011 à 14:06 +0100, Joachim Durchholz a écrit :
>>> Issue link: http://code.google.com/p/sympy/issues/detail?id=2867
>>>
>>> The idea here is to have a lambda expr
On Sat, Nov 26, 2011 at 2:12 PM, Joachim Durchholz wrote:
> Am 26.11.2011 20:58, schrieb Vladimir Perić:
>>
>> On Sat, Nov 26, 2011 at 5:48 PM, Joachim Durchholz
>> wrote:
>>>
>>> Am 26.11.2011 17:22, schrieb Ronan Lamy:
As with most problems concerning the test suite, the best solution
On Sat, Nov 26, 2011 at 11:49 PM, Aaron Meurer wrote:
> On Sat, Nov 26, 2011 at 12:54 PM, Vladimir Perić
> wrote:
>> On Sat, Nov 26, 2011 at 5:22 PM, Ronan Lamy wrote:
>>> Le samedi 26 novembre 2011 à 14:06 +0100, Joachim Durchholz a écrit :
Issue link: http://code.google.com/p/sympy/issue
28 matches
Mail list logo