Compatibility with pexpect-u
Riccardo Angius
Branch: rangius/corenlp-python:master
Branch: torotoki/corenlp-python:master
Merged
Merged pull request
Merged in rangius/corenlp-python (pull request #6)
Merged in rangius/corenlp-python (pull request #6)
Pexpect-u is a fork of pexpect that sanely returns unicode output for those of us still working with Python 2.7; using it in place of plain pexpect breaks the wrapper, as it calls .decode() on a unicode object. This edit introduces an additional check that fixes the problem.