Python: Difference between revisions
No edit summary |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 12: | Line 12: | ||
== Type hints == | == Type hints == | ||
#https://www.heise.de/forum/heise-online/Kommentare/Typsicher-und-komfortabel-mit-TypeScript/Re-Viele-Vorteile-aber/posting-41632791/show/ | #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 == | |||
#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." |
Latest revision as of 2025-06-08T12:21:28
- Ubuntu 22.04 Python 3.10.4 https://discourse.ubuntu.com/t/jammy-jellyfish-release-notes/24668
Faster CPython
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
Mandatory newline
https://stackoverflow.com/questions/46805254/python-mandatory-newline-after-if-statement-in-console
Other
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."