Python version itself

I have thus far been working with python 2.7, for no particular reason aside from that it’s been stable/comfortable/usable from when I really got going with python, but, while think latest release version of python is something like 3.4, what are the reasons, if any, for sticking to/with the older version for a while longer?

Cross platform compatibility? Code updates it will require if moving older code over to newer interpreter, etc.?

TIA

Jacob Kruger
Blind Biker
Skype: BlindZA
“Roger Wilco wants to welcome you…to the space janitor’s closet…”

The only reasons to stay with 2.7 are:

···

On 11/05/14 21:38, Jacob Kruger wrote:

      I have thus far been working with

python 2.7, for no particular reason aside from that it’s been
stable/comfortable/usable from when I really got going with
python, but, while think latest release version of python is
something like 3.4, what are the reasons, if any, for sticking
to/with the older version for a while longer?

      Cross platform compatibility?

Code updates it will require if moving older code over to
newer interpreter, etc.?

TIA

      Jacob Kruger

      Blind Biker

      Skype: BlindZA

      "Roger Wilco wants to welcome you...to the space janitor's

closet…"

  You received this message because you are subscribed to the Google

Groups “wxPython-users” group.

  To unsubscribe from this group and stop receiving emails from it,

send an email to wxpython-users+unsubscribe@googlegroups.com.

  For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

real

  1.     Legacy code - the best answer here is either to start using
    

six and/or future and port the code to run on both - the
general recommendation a while back was write & maintain in
3.x and test for backwards compatibility.

  1.     Reliance on one or more of the shrinking number of libraries
    

that have not been ported to 3.x yet, unfortunately some parts
of wx, (most AFIK the agv components), are in this list of TBD
items. If the list of items you need I am sure that patches
would be welcome or you may find that there are alternative
elements that work as well or better.

  1. Familiarity.
    The good news is that with the recent change to PEP 373
    some support for python 2.7.x will continue until 2020.

Hope that helps.

Gadget/Steve

Hi Jacob,

I have thus far been working with python 2.7, for no particular reason aside from that it's been stable/comfortable/usable from when I really got going with python, but, while think latest release version of python is something like 3.4, what are the reasons, if any, for sticking to/with the older version for a while longer?
Cross platform compatibility? Code updates it will require if moving older code over to newer interpreter, etc.?

I think others haven't mentioned it yet but wxPython version which is compatible with Python 3.3/3.4 is still in development, depending on what widgets etc you use in wxPython it might or might not work for you yet, however it would be a good time to start testing with it and report issues you have with it.

http://wxpython.org/Phoenix/docs/html/main.html

Werner

···

On 5/11/2014 22:38, Jacob Kruger wrote: