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

Prevent mutation of arrays in global tuples. #7307

Merged
merged 2 commits into from Nov 24, 2021

Conversation

stuartarchibald
Copy link
Contributor

As title.

Fixes #7120

esc
esc previously approved these changes Nov 22, 2021
Copy link
Member

@esc esc left a comment

Choose a reason for hiding this comment

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

I tested this by trying the unit tests locally and breaking them intentionally. It looks good to me.

@esc
Copy link
Member

esc commented Nov 22, 2021

@stuartarchibald there are still some conflicts to be resolved so I'll give it the final approval when those have been resolved.

@esc esc added 4 - Waiting on author Waiting for author to respond to review and removed 3 - Ready for Review labels Nov 22, 2021
Conflicts:
	numba/core/typing/arraydecl.py
@stuartarchibald
Copy link
Contributor Author

@stuartarchibald there are still some conflicts to be resolved so I'll give it the final approval when those have been resolved.

@esc thanks, mainline is merged in 567fe87

@esc
Copy link
Member

esc commented Nov 23, 2021

@stuartarchibald thank you for the patch!

@esc esc added 5 - Ready to merge Review and testing done, is ready to merge and removed 4 - Waiting on author Waiting for author to respond to review labels Nov 23, 2021
@sklam sklam merged commit 7a233ac into numba:master Nov 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5 - Ready to merge Review and testing done, is ready to merge Effort - short Short size effort needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Arrays in tuples referred to in globals are erroneously writable.
4 participants