Fix some non-python 3 things#13
Conversation
| try: | ||
| from StringIO import StringIO | ||
| except: | ||
| pass |
There was a problem hiding this comment.
i'm struggling to understand how pass can work here. isnt some kind of StringIO import required in order for the code to be able to work?
There was a problem hiding this comment.
My bad, I'm fixing this right now.
|
Hi, reading the code I have only one question which I asked in-line. In general: does the code pass unit testing with python2 and/or python3? |
|
Both of ggtracker and my fork failed on test_replays with Python3 because of an invalid syntax (Python2 print syntax) For test_s2gs, it works on my side while it doesn't on the ggtracker version, because of what I've changed. Nothing seems to have changed for Python2. |
|
Hi @DasFranck sorry for the delay. |
|
Yes, that's exactly what I meant. |
|
@DasFranck so funny we should talk about this, someone just asked on twitter about python3 support and now I can tell them we do! Thank you. |
|
good job @DasFranck 👍 |
There's some few things which doesn't works with python3.
Quick-fixed.