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

PyLong_AsLongLong() docs should refer to 'long long' rather than 'long' #18082

Merged

Conversation

@keitherskine
Copy link
Contributor

keitherskine commented Jan 20, 2020

In the docs for PyLong_AsLongLong(), it states that an Overflow exception will be raised if the value is out of range for a C-style long integer type. I believe this should refer to long long, to align with the rest of the description of this function.

The docs for the other functions in Doc/c-api/long.rst appear to be correct.

This seems like a trivial docs change, but if I need to raise a bug issue for it, do let me know.

@aeros
aeros approved these changes Jan 20, 2020
Copy link
Member

aeros left a comment

Thanks for the PR @keitherskine and welcome!

This seems like a trivial docs change, but if I need to raise a bug issue for it, do let me know.

This PR is simple enough that we can skip the issue and news entry, that's typically the standard procedure for minor documentation fixes.

The fix looks correct to me. I'll request a review @mdickinson though to be certain, since it looks like he made the last change to this section in f0acfee.

@keitherskine

This comment has been minimized.

Copy link
Contributor Author

keitherskine commented Jan 21, 2020

Many thanks @aeros , sounds good!

Copy link
Member

mdickinson left a comment

LGTM

@mdickinson mdickinson merged commit 47be7d0 into python:master Jan 21, 2020
5 checks passed
5 checks passed
Docs
Details
Azure Pipelines PR #20200120.19 succeeded
Details
bedevere/issue-number Issue report skipped
bedevere/news "skip news" label found
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@bedevere-bot

This comment has been minimized.

Copy link

bedevere-bot commented Jan 21, 2020

@mdickinson: Please replace # with GH- in the commit message next time. Thanks!

@miss-islington

This comment has been minimized.

Copy link

miss-islington commented Jan 21, 2020

Thanks @keitherskine for the PR, and @mdickinson for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7, 3.8.
🐍🍒🤖

@miss-islington

This comment has been minimized.

Copy link

miss-islington commented Jan 21, 2020

I'm having trouble backporting to 3.8. Reason: 'Error 110 while writing to socket. Connection timed out.'. Please retry by removing and re-adding the needs backport to 3.8 label.

miss-islington added a commit to miss-islington/cpython that referenced this pull request Jan 21, 2020
(cherry picked from commit 47be7d0)

Co-authored-by: Keith Erskine <toastie604@gmail.com>
@bedevere-bot

This comment has been minimized.

Copy link

bedevere-bot commented Jan 21, 2020

GH-18109 is a backport of this pull request to the 3.7 branch.

@miss-islington

This comment has been minimized.

Copy link

miss-islington commented Jan 21, 2020

Thanks @keitherskine for the PR, and @mdickinson for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7.
🐍🍒🤖

@miss-islington

This comment has been minimized.

Copy link

miss-islington commented Jan 21, 2020

Thanks @keitherskine for the PR, and @mdickinson for merging it 🌮🎉.. I'm working now to backport this PR to: 3.8.
🐍🍒🤖

miss-islington added a commit to miss-islington/cpython that referenced this pull request Jan 21, 2020
(cherry picked from commit 47be7d0)

Co-authored-by: Keith Erskine <toastie604@gmail.com>
@bedevere-bot

This comment has been minimized.

Copy link

bedevere-bot commented Jan 21, 2020

GH-18110 is a backport of this pull request to the 3.8 branch.

mdickinson added a commit that referenced this pull request Jan 21, 2020
(cherry picked from commit 47be7d0)

Co-authored-by: Keith Erskine <toastie604@gmail.com>

Co-authored-by: Keith Erskine <toastie604@gmail.com>
mdickinson added a commit that referenced this pull request Jan 21, 2020
(cherry picked from commit 47be7d0)

Co-authored-by: Keith Erskine <toastie604@gmail.com>

Co-authored-by: Keith Erskine <toastie604@gmail.com>
@mdickinson

This comment has been minimized.

Copy link
Member

mdickinson commented Jan 21, 2020

@keitherskine Thank you! Merged, and backported to 3.8 and 3.7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
6 participants
You can’t perform that action at this time.