pprint format not compatible with JSON.dumps at high frequencies
It causes extensions such as the editor and terminal to freeze when
running “Aufgabe2.py” that Martin has sent around on June 20th.
Replacing pprint by a regular print statement in that exercise runs
fine.
(from redmine: issue id 2403, created on 2016-06-20 by root, closed on 2016-06-21)
- Changesets:
- Revision 2950 by Benjamin Fischer on 2016-06-21T08:36:38Z:
Socket: fixed handling of utf-8 characters
fixes #2403
tested with: print (u"\u4124").encode("utf-8")
- Revision 2950 by Benjamin Fischer on 2016-06-21T08:36:38Z:
Socket: fixed handling of utf-8 characters
fixes #2403
tested with: print (u"\u4124").encode("utf-8")
- Revision 2951 by Benjamin Fischer on 2016-06-21T08:47:48Z:
Python/JSON: use ensure_ascii=True with every dumps for safety
refs #2403
- Revision 2951 by Benjamin Fischer on 2016-06-21T08:47:48Z:
Python/JSON: use ensure_ascii=True with every dumps for safety
refs #2403
- Revision 2952 by Benjamin Fischer on 2016-06-21T08:51:22Z:
Python/JSON: utf safety in another dumps
refs #2403
- Revision 2952 by Benjamin Fischer on 2016-06-21T08:51:22Z:
Python/JSON: utf safety in another dumps
refs #2403
- Revision 2954 by Benjamin Fischer on 2016-06-21T14:08:34Z:
Terminal&Codeeditor: handle interrupted utf8 multibyte sequence properly
actually fixes #2403
- Revision 2954 by Benjamin Fischer on 2016-06-21T14:08:34Z:
Terminal&Codeeditor: handle interrupted utf8 multibyte sequence properly
actually fixes #2403
- Revision 2959 by Benjamin Fischer on 2016-06-21T14:08:34Z:
Terminal&Codeeditor: handle interrupted utf8 multibyte sequence properly
actually fixes #2403
- Revision 2959 by Benjamin Fischer on 2016-06-21T14:08:34Z:
Terminal&Codeeditor: handle interrupted utf8 multibyte sequence properly
actually fixes #2403