-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
gh-61103: Support float and long double complex types in ctypes module #121248
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
vstinner
merged 7 commits into
python:main
from
skirpichev:ctypes-floatlong-complex-61103
Jul 3, 2024
Merged
Changes from 1 commit
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
20355d6
gh-61103: Support float and long double complex types in ctypes module
skirpichev e2fe2f5
+ typo
skirpichev a8f25ea
Apply suggestions from code review
skirpichev 16bb4bd
address review: mostly newlines)
skirpichev e9fe132
address review: news + typo
skirpichev 0bb9ba3
Update Misc/NEWS.d/next/Library/2024-06-23-07-23-08.gh-issue-61103.ca…
skirpichev 061c45b
Apply suggestions from code review
skirpichev 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
Update Misc/NEWS.d/next/Library/2024-06-23-07-23-08.gh-issue-61103.ca…
…_U_l.rst
- Loading branch information
commit 0bb9ba3f6cc2ddc21475463b94d97bf8c350fb53
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
Misc/NEWS.d/next/Library/2024-06-23-07-23-08.gh-issue-61103.ca_U_l.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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Support :c:expr:`float complex`, :c:expr:`double complex` and | ||
:c:expr:`long double complex` C types in :mod:`ctypes` via :mod:`ctypes` | ||
:class:`~ctypes.c_float_complex`, :class:`~ctypes.c_double_complex` | ||
:c:expr:`long double complex` C types in :mod:`ctypes` as | ||
:class:`~ctypes.c_float_complex`, :class:`~ctypes.c_double_complex` and | ||
:class:`~ctypes.c_longdouble_complex` if compiler has C11 complex arithmetic. | ||
Patch by Sergey B Kirpichev. |
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.