You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
seems like the actual types that define Python behavior like collections.abc.Mapping are missing from the default resolvers, and instead some random collection of builtin types is there:
I say “random” because MappingProxyType, KeysView, … are just as fundamental Python types that are used whenever something as basic as a class is encountered so I can’t think of a reason why they shouldn’t be there when dict is, let alone some Django classes and other stuff!
But as initially said: Python’s behavior is actually defined by collections.abc.* classes, so instead of having random builtin sequences like list, frozenset, … in the defaults, why not just use collections.abc.{Sequence,Mapping,Set} directly?
PS: #825 was closed because its title asked about this being possible. I know it’s possible and ask for it to be changed instead.
Thanks for the suggestion. The maintainers of debugpy don't have much bandwidth to implement suggestions but we welcome contributions if anyone is willing to add this (and tests for whatever you add).
Activity
rchiodo commentedon Sep 26, 2025
Thanks for the suggestion. The maintainers of debugpy don't have much bandwidth to implement suggestions but we welcome contributions if anyone is willing to add this (and tests for whatever you add).