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-107298: Add standard exceptions and warnings in the nitpick_ignore list #108029

Merged

Conversation

serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Aug 16, 2023

Doc/conf.py Outdated Show resolved Hide resolved
]

# Temporary undocumented names.
# In future this list must be empty.
Copy link
Member

Choose a reason for hiding this comment

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

A fix would be to replace :c:data:`Exception` with .. c:data:`Exception` in Doc/c-api/exceptions.rst, right?

Copy link
Member Author

@serhiy-storchaka serhiy-storchaka Aug 16, 2023

Choose a reason for hiding this comment

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

I tried this, and it turned out not so simple. You need to specify the type:

.. c:var:: PyObject *PyExc_SomeError

and the result does not look good.

@serhiy-storchaka serhiy-storchaka merged commit c9d83f9 into python:main Aug 17, 2023
@miss-islington
Copy link
Contributor

Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12.
🐍🍒⛏🤖

@bedevere-bot
Copy link

GH-108070 is a backport of this pull request to the 3.12 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Aug 17, 2023
…ignore list (pythonGH-108029)

(cherry picked from commit c9d83f9)

Co-authored-by: Serhiy Storchaka <[email protected]>
@bedevere-bot bedevere-bot removed the needs backport to 3.12 bug and security fixes label Aug 17, 2023
@bedevere-bot
Copy link

GH-108071 is a backport of this pull request to the 3.11 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.11 only security fixes label Aug 17, 2023
@serhiy-storchaka serhiy-storchaka deleted the docs-capi-ignore-exc-refs branch August 17, 2023 06:44
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Aug 17, 2023
…ignore list (pythonGH-108029)

(cherry picked from commit c9d83f9)

Co-authored-by: Serhiy Storchaka <[email protected]>
serhiy-storchaka added a commit that referenced this pull request Aug 17, 2023
…_ignore list (GH-108029) (GH-108071)

(cherry picked from commit c9d83f9)

Co-authored-by: Serhiy Storchaka <[email protected]>
Yhg1s pushed a commit that referenced this pull request Aug 17, 2023
…_ignore list (GH-108029) (#108070)

gh-107298: Add standard exceptions and warnings in the nitpick_ignore list (GH-108029)
(cherry picked from commit c9d83f9)

Co-authored-by: Serhiy Storchaka <[email protected]>
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.

5 participants