-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python 2 vs Python 3 #26
Comments
I vote for Python 3, the differences between the two aren't major, and as you said it's probably worth using the newer version of the language. |
I think, since this is an educational club and this project is also meant to teach us as well as make a decent PLAN site, we could definitely do Python 3. This time Hardison isn't trying to throw something together with other administrative things on his mind. We actually have a few months of time to prepare. That said, I'm asking stringy and mobyte, since stringy has given recommendations on this subject before, and mobyte, since he has already been working with Python 3 and virtualenvs on the Botler project. After we get their input let's make a decision. |
I think the main thing to consider is third-party packages. I don't think we are really going to be using many, but it's something to consider. |
most of the major players have switched to python 3. Of those that haven't, there are alternatives. I've never had library issues with python 3. We need to just make a decision and stick with it. |
no matter what we thought we were going to do, i just tested the project and it fails on python3. This means either we have to start porting now (so we dont get too far down the rabbit hole) or just decide to go with python2 |
@cpgillem should we just close this issue and stick with python 2 or do you want me to port our existing work to python 3? |
How much work is porting it to Python 3? I think since this is a website that will be up long term and we still have a few months to make it, it might be worth looking into. |
i'll open up a branch and start working |
We should decide early on if we're going with python 2 or 3. As the project sits right now, (17901c8), it is fully compatible with both runtimes. The Makefile is set up to use python 2 but it could be easily changed.
My opinion: Python 2 is what more python developers are going to know, but python 3 is the future of the language and is worth learning. Python 3 has some valuable runtime and library improvements, but the differences aren't going to matter much for our use case (we don't really much care about advanced algorithms for a simple project like this). I would say use python 3 just because it is worth learning, but if more people are comfortable with python 2 that would be fine also.
@cpgillem what are your thoughts on this since you seem to be leading this project?
edit: worth noting that ubuntu comes with python 2 as the default python
The text was updated successfully, but these errors were encountered: