Removing dead batteries from the standard library
date: 2022-03-20Tags: #python, #newsPython has famous "batteries included" philosophy for its rich standard library
modules, but there are lots of modules have been oudated or inactive for past
years. With acceptance of [PEP 594], serveral modules will be marked as
DeprecationWarning from Python 3.11 and be removed from Python 3.13, and
Python on mobile platforms like BeeWare or WebAssembly (e.g. pyodide) also
will benefit from reduced download size.
Part of proposed modules: cgi, crypt, smtpd, telnetlib, ...
`tomli` will be added to standard library in Python 3.11
date: 2022-03-14Tags: #python, #newsSuch a great news that parser library1 for TOML will be included in standard library from Python 3.11. So where is the simplest YAML parser library without extra deps 🤔?
Tomli is a Python library for parsing TOML. It is fully compatible with TOML v1.0.0.
A version of Tomli, the new
tomllibmodule, will be added to the standard library in Python 3.11 via PEP 680.