Travis Scrimshaw <tsc...@ucdavis.edu> writes:
> Hey everyone,
>    Should we be encouraging (or enforce) new code to be python 3
> compliant? In particular, not using removed syntax such as exceptions
> as `raise ExceptionType, args` or `<>` comparisons?

Encouraging, yes; enforcing, I'd say no. I don't think a Python 3
transition for Sage is even on the horizon at this point. That said,
there is plenty of "old-style" Python code in Sage which could at least
be updated to 2.7 standards anyway. That old exception raising syntax
you mentioned is one example. There are probably places where we could
make use of `with` clauses and are not. We should be using the
subprocess module instead of os.system (PEP 324). Etc....

-Keshav

-- 
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 http://groups.google.com/group/sage-devel?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to