-
Notifications
You must be signed in to change notification settings - Fork 386
Add built-in NumPy support #248
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
Open
trevorprater
wants to merge
63
commits into
pydantic:main
Choose a base branch
from
trevorprater:feat/numpy-and-pandas
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.
Open
Changes from all commits
Commits
Show all changes
63 commits
Select commit
Hold shift + click to select a range
19f9449
Add numpy ndarray support
trevorprater 529777b
Add comprehensive numpy parity test and fix 4 bugs
trevorprater d6df35e
Add resource limit checks and accept plain lists in elementwise numpy…
trevorprater 09e8527
Fix ndarray bitwise invert and np.where shape validation (Codex review)
trevorprater 836898d
Production-readiness fixes for numpy ndarray support
trevorprater bc54d08
feat(numpy): implement ~40 new NumPy operations for 100% LLM-common c…
trevorprater f636b99
fix(numpy): address review findings — input validation, docs, comments
trevorprater 41d1e02
feat(numpy): add 100+ functions for comprehensive NumPy parity
trevorprater 896fdbc
feat(numpy): Phase 2 — bitwise ops, setitem, iter, contains, in-place…
trevorprater 6f2124b
feat(numpy): Phase 9 — ndarray methods (item, cumprod, squeeze, take,…
trevorprater 825198c
feat(numpy): fix sort in-place, slice setitem with array RHS, add 200…
trevorprater f77cba6
feat(numpy): add //=, %=, **= in-place ops, .flat attr, .repeat()/.no…
trevorprater c73b459
Merge remote-tracking branch 'origin/main' into feat/numpy-only
trevorprater 1252f29
Fix codespell hits in numpy CI
trevorprater 72eab08
Add audited NumPy alias coverage
trevorprater b53922b
Match CI Python formatting
trevorprater 60569d5
Add NumPy real-only introspection helpers
trevorprater b0bb902
Apply Python stub formatting
trevorprater 9fef048
Stabilize NumPy memory limit assertion
trevorprater d80ee10
Add low-risk NumPy math ufuncs
trevorprater 0ac04b2
Add NumPy shape index helpers
trevorprater 0839d16
Add NumPy bitwise helpers
trevorprater 26c6dff
Add NumPy window helpers
trevorprater a794e8f
Add NumPy integer representation helpers
trevorprater 835f616
Add NumPy finite conversion helpers
trevorprater 93fbc83
Add NumPy manipulation wrappers
trevorprater 0bbdc11
Add NumPy linear numeric wrappers
trevorprater f1bc40a
Add NumPy unique result helpers
trevorprater a252e2e
Add NumPy dtype aliases
trevorprater 4357006
Add NumPy index helpers
trevorprater f85a284
Add NumPy phase helpers
trevorprater eff2325
Add NumPy sorting helpers
trevorprater 078cec7
Add NumPy statistical helpers
trevorprater 7f00957
Add NumPy stack split helpers
trevorprater 512ee26
Add NumPy in-place update helpers
trevorprater 40bdca5
Add NumPy dtype metadata helpers
trevorprater 4357128
Add NumPy runtime config helpers
trevorprater 6d30026
Add NumPy display helpers
trevorprater c148711
Add NumPy no-host runtime helpers
trevorprater 9b09327
Add NumPy selection helpers
trevorprater 3c744cd
Add NumPy histogram helpers
trevorprater 2007214
Add NumPy multidimensional histograms
trevorprater 000604a
Add NumPy polynomial helpers
trevorprater bddbc7d
Add NumPy dtype category predicates
trevorprater c155bbf
Add NumPy polynomial division helpers
trevorprater 3797946
Add NumPy iterator index helpers
trevorprater 6b06a18
Add NumPy dtype info helpers
trevorprater 13ba23c
Add NumPy callable array constructors
trevorprater 9fc607c
Add NumPy scalar metadata exports
trevorprater 71a6c82
Add NumPy fromstring text parser
trevorprater 66e1466
Optimize parser filename interning
trevorprater 649cb7d
Implement NumPy broadcasting support
trevorprater 1481608
Implement NumPy dtype and float formatting helpers
trevorprater 9c9f3fe
Merge remote-tracking branch 'origin/main' into feat/numpy-only
trevorprater 0575c7b
Implement NumPy tensor contraction helpers
trevorprater 1f7d54d
Implement NumPy block assembly
trevorprater 5b155a9
Complete NumPy core runtime coverage
trevorprater 7c0d15e
Keep flatiter off the Value hot path
trevorprater 331da18
Document built-in NumPy support
trevorprater 31be82e
Address NumPy review feedback
trevorprater cd7bcb7
Implement NumPy compatibility markers
trevorprater 3e7447b
Fix NumPy ndarray type display
trevorprater ec5da8b
Implement NumPy metadata dtype markers
trevorprater 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
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
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.
I'd rather stick to just
xfail_cpython- that way if a test starts passing, we get notified, and can remove the comment.