News for hackers. Stuff that matters.
Re:PyCon US 2021 Recordings are Available by BiteCode_dev on Saturday June 05, 2021 @07:54AM (#27404154)
Above all, it's much more usable now, especially with 3.10 around the corner:

- you can use list[] instead of typing.List[]. Same for dicts or sets.

- you will be able to use bool | str instead of typing.Union[bool, str]

- mypy has saner default, is better supported by IDE and is way faster

- a lot of edge cases are now covered, including protocols for duck typing, vartype, etc.

- fantastic libs such as pydantic, fastapi and typer make using them a ton of fun

There are no comments on this comment yet.