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

sandbox disallows clear and pop on mutable sequence #2033

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

dylanscott
Copy link
Contributor

This PR adds the attributes clear and pop on MutableSequence to the default modifies_known_mutable check used by ImmutableSandboxedEnvironment.

fixes #2032

Let me know if I should add an entry to CHANGES.rst. I didn't see any previous mention of ImmutableSandboxedEnvironment in there so I wasn't sure if I should.

@davidism davidism added this to the 3.1.5 milestone Dec 18, 2024
@davidism davidism changed the base branch from main to stable December 19, 2024 16:32
@davidism davidism changed the title add MutableSequence.{clear,pop} to modifies_known_mutable check sandbox disallows clear and pop on mutable sequence Dec 19, 2024
@davidism davidism merged commit 91e3521 into pallets:stable Dec 19, 2024
12 checks passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 3, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MutableSequence coverage in ImmutableSandboxedEnvironment
2 participants