For tuple.index, probably the easiest way to work around it is to
temporarily convert it to a list and use list.index.  Add some comment
by it so that we can remember to change it back when we drop Python
2.5 support.

Aaron Meurer

On Tue, Apr 2, 2013 at 11:43 AM, Alan Bromborsky <[email protected]> wrote:
> On 04/02/2013 12:31 PM, Alan Bromborsky wrote:
>>
>> Python 2.5 - Fails tests because I use tuple.index()
>> Python 2.6 - Passes tests
>> Python 2.7 - Passes tests
>> Python 3.2 - Fails tests because I overload __div__ instead of __truediv__
>>
>> My question is if I modify ga.py in sympy/py3k-sympy/sympy/ga how do I get
>> sympy-bot to use that version for testing or is there a way of making the
>> 2.7 version of ga compatible with python 3.2 now that I know the problem?
>>
>> What should I do next?
>>
> Using what I found in the body of sympy (added line "__truediv__ = __div__"
> after def __div__ in MV class in ga.py) GA_rewrite now passes all tests for
> python 3.2.  What is my next step?
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/sympy?hl=en-US.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to