What’s new in Python¶

Portrait Veit Schiele

Veit Schiele
Cusy GmbH, Berlin
Python Users Berlin, 12 May 2022


slides.cusy.io/pub/pub_2022-05.html

PyCon US 2022¶

  • 29 April - 1 May 2022
  • Home

PyCon US 2022¶

<py>¶

Standing on the shoulders of giants¶

PyScript Browser stack

PyCon US 2022¶

<py>¶

Big Picture of the growing Python web ecosystem¶

  • PyScript – a framework to create rich Python apps in the browser
  • Irydium – for interactive documents and data visualisations in markdown
  • Pyodide – a JavaScript framework for Python
  • wc-code is running Python code snippets with HTML tags

PyCon US 2022¶

<py>¶

See also:
  • Home
  • Examples
  • GitHub
  • Anaconda Blog: Welcome to the world PyScript

PyCon US 2022¶

The keynote speakers made it into Forbes: Right Now In Tech: PyCon U.S. 2022

Python 3.11¶

  • C API incompatible changes, see C API Changes
  • For C extensions maintainers there is upgrade_pythoncapi.py.
  • PyFrameObject, PyThreadState and PyCodeObject structures are deeply modified.: Use the new getter functions rather than accessing directly these structures.

nogil Python¶

Datasette on nogil Python¶

47ms vs. 77ms

See also:
  • Docker container
  • Testing Datasette parallel SQL queries in the nogil/python fork

NumPy 1.22 approaches the Python array API standard¶

See also:
  • Python array API standard
  • NEP 47 — Adopting the array API standard