-
Notifications
You must be signed in to change notification settings - Fork 48
Replaced python2 with python3 #49
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
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: ummthespruce <[email protected]>
Signed-off-by: ummthespruce <[email protected]>
Signed-off-by: ummthespruce <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The reason we're using Python 2 is that students will find it easier to write python2 -c 'print ...'
rather than python3 -c 'import sys; sys.stdout.buffer.write(...
. We're targeting 1st year students, they'll find it difficult to understand why print(...)
doesn't work or how sys.stdout.buffer.write()
differs.
Python2 is deprecated (has been for a long time), and if you want it on ubuntu 24 you need to build it yourself. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok now it makes more sense @StefanJum. Python3 it is.
@ummthespruce before we merge this, please squash your commits and then reword the commit message according to the guidelines: https://github.com/cs-pub-ro/hardware-software-interface/blob/main/CONTRIBUTING.md#commits |
Prerequisite Checklist
Description of changes