Repository navigation
Add basic capi error support #7787
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
Merged
Changes from 1 commit
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
2562f9d
Add basic capi error support
bschoenmaeckers 40d97ea
Add missing symbols to make tests compile again
bschoenmaeckers 6b79cb5
Add `pyerrors` to dictionary
bschoenmaeckers 71438c6
Return exception in `Py_GetConstantBorrowed`
bschoenmaeckers d708bfe
Remove `allow(dead_code)`
bschoenmaeckers bbf3656
Fix windows
bschoenmaeckers bccd38e
Load stdlib when calling `Py_InitializeEx`
bschoenmaeckers 9e20cf7
Debug tests
bschoenmaeckers 268856b
Revert "Load stdlib when calling `Py_InitializeEx`"
bschoenmaeckers 8432c17
Disable tests on windows for now
bschoenmaeckers 130321e
Truncate `PyType_GetFlags` to be always 32 bits
bschoenmaeckers 30ac061
Add test for exception type checking
bschoenmaeckers 4e4f7df
Remove subclass type flags
bschoenmaeckers 22985ca
Merge remote-tracking branch 'origin/main' into capi-errors
bschoenmaeckers b2c2f69
Use latest pyo3 to make test work on windows
bschoenmaeckers d18d259
Revert "Use latest pyo3 to make test work on windows"
bschoenmaeckers 4e7bcbf
`set_main_interpreter` -> `init_main_interpreter`
bschoenmaeckers 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
Return exception in
Py_GetConstantBorrowed
- Loading branch information
commit 71438c698f5c25303982c4a81c50bf3e3816fa51
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
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.