Comment #8 on issue 2619 by vlada.pe...@gmail.com: Should we give a better error message on unsupported versions of Python?
http://code.google.com/p/sympy/issues/detail?id=2619
Related to this, we need to find a way to programatically determine whether bin/use2to3 was ran on the code base. If we know that, we can display the appropriate message (eg. py2 code in py3 -> please use bin/use2to3; py3 code in py2 -> please download the original source etc.). This could also be used to disable the running of use2to3 on code that is already py3-compatible (as that produces errors). One idea on how to do this is to skip the bin/use2to3 script on purpose, and then check for it's existence, but that doesn't strike me as particularly robust. An alternative could be to add some constant to __init__.py, which would then get changed by use2to3... strikes me as a bit complicated, but could work. Other than that, I don't know, any ideas?
(Aaron, if you think it's appropriate, you could split this into another issue)
-- 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.