Skip to content

Conversation

@serhiy-storchaka
Copy link
Member

@serhiy-storchakaserhiy-storchaka commented Jul 21, 2023

It includes standard C types, macros and variables like "size_t", "LONG_MAX" and "errno", and standard environment variables like "PATH".


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

It includes standard C types, macros and variables like "size_t", "LONG_MAX" and "errno", and standard environment variables like "PATH".
@serhiy-storchakaserhiy-storchaka marked this pull request as ready for review July 22, 2023 14:32
Copy link
Contributor

@erlend-aaslanderlend-aasland left a comment

Choose a reason for hiding this comment

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

Very nice. Why are you using :c:texpr: for _Bool?

@serhiy-storchaka
Copy link
MemberAuthor

Why are you using :c:texpr: for _Bool?

Because it is the correct role for a type expression in C. I prepared a large patch for using :c:texpr:, but it depends on this PR. And this PR depends on #107011.

@serhiy-storchakaserhiy-storchaka marked this pull request as draft July 22, 2023 16:18
@serhiy-storchakaserhiy-storchaka marked this pull request as ready for review July 22, 2023 17:20
@erlend-aasland
Copy link
Contributor

@erlend-aasland
Copy link
Contributor

Also, _Bool is a built-in C type. I don't see why it should be marked up differently from int.

@serhiy-storchaka
Copy link
MemberAuthor

You are right. I misread the documentation. Thank you, you saved me from opening a new issue.

@serhiy-storchakaserhiy-storchaka merged commit f8b7fe2 into python:mainJul 22, 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.
🐍🍒⛏🤖

@miss-islington
Copy link
Contributor

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

@miss-islington
Copy link
Contributor

Sorry, @serhiy-storchaka, I could not cleanly backport this to 3.11 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker f8b7fe2f2647813ae8249675a80e59c117d30fe1 3.11

serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this pull request Jul 22, 2023
…pythonGH-106949) It includes standard C types, macros and variables like "size_t", "LONG_MAX" and "errno", and standard environment variables like "PATH".. (cherry picked from commit f8b7fe2) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@bedevere-bot
Copy link

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

@bedevere-botbedevere-bot removed the needs backport to 3.12 only security fixes label Jul 22, 2023
serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this pull request Jul 22, 2023
…pythonGH-106949) It includes standard C types, macros and variables like "size_t", "LONG_MAX" and "errno", and standard environment variables like "PATH".. (cherry picked from commit f8b7fe2) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@bedevere-bot
Copy link

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

@bedevere-botbedevere-bot removed the needs backport to 3.11 only security fixes label Jul 22, 2023
serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this pull request Jul 22, 2023
…pythonGH-106949) It includes standard C types, macros and variables like "size_t", "LONG_MAX" and "errno", and standard environment variables like "PATH". (cherry picked from commit f8b7fe2) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
ambv pushed a commit that referenced this pull request Jul 23, 2023
…06949) (#107061) It includes standard C types, macros and variables like "size_t", "LONG_MAX" and "errno", and standard environment variables like "PATH".. (cherry picked from commit f8b7fe2)
ambv pushed a commit that referenced this pull request Jul 23, 2023
…06949) (#107060) * [3.12] gh-106948: Add standard external names to nitpick_ignore (GH-106949) It includes standard C types, macros and variables like "size_t", "LONG_MAX" and "errno", and standard environment variables like "PATH". (cherry picked from commit f8b7fe2) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> * Delete 2023-05-31-18-37-57.gh-issue-105156.R4El5V.rst
mementum pushed a commit to mementum/cpython that referenced this pull request Jul 23, 2023
…nGH-106949) It includes standard C types, macros and variables like "size_t", "LONG_MAX" and "errno", and standard environment variables like "PATH".
@serhiy-storchakaserhiy-storchaka removed their assignment Jul 25, 2023
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@serhiy-storchaka@erlend-aasland@miss-islington@bedevere-bot