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

Remove use of eval when evaluating the input example. #52805

Merged

Conversation

mihaimaruseac
Copy link
Collaborator

Use ast.eval_literal instead which safely evaluates the expression.

PiperOrigin-RevId: 400012249
Change-Id: I5ff98608ea2d736d093aa488af723ff4f6707e02

Use `ast.eval_literal` instead which safely evaluates the expression.

PiperOrigin-RevId: 400012249
Change-Id: I5ff98608ea2d736d093aa488af723ff4f6707e02
@google-cla google-cla bot added the cla: yes label Oct 28, 2021
@mihaimaruseac mihaimaruseac merged commit 4b6f420 into r2.4 Oct 28, 2021
@mihaimaruseac mihaimaruseac deleted the mm-cp-e3a672333b56f6281f2e7a40fc06b2233f0c5663-on-r2.4 branch October 28, 2021 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants