Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Add fundamental types to resolvers

Open
#1,959 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
devtools

Research direction

Start with the default resolver definitions in src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_xml.py around line 41. Review how the existing builtin collection types are selected, then compare that behavior with collections.abc.Mapping, Sequence, and Set and the other fundamental types mentioned in the issue. Done means the defaults reflect the intended fundamental Python types rather than an arbitrary subset of builtins.

Written by the indexing model from the issue text.

Description

enhancement

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:

https://github.com/microsoft/debugpy/blob/6cbdf8767e4c88dfaedf3db7b09ce2781496fc51/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_xml.py#L41

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.

Dominant language
Python
Stars
2.5k
Forks
202
Avg merge
5d 1h
Merged PRs (30d)
1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/debugpy

All issues in microsoft/debugpy

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.