Skip to content

Conversation

@rchiodo
Copy link
Contributor

@rchiodorchiodo commented Oct 9, 2024

There were a number of internal changes in CPython that were preventing 3.13 from working.

This change fixes all of those spots to use a public API or something that works in all versions.

Addresses #1689

@rchiodo
Copy link
ContributorAuthor

I believe this also fixes attach? Still verifying, but all the attach tests were passing for me locally.

Copy link
Member

@karthiknadigkarthiknadig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor change

@rchiodorchiodo merged commit f7d5df0 into microsoft:mainOct 10, 2024
# Not currently supported in Python 3.12.
SUPPORT_ATTACH_TO_PID=notIS_PY312_OR_GREATER
# Not currently supported in Python 3.14.
SUPPORT_ATTACH_TO_PID=notIS_PY314_OR_GREATER

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we know that attach doesn't work in 3.14 for some reason?

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might work, but the code in the attach logic explicitly only allows up to 3.13. This is just matching that logic.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@rchiodo@gramster@karthiknadig@debonte