Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.3k
gh-103509: PEP 697 -- Limited C API for Extending Opaque Types#103511
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes from1 commit
Commits
Show all changes
29 commits Select commitHold shift + click to select a range
a9679fa
gh-103509: PEP 697 -- Limited C API for Extending Opaque Types
encukoub8dc072
Add a blurb
encukou1fc5c52
Fix PyMember_SetOne error return (thanks MSVC!)
encukou075ca51
Add What's New entry
encukou439de5d
Fix warning in tests
encukou291731b
Work around lack of alignof & max_align_t
encukou2ba8084
Use the same Sphinx role for Py_TPFLAGS_ITEMS_AT_END as for other typ…
encukoub03d431
Add ALIGNOF_MAX_ALIGN_T to configure & PC/pyconfig.h
encukouec9d5a8
Use ALIGNOF_MAX_ALIGN_T
encukou5cab814
Fix typo
encukou3ade585
Don't include <stdalign.h>, it's not always available on Windows
encukou986bf26
Define ALIGNOF_MAX_ALIGN_T with long double if it's not available
encukoue7838ee
tests: Compute data_offset in C to avoid overflow issues
encukou93d86d1
Merge branch 'main' into extend-opaque-sq
arhadthedev266834d
Cast to `char*` for pointer arithmetic
encukouf968206
Fix ALIGNOF_MAX_ALIGN_T value for 32-bit Windows
encukou37158af
Fix C++ behaviour and comments for ALIGNOF_MAX_ALIGN_T
encukou402ecc6
Merge branch 'main' into extend-opaque-sq
encukou1701688
Don't rely on PyObject* being aligned to ALIGNOF_MAX_ALIGN_T
encukoudb5d49b
Merge in main branch
encukou9d9911d
Apply suggestions from code review
encukou06bcf5b
Raise TypeError on missing flag
encukou0b69748
Wrap new tests in a class
encukou33c5258
Use PyModule_AddIntMacro in tests
encukou88dade7
Test failure of extending non-ITEMS_AT_END variable-sized types
encukou8720b25
Test error cases around members
encukou0474e69
Merge in the main branch
encukoua975de9
Apply suggestions from code review
encukoub9ddf21
Merge in the main branch
encukouFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
Merge in main branch
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
commitdb5d49b42cd60cf0a1c4c09bf329a3c5e9baa223
There are no files selected for viewing
This merge commit was added into this branch cleanly.
There are no new changes to show, but you can stillview the diff.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.