-
Notifications
You must be signed in to change notification settings - Fork 18
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
Trampoline Revamp #36
Merged
Merged
Changes from 20 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
8191349
Support __len__
gatesn b506c7b
Merge branch 'develop' into ngates/trampoline
gatesn ea47941
Object trampoline
gatesn 1412696
Merge
gatesn d16e329
Trampoline
gatesn 9bd2b8e
Merge
gatesn fc0386a
Merge branch 'develop' into ngates/trampoline
gatesn 35b1dc4
Merge
gatesn 97e3ce2
Merge
gatesn d8db801
Mem
gatesn c52b25e
Mem
gatesn 2b95100
Mem
gatesn ef9e638
Trampoline
gatesn b1759d5
Trampoline
gatesn 066a22b
Trampoline
gatesn a6e555c
Trampoline
gatesn 207dbe9
Trampoline
gatesn 0c4683f
Trampoline
gatesn f2bcad5
Trampoline
gatesn 617e709
Update pydust/src/pytypes.zig
gatesn 9313dc2
Trampoline
gatesn e77b470
Merge branch 'ngates/trampoline' of github.com:fulcrum-so/ziggy-pydus…
gatesn 3ab333e
Trampoline
gatesn 7596270
Trampoline
gatesn 24c43f2
Trampoline
gatesn 831287b
Merge branch 'develop' into ngates/trampoline
gatesn 679ab98
Build.zig sys.executable
gatesn af1f136
Build.zig sys.executable
gatesn 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 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 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 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 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 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 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 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 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure what reference you mean here. The view holds a reference to an obj, and https://docs.python.org/3/c-api/buffer.html#c.PyBuffer_Release decrefs that reference AND releases the view which calls this function. This function is optional so I think that means no decrefs need to happen here, and re incref - this was helpful https://jakevdp.github.io/blog/2014/05/05/introduction-to-the-python-buffer-protocol/#Exploring-the-Buffer-Protocol-Code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ahhhhhh perfect. So we don't need release_buffer at all in this case then, since it's covered by the python object's refcnt
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct, but might be useful to have it empty given this is an example