Skip to content

closes bpo-46253: Change Py_UNICODE to Py_UCS4 in the C API docs to match the current source code #30387

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

Merged
merged 3 commits into from
Jan 11, 2022

Conversation

juliangilbey
Copy link
Contributor

@juliangilbey juliangilbey commented Jan 4, 2022

As described in the bpo report, the C API Py_UNICODE_* macros documentation still used Py_UNICODE instead of Py_UCS4 as the argument type. This PR fixes this inconsistency.

https://bugs.python.org/issue46253

@the-knights-who-say-ni
Copy link

Hello, and thanks for your contribution!

I'm a bot set up to make sure that the project can legally accept this contribution by verifying everyone involved has signed the PSF contributor agreement (CLA).

CLA Missing

Our records indicate the following people have not signed the CLA:

@juliangilbey

For legal reasons we need all the people listed to sign the CLA before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue.

If you have recently signed the CLA, please wait at least one business day
before our records are updated.

You can check yourself to see if the CLA has been received.

Thanks again for the contribution, we look forward to reviewing it!

@taleinat
Copy link
Contributor

taleinat commented Jan 8, 2022

Our kind bot Bedevere doesn't know this yet, but for docs-only changes we don't add a NEWS entry.

I've added the appropriate label; please remove the NEWS entry.

@juliangilbey
Copy link
Contributor Author

Hi @taleinat, do you have a preference whether I force-push this branch with the last commit removed or whether I use git revert instead?

@taleinat
Copy link
Contributor

taleinat commented Jan 8, 2022

Hi @juliangilbey,

I definitely prefer avoiding force-pushing branches with a PR.

git revert would be fine, or you can delete the file via the GitHub web UI.

This reverts commit a860562.

Documentation-only changes do not require a NEWS item.
@juliangilbey
Copy link
Contributor Author

Hi @juliangilbey,

I definitely prefer avoiding force-pushing branches with a PR.

git revert would be fine, or you can delete the file via the GitHub web UI.

OK, done!

@benjaminp benjaminp added needs backport to 3.9 only security fixes needs backport to 3.10 only security fixes labels Jan 11, 2022
@benjaminp benjaminp changed the title bpo-46253: Change Py_UNICODE to Py_UCS4 in the C API docs to match the current source code closes bpo-46253: Change Py_UNICODE to Py_UCS4 in the C API docs to match the current source code Jan 11, 2022
@benjaminp benjaminp merged commit 43c5c13 into python:main Jan 11, 2022
@miss-islington
Copy link
Contributor

Thanks @juliangilbey for the PR, and @benjaminp for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9, 3.10.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jan 11, 2022
…atch the current source code (pythonGH-30387)

(cherry picked from commit 43c5c13)

Co-authored-by: Julian Gilbey <[email protected]>
@bedevere-bot
Copy link

GH-30533 is a backport of this pull request to the 3.10 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.10 only security fixes label Jan 11, 2022
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jan 11, 2022
…atch the current source code (pythonGH-30387)

(cherry picked from commit 43c5c13)

Co-authored-by: Julian Gilbey <[email protected]>
@bedevere-bot
Copy link

GH-30534 is a backport of this pull request to the 3.9 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.9 only security fixes label Jan 11, 2022
miss-islington added a commit that referenced this pull request Jan 11, 2022
…atch the current source code (GH-30387)

(cherry picked from commit 43c5c13)

Co-authored-by: Julian Gilbey <[email protected]>
miss-islington added a commit that referenced this pull request Jan 11, 2022
…atch the current source code (GH-30387)

(cherry picked from commit 43c5c13)

Co-authored-by: Julian Gilbey <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants