sobolevn · GitHub

Feature or enhancement

Current message:

>>> import types
>>> types.MappingProxyType({}) > types.MappingProxyType({})
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: '<' not supported between instances of 'dict' and 'dict'

Proposed error message:

>>> import types
>>> types.MappingProxyType({}) > types.MappingProxyType({})
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: '<' not supported between instances of 'mappingproxy' and 'mappingproxy'

Refs #136193

Linked PRs

Read the original on github.com ↗