-
-
Notifications
You must be signed in to change notification settings - Fork 31.1k
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-123110: correct note about _Bool in the struct module docs #123111
gh-123110: correct note about _Bool in the struct module docs #123111
Conversation
I think we require C99 since Python 3.6, right? |
Only partially. I would guess even with 3.5, since python/peps@b6efe6e. What's important: booleans are required for 3.8+. I'm not sure if this is important to backport, but (technically) we can. |
It's fine, I just wanted to be sure that I could mark it as backportable up to 3.12 without worries. |
BTW, I'm not sure if it does make sense to have both n*_bool() and b*_bool() functions. First set should handle different endianness. |
Thanks @skirpichev for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13. |
…ythonGH-123111) (cherry picked from commit b0f462d) Co-authored-by: Sergey B Kirpichev <[email protected]>
GH-123126 is a backport of this pull request to the 3.13 branch. |
…ythonGH-123111) (cherry picked from commit b0f462d) Co-authored-by: Sergey B Kirpichev <[email protected]>
GH-123127 is a backport of this pull request to the 3.12 branch. |
📚 Documentation preview 📚: https://cpython-previews--123111.org.readthedocs.build/