Forged Alliance Forever Forged Alliance Forever Forums 2014-09-28T19:06:09+02:00 /feed.php?f=45&t=7019 2014-09-28T19:06:09+02:00 2014-09-28T19:06:09+02:00 /viewtopic.php?t=7019&p=82003#p82003 <![CDATA[Re: Migration to Python 3?]]>
Also, Python 2.x is still the most used version out there, and most likely the most stable and secured version.

Statistics: Posted by Ze_PilOt — 28 Sep 2014, 19:06


]]>
2014-09-27T20:15:12+02:00 2014-09-27T20:15:12+02:00 /viewtopic.php?t=7019&p=81922#p81922 <![CDATA[Re: Migration to Python 3?]]>
Frozen_byte wrote:
Since Py2 is still provided with security updates it is not necessary to update asap.
Anyway I also like to change for Python3.
Consider this:
Python3 is in active development
That means it will get more efficient, more secure, more feature-rich, more compatible over time.

So I approve the migration to Py3.


Dragonfire wrote:Never change a running system ...
Not sure what happen with all the PyQt Code stuff ...

Wiki answers:
https://wiki.python.org/moin/PyQt wrote:
PyQt is available in two editions: PyQt4 which will build against Qt 4.x and 5.x and PyQt5 which will only build against 5.x. Both editions can be built for Python 2 and 3.


Migration should happen if one of the following happens:

- Security flaws which won't get updated
- Really noticable performance increase (should compensate the amount of effort)
- New features are needed for something you want to develop

Updates just for the sake of buzz is not an option in professional development. I know it's exciting for the developers themselves to work with cutting edge (if not bleeding edge), I know, I am a developer too.

Statistics: Posted by Aurion — 27 Sep 2014, 20:15


]]>
2014-09-27T20:09:20+02:00 2014-09-27T20:09:20+02:00 /viewtopic.php?t=7019&p=81920#p81920 <![CDATA[Re: Migration to Python 3?]]> Anyway I also like to change for Python3.
Consider this:
Python3 is in active development
That means it will get more efficient, more secure, more feature-rich, more compatible over time.

So I approve the migration to Py3.


Dragonfire wrote:
Never change a running system ...
Not sure what happen with all the PyQt Code stuff ...

Wiki answers:
https://wiki.python.org/moin/PyQt wrote:
PyQt is available in two editions: PyQt4 which will build against Qt 4.x and 5.x and PyQt5 which will only build against 5.x. Both editions can be built for Python 2 and 3.

Statistics: Posted by Frozen_byte — 27 Sep 2014, 20:09


]]>
2014-09-27T19:00:40+02:00 2014-09-27T19:00:40+02:00 /viewtopic.php?t=7019&p=81912#p81912 <![CDATA[Re: Migration to Python 3?]]> Not sure what happen with all the PyQt Code stuff ...

Statistics: Posted by Dragonfire — 27 Sep 2014, 19:00


]]>
2014-03-17T00:01:57+02:00 2014-03-17T00:01:57+02:00 /viewtopic.php?t=7019&p=69173#p69173 <![CDATA[Re: Migration to Python 3?]]>

Statistics: Posted by Eximius — 17 Mar 2014, 00:01


]]>
2014-03-16T23:35:30+02:00 2014-03-16T23:35:30+02:00 /viewtopic.php?t=7019&p=69169#p69169 <![CDATA[Re: Migration to Python 3?]]> Statistics: Posted by Ze_PilOt — 16 Mar 2014, 23:35


]]>
2014-03-16T03:52:40+02:00 2014-03-16T03:52:40+02:00 /viewtopic.php?t=7019&p=69096#p69096 <![CDATA[Migration to Python 3?]]>
Just because It was kind of a trivial task, I did it for funsies.
2to3 python conversion script did the job for the most part, the only manual changes I made were editing string literals which have '\' followed by 'U' or 'u' (which in python 3 mean unicode character points, and changing types.{Int,Float,List,Dict}Type to just int,float,list,dict (because python 3). Also, string.maketrans is just str.maketrans now.

I am using 64bit python3.3 (I am not expecting anyone to change to 64bit, because, well, people hate change.)

You can see the changes here: https://bitbucket ~ org/Eximius_/modular-client/commits/6270edb6d5b789a98998a89cc298840be10af4e5

Motivation
- Python 2 is still full-fledge python environment with little drawbacks from python 3.
+ Python 3 has a cleaner standard library.
+ Python 3 is constantly being updated.
+ Python 3 adds quite a few performance improvements.
+ All the cool kids use Python 3.

Troubles
    no py2exe for python3 ~ Solution ~> cx-freeze.sourceforge (Which even works on linux (I like linux))[/size]
    mumble_link is python2

Troubles due to my 64bit python
    uid.dll is 32bit
    mumble_link is 32bit

I guess the real question is what do you guys think?

Statistics: Posted by Eximius — 16 Mar 2014, 03:52


]]>