[issue39957] bpo39775 not fixed - inspect.Signature.parameters still dict/mappingproxy around dict

Jens Reidel report at bugs.python.org
Fri Mar 13 15:27:29 EDT 2020


Jens Reidel <jens.reidel at gmail.com> added the comment:

Just to show the types are inequal:

Without patch file:

    >>> inspect.signature(lambda x: None).parameters
    mappingproxy({'x': <Parameter "x">})

With patch file:

    >>> inspect.signature(lambda x: None).parameters
    mappingproxy(OrderedDict([('x', <Parameter "x">)]))

----------

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


More information about the Python-bugs-list mailing list