You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Gramine and GSC use the toml Python package to parse and save TOML files.
This package is unfortunately buggy. One particularly nasty bug that GSC hit: gramineproject/gsc#101. This corresponds to this bug in the TOML repo: uiri/toml#404.
A version of Tomli, the new tomllib module, will be added to the standard library in Python 3.11 via PEP 680. Tomli continues to provide a backport on PyPI for Python versions where the standard library module is not available and that have not yet reached their end-of-life.
Description of the feature
Gramine and GSC use the
toml
Python package to parse and save TOML files.This package is unfortunately buggy. One particularly nasty bug that GSC hit: gramineproject/gsc#101. This corresponds to this bug in the TOML repo: uiri/toml#404.
So Gramine and GSC should move to the
tomli
package (https://pypi.org/project/tomli/ and https://github.com/hukkin/tomli). It is newer, with better code quality, and seems to become a standard codebase for TOML parsing in Python:(See https://github.com/hukkin/tomli#intro)
Why Gramine should implement it?
Because the old
toml
Python package is buggy. For example, we have to introduce this work around: gramineproject/gsc#101The text was updated successfully, but these errors were encountered: