Skip to content

gh-121834: Improve complex C-API docs - #121835

Merged
sobolevn merged 6 commits into
python:mainfrom
sobolevn:issue-121834
Jul 17, 2024
Merged

gh-121834: Improve complex C-API docs#121835
sobolevn merged 6 commits into
python:mainfrom
sobolevn:issue-121834

Conversation

@sobolevn

@sobolevnsobolevn commented Jul 16, 2024

Copy link
Copy Markdown
Member

cc @skirpichev

I unified exception messages for NULL and -1.0 cases separatelly.


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

@bedevere-appbedevere-appBot added docs Documentation in the Doc dir skip news labels Jul 16, 2024
@sobolevnsobolevn added needs backport to 3.12 only security fixes needs backport to 3.13 bugs and security fixes labels Jul 16, 2024

@skirpichevskirpichev left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

Comment threadDoc/c-api/complex.rst Outdated
sobolevnand others added 3 commits July 16, 2024 10:26
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Comment threadDoc/c-api/complex.rst Outdated
@sobolevn

Copy link
Copy Markdown
MemberAuthor

The build failure is not related, see #121766

@sobolevn

Copy link
Copy Markdown
MemberAuthor

This looks fine:
Снимок экрана 2024-07-16 в 11 11 56

Thanks everyone!

Comment threadDoc/c-api/complex.rst Outdated
Comment threadDoc/c-api/complex.rst Outdated
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Comment threadDoc/c-api/complex.rst
@sobolevn
sobolevn merged commit 72dccd6 into python:mainJul 17, 2024
@miss-islington-app

Copy link
Copy Markdown

Thanks @sobolevn for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 17, 2024
(cherry picked from commit 72dccd6)
Co-authored-by: sobolevn <mail@sobolevn.me>
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
@sobolevn

Copy link
Copy Markdown
MemberAuthor

Thanks everyone!

@miss-islington-app

Copy link
Copy Markdown

Sorry, @sobolevn, I could not cleanly backport this to 3.12 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 72dccd60735b597e99c007a7b69210763a746877 3.12

@bedevere-app

Copy link
Copy Markdown

GH-121895 is a backport of this pull request to the 3.13 branch.

@bedevere-appbedevere-appBot removed the needs backport to 3.13 bugs and security fixes label Jul 17, 2024
@sobolevn

Copy link
Copy Markdown
MemberAuthor

I will backport this to 3.12 manually.

sobolevn added a commit to sobolevn/cpython that referenced this pull request Jul 17, 2024
(cherry picked from commit 72dccd6)
Co-authored-by: sobolevn <mail@sobolevn.me>
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
@bedevere-app

Copy link
Copy Markdown

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

@bedevere-appbedevere-appBot removed the needs backport to 3.12 only security fixes label Jul 17, 2024
sobolevn added a commit that referenced this pull request Jul 17, 2024
gh-121834: Improve `complex` C-API docs (GH-121835)
(cherry picked from commit 72dccd6)
Co-authored-by: sobolevn <mail@sobolevn.me>
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
sobolevn added a commit that referenced this pull request Jul 17, 2024
* [3.12] gh-121834: Improve `complex` C-API docs (GH-121835)
(cherry picked from commit 72dccd6)
Co-authored-by: sobolevn <mail@sobolevn.me>
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docsDocumentation in the Doc dirskip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@sobolevn@encukou@skirpichev@erlend-aasland