`tomllib` is considered as third-party lib in py3.11 but it is built-in now
See original GitHub issuehttps://docs.python.org/3/library/tomllib.html
It can be a part of an “epic” called “Support for python3.11” #1996
Behavior before:
@@ -1,8 +1,10 @@
-import tomllib
from pathlib import Path
from typing import Generator
+import tomllib
...
Behavior after: The message that everything is OK
Version: 5.10.1
Issue Analytics
- State:
- Created 10 months ago
- Reactions:3
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Python 3.11 Preview: TOML and tomllib - Real Python
Read TOML files with the new tomllib module; Write TOML with third-party libraries and learn why this functionality is not included in tomllib...
Read more >Support for python 3.11 · Issue #1996 · PyCQA/isort - GitHub
when I select python 3.11.0 as interpreter. ... tomllib is considered as third-party lib in py3.11 but it is built-in now #2007.
Read more >tomllib — Parse TOML files — Python 3.11.1 documentation
Source code: Lib/tomllib This module provides an interface for parsing TOML (Tom's Obvious Minimal Language, https://toml.io). This module does not support ...
Read more >Support for Parsing TOML in the Standard Library : r/Python
Python 3.11 will now have tomllib - Support for Parsing TOML in the ... to rely on a 3rd party toml lib, making...
Read more >How to Use Python 3.11's New TOML Parser, tomllib
There are third-party modules for parsing TOML files, but Python 3.11 will include one in the standard library so that all Python programs ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

No, it’s because #2024 had bugs.
This is still broken for me in isort 5.11.2 (on Ubuntu 22.10). I suspect that’s because they’re distributing Python 3.11.0rc2, which has the new feature, but that version is not technically
>=3.11. I ran into that just the other day with another tool. I suspect this affects anybody running a pre-release version of Python 3.11.