New issue 2912: TypeError: decoding Unicode is not supported when using PyCurl https://bitbucket.org/pypy/pypy/issues/2912/typeerror-decoding-unicode-is-not
Donald Stufft: I am attempting to port an application from CPython to PyPy3, and I'm running into an error that is only occurring on PyPy when using PyCurl. Reproduction steps are: ``` docker run --rm -it pypy:3.5-6.0.0-slim /bin/bash apt-get update apt-get install build-essential libffi-dev libcurl4-openssl-dev libssl-dev pip install pycurl pypy3 - <<$end import pycurl c = pycurl.Curl() c.setopt(pycurl.URL, "https://example.com/") print(c.getinfo(pycurl.EFFECTIVE_URL)) $end Traceback (most recent call last): File "<stdin>", line 4, in <module> TypeError: decoding Unicode is not supported ``` If I do the same thing using CPython 3.5 (or 3.6), it gives me back `https://example.com/` instead of generating a `TypeError`. _______________________________________________ pypy-issue mailing list pypy-issue@python.org https://mail.python.org/mailman/listinfo/pypy-issue