Status: Accepted
Owner: vlada.pe...@gmail.com
CC: elliso...@gmail.com
Labels: Type-Defect Priority-Medium Quantum Python3

New issue 2612 by vlada.pe...@gmail.com: Error in quantum/__init__.py under Python 3
http://code.google.com/p/sympy/issues/detail?id=2612

There seems to be some import magic going around here, but it doesn't work in Python 3. Brian, you wrote this, could you take a look please? You can use my porting4-2to3 branch to avoid running 2to3. This is caught by the doctests only, btw.

__________ /home/vperic/devel/sympy/sympy/physics/quantum/__init__.py __________
  File "/usr/local/lib/python3.2/doctest.py", line 200, in _normalize_module
    return __import__(module, globals(), locals(), ["*"])
File "/home/vperic/devel/sympy/sympy/physics/quantum/__init__.py", line 20, in <module>
    __all__.extend(qapmod.__all__)
AttributeError: 'function' object has no attribute '__all__'

--
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