Lucas,
Something must have changed in JSON data format sent from the Stack Exchange API because yesterday for no reason I started getting:
ValueError("Unexpected UTF-8 BOM (decode using utf-8-sig)")
(I searched through many forums, reinstalled python a couple of times etc etc)
As the error says, there is a problem with the encoding. Basically all I had to do is change the encoding type
in the line 157 of the web.py file
from:
parsed_result = json.loads(req.data.decode('utf8'))
to:
parsed_result = json.loads(req.data.decode('utf-8-sig'))
and then reinstall the library.
Hope that helps anyone with the same issue...