PythonHub
2.37K subscribers
2.35K photos
49K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
Running Python Parallel Applications with Sub Interpreters

Python 3.12 introduced a new API for “sub interpreters”, which are a different parallel execution model for Python that provide a nice compromise between the true parallelism of multiprocessing, but with a much faster startup time. This post will explain what a sub interpreter is, why it’s important for parallel code execution in Python and how it compares with other approaches.

https://tonybaloney.github.io/posts/sub-interpreter-web-workers.html
CPython Object System Internals: Understanding the Role of PyObject

Understand how objects are implemented in CPython and how CPython emulates Inheritance and Polymorphism in C using struct embedding.

https://codeconfessions.substack.com/p/cpython-object-system-internals-understanding
Django 5.0 released

The Django team is happy to announce the release of Django 5.0.
The release notes
cover a deluge of ...

https://www.djangoproject.com/weblog/2023/dec/04/django-50-released/
NetworkX – Network Analysis in Python

https://networkx.org/