On 2016-04-21 11:04, Simon King wrote:
I suppose it would be enough if SageMath would do the "from __future__"
imports at startup. In that way, the doc tests would automatically have
to comply with Python 3, isn't it?

No, future imports work on a file-by-file basis. Also, the parsing of doctests is independent of the parsing of Python modules inside Sage. That's why the handling of future imports in doctests is completely independent of what we do in Sage.

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