]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-95588: Drop the safety claim from `ast.literal_eval` docs. (#95919)
authorGregory P. Smith <greg@krypto.org>
Sun, 2 Oct 2022 00:55:40 +0000 (17:55 -0700)
committerGitHub <noreply@github.com>
Sun, 2 Oct 2022 00:55:40 +0000 (17:55 -0700)
commit8baef8ae367041a5cfefb40b19c7b87e9bcb56a2
treecd2e3f7b254d9bc34d5d66657fe821c96853b266
parentbd7d0e875e6955dd69cde18a034e59a75b8b4d00
gh-95588: Drop the safety claim from `ast.literal_eval` docs. (#95919)

It was never really safe and this claim conflicts directly with the big warning in the docs about it being able to crash the interpreter.
Doc/library/ast.rst
Lib/ast.py
Misc/NEWS.d/next/Documentation/2022-08-12-01-12-52.gh-issue-95588.PA0FI7.rst [new file with mode: 0644]