I fixed it.  See http://github.com/asmeurer/sympy/tree/global-i-fix or  
issue 1454.  I maintained the use of from .module import syntax, so it  
should work in py3k (I don't have it to check, though.  That is just  
based on what I saw the 2to3 tool did in your branch).
On Jul 9, 2009, at 8:22 AM, Ondrej Certik wrote:

>
> On Thu, Jul 9, 2009 at 12:23 AM, Aaron S. Meurer<[email protected]>  
> wrote:
>>
>> As long as you are changing import statements, you might as well
>> change ntheorey/__init__.py so that it doesn't do from module import
>> *.  This will fix issue 1454.  I thought that that wasn't allowed
>> anymore in Python 3.0, but maybe I read it wrong.
>
> Please go ahead and do it.
>
> As to from something import *, that is still allowed in python3.
This is what I meant.  From 
http://docs.python.org/3.1/whatsnew/3.0.html#removed-syntax

"The from module import * syntax is only allowed at the module level,  
no longer inside functions."
I guess that doesn't apply to __init__.py files.
>
> Ondrej
Also, what about Python 3.1?  When we get SymPy to work in 3.0, will  
it work in 3.1?

Aaron Meurer

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

Reply via email to