munnellg / OfMagesAndMagic

A simple fighting game for teaching Python
MIT License
13 stars 4 forks source link

Adding compatibility with python3 #7

Closed dmateusp closed 7 years ago

dmateusp commented 7 years ago

For now, changing Exception Syntax seemed to do the job as far as what was breaking Python3 compatibility,

My feeling is that we should be always maintaining both because colleges/dojos and educational infrastructures take time to change and sometimes it can be hard to install a new version of Python due to restrictions.

6

dmateusp commented 7 years ago

Let me just change the README Python requirement!

munnellg commented 7 years ago

A goal from the outset was to make the code independent of Python version. That gradually slipped away as deadlines approached, but yes, both Python versions should be supported.

If possible, we shouldn't need to maintain two branches. I think if we are sensible about how we write the program (and find a suitable alternative to those exceptions), then it shouldn't matter which version you're running.