[issue10976] json.loads() throws TypeError on bytes object

April 26, 2012
4:20 a.m.
Balthazar Rouberol <rouberol.b@gmail.com> added the comment: I know this does not fix anything at the core, but it would allow you to use json.loads() with python 3.2 (maybe 3.1?): Replace json.loads(raw_data) by raw_data = raw_data.decode('utf-8') # Or any other ISO format json.loads(raw_data) ---------- nosy: +Balthazar.Rouberol _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue10976> _______________________________________
4688
Age (days ago)
4688
Last active (days ago)
0 comments
1 participants
participants (1)
-
Balthazar Rouberol