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

Attach to process doesn't work for python 3.12

Open
#1,570 2 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
55/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
cpp, python
Domain
devtools

Research direction

Start with src/debugpy/_vendored/pydevd/pydevd_attach_to_process/common/py_version.hpp and inspect the GetPythonVersion function and its Python-version enum. Update the handling for Python 3.12, then verify that attach to a Python 3.12 process reports the correct version instead of unknown.

Written by the indexing model from the issue text.

Description

bug

It reports python version unknown due to 3.12 not being in the enum and not being handled in the GetPythonVersion function.

See https://github.com/microsoft/debugpy/blob/161aa2683fd4a9f1eb42e4f6022f6291c436d1cd/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/common/py_version.hpp

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.