Added 255 chr restriction in Python as well, just in case someone gets at it that way