Skip to content
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

Support output indirection in numpy frontend #1509

Merged
merged 6 commits into from
Feb 22, 2024
Merged

Conversation

tbennun
Copy link
Collaborator

@tbennun tbennun commented Jan 22, 2024

Supports expressions such as a[indices] = b

@tbennun tbennun requested review from alexnick83 and removed request for alexnick83 January 22, 2024 08:12
Copy link
Contributor

@alexnick83 alexnick83 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks good, but before I approve, can you confirm that the implementation conforms to the warning at the beginning of NumPy's advanced indexing documentation? I can help write a set of appropriate tests later this week.

@tbennun
Copy link
Collaborator Author

tbennun commented Jan 22, 2024

It looks good, but before I approve, can you confirm that the implementation conforms to the warning at the beginning of NumPy's advanced indexing documentation? I can help write a set of appropriate tests later this week.

That should be fine as it is an AST-level difference. I will add a test though.

@tbennun tbennun requested a review from alexnick83 January 29, 2024 04:30
@tbennun
Copy link
Collaborator Author

tbennun commented Jan 29, 2024

@alexnick83 Added the test you requested and fixed some bugs along the way. Ready for rereview.

@tbennun tbennun added the in the merge queue waiting for CI to work again label Jan 29, 2024
@alexnick83 alexnick83 enabled auto-merge February 20, 2024 16:47
@alexnick83 alexnick83 added this pull request to the merge queue Feb 21, 2024
Merged via the queue into master with commit 3af2d38 Feb 22, 2024
11 checks passed
@alexnick83 alexnick83 deleted the py-out-indirection branch February 22, 2024 00:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in the merge queue waiting for CI to work again
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants