Community stream
Community
Could we get guarantee that all pointer-like types have the same representation?
I think this code ought to be sound but I couldn't find a good resource to prove so: #[repr(C)] pub struct Foo<B> { payload: B, version: u8, } impl<'a> Borrow<Foo<&'a [u8]>> for Foo<Box<[u8]>> { fn borrow(&self) -> &Foo<&'a [u8]> { unsafe { &*(self…
Tree Appreciator
Tool: Tree Appreciator Another game experiment with Claude. This one used the default Claude iPhone app (chat mode, not Claude Code mode), where I prompted Claude Opus 5.5 Max with: Build a three js game called "Tree appreciator" - it shows you two…
AI is mass decompiling games. That's both awesome and scary.
AI is mass decompiling games. That's both awesome and scary. Indie game developer Popcar talks about the recent wave of AI-powered decompilation of existing games, enabling weird mashups between existing games, and producing a boom in game…
(Ab)using the refcount for fast circular-reference checking
I’ve been experimenting with an alternative to the circular-reference tracking used by json. By using a bit in the reference count as a temporary marker, I was able to speed up encoding by roughly 3× in my tests, bringing performance closer to…
Rodrigo Girão Serrão: frozendict built-in
Learn how to use the new frozendict built-in to create and manipulate immutable dictionaries. Python 3.15 introduced a new built-in data type: the frozendict. A frozendict is an immutable dictionary that can be created with the built-in of the same…
Use `PC/pyconfig.h.in` instead of hard coding `PC/pyconfig.h`
This idea product a new way to generate PC/pyconfig.h: Now you have this c.in file. #ifndef Py_CONFIG_H #define Py_CONFIG_H // ... #undef HAVE_XXX #undef HAVE_YYY #undef SIZEOF_ZZZ #endif Then write a configure.toml: [analyse.bool] macro =…
Support for SQLite extensions (e.g. spatialite) on MacOS - what's the issue?
This may have been done to death here already, but I’m baffled as to why the official Python installation packages for MacOS do not support SQLite extensions (e.g. the popular spatialite extension) - perhaps as a custom installation option, similar…
PyPy: PyPy v8.0.1 release
PyPy v8.0.1: release of python 2.7, 3.11, and 3.12 beta released 2026-09-14 The PyPy team is proud to release version 8.0.1 of PyPy after the previous release on Sept 25, 2026. Some problems with buffer memory leaks were fixed, and problems around…
Python Bytes: #500 Episode 500!
<strong>Topics covered in this episode:</strong><br> <ul> <li><strong>A quick chat with Brian looking back</strong></li> <li><strong>Extras</strong></li> <li><strong>Joke</strong></li> </ul><a href='https://www.youtube.com/watch?v=dwFj3L7kR74'…
LernerPython blog, from Reuven Lerner: Pandas groupby on datetime parts with the dt accessor
If your Python Pandas data frame has a datetime column, you can group on a portion of that via the “dt” accessor. For example, let’s get mean trip_distance for each hour of the day: df.groupby(df['tpep_pickup_datetime'].dt.hour)['trip_distance'].mean…
Mark Dufour: CPython 3.15 (JIT) Performance Showdown
Now that CPython 3.15 has been released, I decided to do a historical performance comparison similar in spirit to Sixteen Years of Python Performance. Obviously I wanted to include CPython 3.15, but I also wanted to compare CPython to other Python…
Improving how Mollymawk handles data
Refactoring Mollymawk's internal data structures and how it persists data.
PyCon Ireland: Call for sponsors PyCon Ireland 2026
PyCon Ireland 2026 - Sponsorship Prospectus Autumn 2026 | Organized by Python Ireland Overview PyCon Ireland 2026 is a one-day, multi-track conference featuring talks, tutorials, and workshops, bringing together Python enthusiasts from across…
Redesigning source control at Anthropic
Redesigning source control at Anthropic Interesting piece from Anthropic describing why and how they built their own custom alternative to Git, based on the dramatic increase in rate of changes to their code after the past six months. In May 2026,…
llm-gemini 0.35
Release: llm-gemini 0.35 I added support to llm-gemini for the new Gemini 4 Argon model, made available today via the Gemini API and for customers of their $100/month subscription plan. Here are the low, medium and high pelicans. As expected, they…
Non dyn usable assoc type
hi folks! why does an assoc type with a Self: Sized bound non dyn usable? (I just crammed this fact and I don't know why exactly does it work this way....) trait Trait { type Foo where Self: Sized; fn foo(&self) -> Self::Foo where Self: Sized; fn…
1769 items available