bpo-40059: tomllib by hukkin · Pull Request #31498 · python/cpython · GitHub

github.com

Tin mới

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

Steps taken (converting tomli to tomllib)

This adds a new standard library module, tomllib, for parsing TOML. The recently accepted PEP 680 -- tomllib is relevant here.

Steps taken (converting tomli to tomllib)

This adds a new standard library module, tomllib, for parsing TOML. The recently accepted PEP 680 -- tomllib is relevant here.

Add tomllib to Makefile.pre.in

This adds a new standard library module, tomllib, for parsing TOML. The recently accepted PEP 680 -- tomllib is relevant here.

Add tomllib and tests

Run make regen-stdlib-module-names

Document parse_float limitations

Add conversion table to docs

Remove commented out test code

Please consider pushing tomli into stdlib hukkin/tomli#141

https://github.com/python/cpython/blob/main/.github/CODEOWNERS

You can add this to https://github.com/python/cpython/blob/main/.github/CODEOWNERS

ENH: BLD: enable building SciPy with Meson scipy/scipy#14847

Migrate Python dependency uiri/toml to tomllib / hukkin/tomli PyO3/maturin#821

View reviewed changes

Update .github/CODEOWNERS

View reviewed changes

Learn more about hiding disruptive comments

The reason will be displayed to describe this comment to others. Learn more.

Add a poor man's xfail

🔨 test-with-buildbots

🔨 test-with-buildbots

bpo-46841: Use inline caching for attribute accesses #31640

Add type hints for tomllib python/typeshed#7432

Replace toml with tomli PyCQA/bandit#829

No TOML module installed for Python 3.11 PyO3/maturin#850

Can't install on the CPython 3.11 (broken indirect wrapt deps) pylint-dev/pylint#5919

Add Python 3.11-dev to Github actions pylint-dev/pylint#5920

Provide a toml module in the standard library #84240

Add reproducible Linux release packaging and compatibility CI JoshCLWren/cdisplayagain#49

feat(labels): one ordered axis, as data, with a sync script tinyhumansai/tinysweeper#70