Announcement: TLSv1.2 will become mandatory in the future for Python.org Sites

Irmen de Jong irmen.NOSPAM at xs4all.nl
Tue Jan 10 12:24:10 EST 2017


On 10-1-2017 16:01, Donald Stufft wrote:
>> TypeError: the JSON object must be str, not ‘bytes'
> Huh, just tested, my original snippet works on Python 3.6 but fails on Python 3.5. 


My guess is that is due to an improvement in 3.6 mentioned here:
https://docs.python.org/3/whatsnew/3.6.html#json

Irmen




More information about the Python-list mailing list