PEP 723: Embedding pyproject.toml in single-file scripts

Since the spec says the value should be a valid TOML string, the implementation use something like ast.literal_eval to evaluate the Python string’s content, that way it mimics the runtime.

Also, if the TOML string will contain backslashes, the user should probably prefer single quoted TOML strings as they don’t support escaping.