Python

From annawiki
Revision as of 2025-06-08T12:21:28 by Tobiasco (talk | contribs) (→‎Zen)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
  1. Ubuntu 22.04 Python 3.10.4 https://discourse.ubuntu.com/t/jammy-jellyfish-release-notes/24668

Faster CPython

  1. https://github.com/markshannon/faster-cpython/blob/master/plan.md

Python 3.11

https://docs.python.org/3.11/whatsnew/3.11.html

3.11.0rc1
Date August 16, 2022
Python 3.11 is between 10-60% faster than Python 3.10. On average, we measured a 1.25x speedup on the standard benchmark suite.

Type hints

  1. https://www.heise.de/forum/heise-online/Kommentare/Typsicher-und-komfortabel-mit-TypeScript/Re-Viele-Vorteile-aber/posting-41632791/show/

Mandatory newline

https://stackoverflow.com/questions/46805254/python-mandatory-newline-after-if-statement-in-console


Other

  1. https://www.heise.de/forum/heise-online/Kommentare/OpenSSL-3-2-implementiert-TCP-Nachfolger-QUIC/Re-Die-haetten-vorher-mal-fefe-zu-QUIC-befragen-sollen/posting-43373511/show/

Zen

https://peps.python.org/pep-0020/

There should be one-- and preferably only one --obvious way to do it.

https://www.datacamp.com/tutorial/python-round-up "Python, as an especially versatile programming language, offers many different techniques for rounding up numbers and rounding more generally."