Here is the situation: I've been playing around with new versions of 
Sphinx. If I've installed a new version and then go back to an old version, 
the directory local/lib/python2.7/site-libraries/sphinx/ is not removed and 
then recreated, but instead the changed files are reinstalled, leaving 
remnants of the previous version there. Is this how things are supposed to 
work?

In this particular case, things break: in both versions of Sphinx, there is 
a file sphinx/util/parallel.py which has the line

    from math import sqrt

In the new version of Sphinx, there is a file sphinx/util/math.py, but 
sphinx/util/parallel.py also has the line from __future__ import 
absolute_import, so no confusion. In the old version of Sphinx, the 
absolute_import line is not there. In a better world, sphinx/util/math.py 
would be removed when I install the old version (since it belongs to the 
new version, not the old), but it remains, so parallel.py tries and fails 
to import sqrt from this file.

-- 
John

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to