On Sat, Nov 22, 2014 at 1:20 PM, Aaron Meurer <[email protected]> wrote:
> While we're talking about changes for 1.0, how do people feel about
> dropping Python 2.6 support. I think we decided that we need to keep
> Python 3.2 support for the time being because of Debian, but what
> about 2.6? According to
> https://www.python.org/download/releases/2.6.7/, the Python 2.6 series
> hasn't been supported for security releases for over a year. But what
> matters is if people are using it. If there's a good case to keep it
> for the time being, we can.
>
> Some advantages of dropping support is that there is a lot of nice
> syntax backported from Python 3 in Python 2.7 which is unavailable in
> Python 2.6. Some useful things in Python 2.7:
>
> - Set literals (like {1, 2, 3} instead of set([1, 2, 3]))
> - Set and dictionary comprehensions(like {a for a in stuff} or {a: b
> for a, b in stuff})
> - OrderedDict in the standard library
> - Multiple context managers in a single with statement (I don't know
> if we ever do this, but we have a lot of experimental context managers
> like assuming() and evaluate() and this makes it easier to combine
> them).
> - argparse (we can use it instead of optparse in our scripts like isympy)
> - collections.Counter (could be useful, it's effectively a multiset)
>
> But again, the main question is if people are using it.

I am fine with dropping support for Python 2.6.

Ondrej

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CADDwiVDZwK6r3H4SNO7rNZe5iP_gePKtctfpX81kL7Z9xDpZAQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to