ddnet-scripts icon indicating copy to clipboard operation
ddnet-scripts copied to clipboard

Few simple ports to py3 in server scripts

Open ChillerDragon opened this issue 5 years ago • 3 comments

ChillerDragon avatar Feb 29 '20 12:02 ChillerDragon

Have you tested that this causes no issues with different unicode handling in python 3 compared to 2?

def- avatar Feb 29 '20 19:02 def-

@def- which script are you talking about? And do you have instructions on how to test it? The big.py seems to work the same as in python2 and I used the 2to3 tool which should be able to handle some basics scripts like those I guess.

ChillerDragon avatar Mar 01 '20 13:03 ChillerDragon

In my experience python2 to python3 conversions are not that easy because of the way strings are handled.

def- avatar Mar 01 '20 13:03 def-