[New-bugs-announce] [issue45269] c_make_encoder() has uncovered error: "argument 1 must be dict or None"
Nikita Sobolev
report at bugs.python.org
Thu Sep 23 05:32:38 EDT 2021
New submission from Nikita Sobolev <mail at sobolevn.me>:
Looks like we never test error that `markers` are limited to `None` and `dict` types. Here: https://github.com/python/cpython/blob/main/Modules/_json.c#L1252-L1255
Coverage report: https://app.codecov.io/gh/python/cpython/blob/master/Modules/_json.c line: 1252
I will submit a unit test for it today.
Related: https://bugs.python.org/issue6986
----------
components: Tests
messages: 402482
nosy: sobolevn
priority: normal
severity: normal
status: open
title: c_make_encoder() has uncovered error: "argument 1 must be dict or None"
type: behavior
versions: Python 3.10, Python 3.11, Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45269>
_______________________________________
More information about the New-bugs-announce
mailing list