As I mentioned on the mailing list, this answer is valid.  match() is
not guaranteed to give any particular answer when more than one is
valid, so you should always use the exclude keyword on Wild to make
the match unique.

Aaron Meurer

On Sun, Aug 21, 2011 at 4:59 PM, Sean Vig <sean.v....@gmail.com> wrote:
> I get that exact result, linux python 2.7.2.
> Sean
>
> On Sun, Aug 21, 2011 at 16:50, smichr <smi...@gmail.com> wrote:
>>
>> lazovich reported a failure of
>>
>> ```python
>> >>> a,b,c = map(Symbol, 'abc')
>> >>> x,y = map(Wild, 'xy')
>> >>> (a+b*I).match(x+y*I)
>> {x_: I*b, y_: -I*a}
>>
>> Could someone test this? It doesn't fail for me. w32 py27
>>
>> --
>> 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
>> http://groups.google.com/group/sympy?hl=en.
>>
>
> --
> 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
> http://groups.google.com/group/sympy?hl=en.
>

-- 
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 
http://groups.google.com/group/sympy?hl=en.

Reply via email to