-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
bpo-41073: PyType_GetSlot() can now accept static types. #21931
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
miss-islington
merged 27 commits into
python:master
from
shihai1991:bpo_41073_add_typeslots1
Nov 10, 2020
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
25e6a1b
PyType_GetSlot() could accept static types
shihai1991 7fcf9eb
update docs' style
shihai1991 159fc09
use typeslots not in limit apis
shihai1991 588a847
add test cases to against PyType_GetSlot()
shihai1991 ec0348d
update typeslots.h
shihai1991 abda762
Add generate statictypeslots feature
shihai1991 6d94381
revert typeslots.inc to master base
shihai1991 eb3907d
update get static type slots
shihai1991 7537c86
Merge remote-tracking branch 'origin/master' into bpo_41073_add_types…
shihai1991 fe9f858
Fix compile error
shihai1991 93d849c
Use petr's idea
shihai1991 5171eb7
apply petr's comment
shihai1991 b3f992a
Merge remote-tracking branch 'origin/master' into bpo_41073_add_types…
shihai1991 2a6e0f4
update release doc
shihai1991 a9f66f3
remove new adding slots
shihai1991 c1844e3
apply petr's comment
shihai1991 ccdd9b6
Call test_get_statictype_slots in the test suite
encukou 9194565
Raise exception on the invalid slot 0
encukou 708cd82
Use if rather than assert in tests
encukou b351b2c
Add/adjust comments & news entries
encukou 2df9180
Align method definitions in _testcapi
encukou 2b077e3
Rewrite the slot-setting code a bit
encukou 943174b
Remove the loop in PyType_GetSlot; we already know the position
encukou 2d8b57f
typeslots.py: Add back code writing null entries
encukou 2d72953
Merge remote-tracking branch 'origin/master' into bpo_41073_add_types…
shihai1991 6a688d9
Remove redundant test function
encukou fc2c06b
Merge master branch; regenerate typeslots.inc
encukou File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
Misc/NEWS.d/next/C API/2020-07-08-21-01-49.bpo-41073.VqQZON.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
:c:func:`PyType_GetSlot()` can now accept static types. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.