Comment #10 on issue 2982 by vlada.pe...@gmail.com: galgebra tests failing in python3
http://code.google.com/p/sympy/issues/detail?id=2982

Ok, I'll try but I probably won't manage today nor tomorrow. In the meanwhile, can you try just replacing the offending code with str (instead of types.StringType), there's a bunch of them in the files. I did it and it seems to work fine in Python 2. I actually don't know why the module uses types.whatever, when just the typename is enough (eg. int instead of types.IntType etc.), perhaps these should all be changed. You can use the types fixer to do it easily:

2to3 -w -n -f types sympy/galgebra/GA.py

I tried this with Python 2.7 and it worked fine (perhaps 2.5 will complain but I doubt it).

Could you try making these changes and retesting? Thanks! I can draw up a patch but I suspect this is less hassle.

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to sympy-issues@googlegroups.com.
To unsubscribe from this group, send email to 
sympy-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en.

Reply via email to