skip to navigation
skip to content

Planet Python

Last update: September 19, 2025 04:44 AM UTC

September 18, 2025


Python Insider

Python 3.14.0rc3 is go!

September 18, 2025 08:06 AM UTC


Talk Python to Me

#519: Data Science Cloud Lessons at Scale

Today on Talk Python: What really happens when your data work outgrows your laptop. Matthew Rocklin, creator of Dask and cofounder of Coiled, and Nat Tabris a staff software engineer at Coiled join me to unpack the messy truth of cloud-scale Python. During the episode we actually spin up a 1,000 core cluster from a notebook, twice! We also discuss picking between pandas and Polars, when GPUs help, and how to avoid surprise bills. Real lessons, real tradeoffs, shared by people who have built this stuff. Stick around.

September 18, 2025 08:00 AM UTC

September 17, 2025


Mirek Długosz

Found on web: Commoncog

Commoncog by Cedric Chin is probably the most influential resource I’ve discovered on the Internet in the last couple of years. It’s deep. It’s grounded. It’s deliberate. It’s insightful. It’s judicious. It’s nuanced. It’s well written. It’s practical. If I were …

September 17, 2025 04:24 PM UTC


Real Python

Python 3.14 Preview: REPL Autocompletion and Highlighting

Explore Python 3.14 REPL updates: import autocompletion, syntax coloring, and theme customization to help you code faster and read with ease.

September 17, 2025 02:00 PM UTC

Quiz: Python 3.14 Preview: REPL Autocompletion and Highlighting

Take this quiz to explore Python 3.14's REPL upgrades! Test your knowledge of new autocompletion tools and built-in syntax highlighting.

September 17, 2025 12:00 PM UTC


Django Weblog

Django 6.0 alpha 1 released

Django 6.0 alpha 1 is now available. It represents the first stage in the 6.0 release cycle and is an opportunity to try out the changes coming in Django 6.0.

Django 6.0 assembles a mosaic of modern tools and thoughtful design, which you can read about in the in-development 6.0 release notes.

This alpha milestone marks the feature freeze. The current release schedule calls for a beta release in about a month and a release candidate roughly a month after that. We'll only be able to keep this schedule with early and frequent testing from the community. Updates on the release schedule are available on the Django forum.

As with all alpha and beta packages, this release is not for production use. However, if you'd like to take some of the new features for a spin, or help find and fix bugs (which should be reported to the issue tracker), you can grab a copy of the alpha package from our downloads page or on PyPI.

The PGP key ID used for this release is Natalia Bidart: 2EE82A8D9470983E

September 17, 2025 11:00 AM UTC


Python Morsels

Nested list comprehensions

Nested list comprehensions in Python can look complex, but with thoughtful whitespace, they can be pretty readable!

Table of contents

  1. Nested list comprehensions
  2. Nested for loops
  3. Comprehensions versus for loops
  4. Overly complex comprehensions
  5. Flattening lists with nested loops
  6. Reading order in multi-loop comprehensions
  7. Nested comprehensions can be pretty readable

Nested list comprehensions

Here's a nested list comprehension:

>>> scores_by_group = [[85, 92, 78], [91, 88, 95], [77, 82, 90]]
>>> percentages = [[score/100 for score in group_scores] for group_scores in scores_by_group]

This is a list comprehension with another list comprehension inside its mapping part.

List comprehensions create a new list, and since we've embedded a comprehension within a comprehension, this code creates a list-of-lists:

>>> percentages
[[0.85, 0.92, 0.78], [0.91, 0.88, 0.95], [0.77, 0.82, 0.9]]

I don't find this code very readable:

>>> percentages = [[score/100 for score in group_scores] for group_scores in scores_by_group]

But I don't think the comprehensions are the problem here. The problem is our use of whitespace.

Here's the same code broken up over multiple lines:

>>> percentages = [
...     [score/100 for score in group_scores]
...     for group_scores in scores_by_group
... ]
>>> percentages
[[0.85, 0.92, 0.78], [0.91, 0.88, 0.95], [0.77, 0.82, 0.9]]

I find this code much more readable.

But is it more or less readable than an equivalent for loop would be?

Nested for loops

Here's the same code without …

Read the full article: https://www.pythonmorsels.com/nested-list-comprehensions/

September 17, 2025 02:52 AM UTC


Stéphane Wirtel

How about checking out the upcoming interesting conferences?

Here are the upcoming conferences that interest me.

  1. Odoo Experience 2025: I think I’ll go tomorrow, it’s been a long time since I last attended. The last time I was part of the team was back in 2014, when I posted a picture of myself as an Odoo Warrior ;-). And I went back in 2015 just to say hello to my former colleagues. I often think about my old coding buddies, and I’ll try to visit them tomorrow.

September 17, 2025 12:00 AM UTC

September 16, 2025


PyCoder’s Weekly

Issue #700: Special Issue #700! (Sept. 16, 2025)

September 16, 2025 07:30 PM UTC


Real Python

Python Project Management With uv

Create and manage Python projects with uv, a blazing-fast package and project manager built in Rust. Learn setup, workflow, and best practices.

September 16, 2025 02:00 PM UTC


Python Software Foundation

Announcing the 2025 PSF Board Election Results!

September 16, 2025 01:11 PM UTC


Tryton News

Security Release for issue #14220

Luis Falcon has found that trytond may log sensitive data like passwords when the logging level is set to INFO.

Impact

CVSS v3.0 Base Score: 4.2

Workaround

Increasing the logging level above INFO prevents logging of the sensitive data.

Resolution

All affected users should upgrade trytond to the latest version.

Affected versions per series:

Non affected versions per series:

Reference

Concerns?

Any security concerns should be reported on the bug-tracker at https://bugs.tryton.org/ with the confidential checkbox checked.

1 post - 1 participant

Read full topic

September 16, 2025 06:00 AM UTC

September 15, 2025


Jacob Perkins

Python Async Gather in Batches

Process data in parallel simply and effectively with python's asyncio.gather

September 15, 2025 08:30 PM UTC


PyCoder’s Weekly

Issue #699: Feature Flags, Type Checker Showdown, Null in pandas, and More (Sept. 15, 2025)

September 15, 2025 07:30 PM UTC


Go Deh

From all truths to (ir)relevancies

September 15, 2025 06:45 PM UTC


Python Engineering at Microsoft

Python in Visual Studio Code – September 2025 Release

The September 2025 release includes pipenv support in the Python Environment Extension, a new experimental hover feature with GitHub Copilot and Pylance, and more!

The post Python in Visual Studio Code – September 2025 Release appeared first on Microsoft for Python Developers Blog.

September 15, 2025 06:22 PM UTC


Real Python

What Does -> Mean in Python Function Definitions?

Wondering what the arrow notation means in Python? Discover how -> is used in type hints, functions, and more, with clear explanations and examples.

September 15, 2025 02:00 PM UTC


Mike Driscoll

Erys – A TUI for Jupyter Notebooks

Have you ever thought to yourself: “Wouldn’t it be nice to run Jupyter Notebooks in my terminal?” Well, you’re in luck. The new Erys project not only makes running Jupyter Notebooks in your terminal a reality, but Erys also lets you create and edit the notebooks in your terminal! Erys is written using the fantastic […]

The post Erys – A TUI for Jupyter Notebooks appeared first on Mouse Vs Python.

September 15, 2025 12:35 PM UTC


Real Python

Quiz: Python Project Management With uv

Test your skills with uv, the fast Python project manager. Practice setup, package installs, and key files created by uv.

September 15, 2025 12:00 PM UTC

Quiz: What Does -> Mean in Python Function Definitions?

Test your understanding of Python return type hints and learn how to use the -> arrow, annotate containers, and check code with static tools.

September 15, 2025 12:00 PM UTC


Python Bytes

#449 Suggestive Trove Classifiers

Topics include Mozilla’s Lifeline is Safe After Judge’s Google Antitrust Ruling, troml - suggests or fills in trove classifiers for your projects, pqrs: Command line tool for inspecting Parquet files, and.

September 15, 2025 08:00 AM UTC

September 14, 2025


Armin Ronacher

What’s a Foreigner?

September 14, 2025 12:00 AM UTC

September 13, 2025


Django Weblog

Nominate a Djangonaut for the 2025 Malcolm Tredinnick Memorial Prize

Hello Everyone 👋 It is that time of year again when we recognize someone from our community in memory of our friend Malcolm.

Malcolm was an early core contributor to Django and had a huge influence on Django as we know it today. Besides being knowledgeable he was also especially friendly to new users and contributors. He exemplified what it means to be an amazing Open Source contributor. We still miss him to this day.

The prize

Our prizes page summarizes it nicely:

The Malcolm Tredinnick Memorial Prize is a monetary prize, awarded annually, to the person who best exemplifies the spirit of Malcolm’s work - someone who welcomes, supports, and nurtures newcomers; freely gives feedback and assistance to others, and helps to grow the community. The hope is that the recipient of the award will use the award stipend as a contribution to travel to a community event -- a DjangoCon, a PyCon, a sprint -- and continue in Malcolm’s footsteps.

Please make your nominations using our form: 2025 Malcolm Tredinnick Memorial Prize nominations. Nominations are welcome from everyone.

Submit a nomination

We will take nominations until Saturday, September 27th, 2025, 23:59 Anywhere on Earth, and will announce the results in early October. If you have any questions please use our dedicated forum thread or contact the DSF Board.

September 13, 2025 08:18 PM UTC


Seth Michael Larson

SCREAM CIPHER (“ǠĂȦẶAẦ ĂǍÄẴẶȦ”)

September 13, 2025 12:00 AM UTC


Brian Okken

Timeline of Selected Software Events

There are a lot of events in the history of software development. This is a list of dates that have some significance in either the stuff I work with or methodologies. I’ve compiled this list for my own benefit in thinking about my history and how these things have led to my current software philosophies.

I’m publishing the list as a “what the heck, why not?” kinda thing. If I’ve gotten something wrong, feel free to contact me.

September 13, 2025 12:00 AM UTC