Serhiy Storchaka added the comment:

There is similar issue with key_separator and item_separator in 3.x. They are 
used with _PyAccu_Accumulate that performs a type check only in assert().

Here is a patch.

----------
keywords: +patch
stage: needs patch -> patch review
versions: +Python 2.7, Python 3.4, Python 3.6
Added file: http://bugs.python.org/file40025/json_make_encoder_typecheck.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24683>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to