[issue44580] pprint does not work for typing.Mapping

2021-07-07 Thread Hayden Clark
New submission from Hayden Clark : If you make a user-defined type that inherits from typing.Mapping (which is an alias for collections.abc.Mapping), pprint does not dump the contents, it just treats it as an unknown class. Examining the code, it is explicitly checking for "dict"

[issue44580] pprint does not work for typing.Mapping

2021-07-07 Thread Hayden Clark
Change by Hayden Clark : -- components: Library (Lib) nosy: hclark priority: normal severity: normal status: open title: pprint does not work for typing.Mapping type: behavior versions: Python 3.8 ___ Python tracker <https://bugs.python.