Skip to content
Twig2let edited this page Feb 20, 2014 · 2 revisions

Welcome to the python-cryptocoincharts-api wiki!

Converting API to Python 3 Bug

If you run the Python 2to3 (http://docs.python.org/2/library/2to3.html) programme on the API, it introduces a bug http://bugs.python.org/issue10976. When making a successful HTTP request, you see:

TypeError: can't use a string pattern on a bytes-like object

To fix in the meantime, amend the CryptoCoinChartsApi::_getdata return value on line 117 from response.read() to response.read().decode('utf-8')

Clone this wiki locally