Well, there is no successful submission in Python3 for this problem. So it might just be impossible to solve this problem using Python.
Unfortunately not all of the problems are set up in a way that you can use succeed with any language. This is espacially true for the "older" problems.
So the best idea might be to port your code to a compiled language...