[issue6986] _json crash on scanner/encoder initialization error

Serhiy Storchaka report at bugs.python.org
Tue Sep 19 07:10:03 EDT 2017


Serhiy Storchaka added the comment:

Could you please add a comment for test_make_encoder Victor? Invalid arguments are passed to c_make_encoder, but it raises a TypeError not because wrong types of argument, but because the number of arguments is  insufficient. At first glance it looks as an error in the test. Only reading this issue give a hint that perhaps this is intentional. But there is no reference to this issue in the test.

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue6986>
_______________________________________


More information about the Python-bugs-list mailing list