Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-107162: Remove errcode.h header file #107163

Closed
wants to merge 1 commit into from

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Jul 23, 2023

Rename Include/errcode.h to Include/internal/pycore_errcode.h.


📚 Documentation preview 📚: https://cpython-previews--107163.org.readthedocs.build/

@vstinner
Copy link
Member Author

cc @pablogsal @lysnikolaou @serhiy-storchaka: see #107162 for the removal rationale.

Rename Include/errcode.h to Include/internal/pycore_errcode.h.
Copy link
Member

@serhiy-storchaka serhiy-storchaka left a comment

Choose a reason for hiding this comment

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

It is a part of the C API. These codes are returned by PyRun_InteractiveOneFlags(). See Doc/c-api/veryhigh.rst.

@vstinner
Copy link
Member Author

So this PR is wrong. I wrote PR #107177 to complete the comment instead.

Thanks @serhiy-storchaka for your review!

@vstinner vstinner closed this Jul 24, 2023
@vstinner vstinner deleted the remove_errcode_h branch July 24, 2023 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants