perhaps the parsing function is not designed for Python 3
take a look at the doc`s perhaps you finde the problem quicker