Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork11.9k
MAINT: refactorscalartypes.c.src to pure C++#30361
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
Open
scratchmex wants to merge26 commits intonumpy:mainChoose a base branch fromscratchmex:gh-29528--scalartypes
base:main
Could not load branches
Branch not found:{{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline, and old review comments may become outdated.
+2,167 −1,097
Open
Changes fromall commits
Commits
Show all changes
26 commits Select commitHold shift + click to select a range
370daf3 remove begin repeat and use macros
scratchmexdf1167e Merge remote-tracking branch 'upstream/main' into gh-29528--scalartypes
scratchmexdba6e5a use macros for bit count and unary defs
scratchmex9e7ec22 migrate scalartypes.c.src to C++ (for now scalartypes.cpp.src)
scratchmexd3efc87 solve all writable-strings warnings
scratchmex69fa910 learning struct factories at top level and compile time. introduce `m…
scratchmexb09125a remove all designated initializers to make MSVC happy
scratchmex3ed09f5 missing extern "C" for MSVC
scratchmex86096b3 convert all pymethoddefs and its methods to c++ templates (when possi…
scratchmex3c1499b refactor buffer protocol to use c++ templates
scratchmexd0eafef remove constexpr to make MSVC happy (again)
scratchmex99a6b4d Merge remote-tracking branch 'upstream/main'
scratchmex5a3a5a7 refactor str and repr impls to use c++ templates
scratchmex78201cb fix py funcs signature to have all make factories constexpr
scratchmex2f158c3 expand all templating from initialize_numeric_types to explicit defs
scratchmex09264f0 simplify (a lot) tp_as_number definitions
scratchmex86f7ba9 expand some generic method definitions
scratchmexcf47013 refactor dunder index and hash to use c++ templates
scratchmex7ea0cfb expand scalar kinds table
scratchmex0e0d841 refactor scalarobj definitions with struct factory and c++ templates
scratchmex3af9ac3 refactor dunder new impls to use c++ templates
scratchmex029e65c rename scalartypes.cpp.src to scalartypes.cpp (pure c++ YEAH)
scratchmexc233cb5 fix GCC conflicts
scratchmexd3d85c9 use a workaround for old compilers that have ill-formed static_assert
scratchmex140a199 run clang-format (not all changes)
scratchmexb13e002 missing constexpr
scratchmexFile 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
There are no files selected for viewing
2 changes: 1 addition & 1 deletiondoc/source/conf.py
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
6 changes: 3 additions & 3 deletionsnumpy/_core/arrayprint.py
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
2 changes: 1 addition & 1 deletionnumpy/_core/code_generators/genapi.py
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
2 changes: 1 addition & 1 deletionnumpy/_core/meson.build
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
9 changes: 9 additions & 0 deletionsnumpy/_core/src/common/npy_longdouble.h
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
8 changes: 8 additions & 0 deletionsnumpy/_core/src/multiarray/_datetime.h
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
7 changes: 7 additions & 0 deletionsnumpy/_core/src/multiarray/array_api_standard.h
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
8 changes: 8 additions & 0 deletionsnumpy/_core/src/multiarray/conversion_utils.h
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
8 changes: 8 additions & 0 deletionsnumpy/_core/src/multiarray/ctors.h
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
8 changes: 8 additions & 0 deletionsnumpy/_core/src/multiarray/dragon4.h
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
8 changes: 8 additions & 0 deletionsnumpy/_core/src/multiarray/flagsobject.h
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
8 changes: 8 additions & 0 deletionsnumpy/_core/src/multiarray/mapping.h
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
8 changes: 8 additions & 0 deletionsnumpy/_core/src/multiarray/multiarraymodule.h
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
8 changes: 8 additions & 0 deletionsnumpy/_core/src/multiarray/npy_buffer.h
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
8 changes: 8 additions & 0 deletionsnumpy/_core/src/multiarray/number.h
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.
Uh oh!
There was an error while loading.Please reload this page.
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
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.