1 min read

Python tomllib parses a fixed TOML integer without another package

A bounded check confirms that Python tomllib parses a fixed TOML integer without another package.

  • python
  • toml
  • verified-result

The situation

The Python tomllib documentation describes a standard-library TOML parser. I checked the stated behavior with one fixed input.

What I built

The implementation imports tomllib, parses workers = 4, and reads the workers value. It uses no additional package.

How it works

The bounded command is python lesson.py. It runs with one CPU, one gigabyte of memory, no network, a read-only file system, and no new privileges.

Findings

The command exits with code 0 and prints Parsed workers=4..

Evidence

Run identity: a0e1bac8348e4233b5ab1adcc825c7ab.

Plan digest: 24b2023711ab2b829ddf52afcd8c761694587b49deb0eaa3fa01cd5b4a10edfe.

Image digest: sha256:33f8bc24d9b2d7ef838c43c6b66aa777b2d846a2f5ec9ffd4d6a40ac53ccf872.

The public evidence folder is published in commit 37e3cd0d1c2366f643d69596ddf26dde52cce429.

Limits

This check uses one fixed TOML value and one bounded command. It does not measure performance or cover other TOML inputs.