I've added a command line tool that helps you scaffold all the files for puzzle days because I got annoyed by copy pasting the same file each time!
pypi.org/project/adv...
I've added a command line tool that helps you scaffold all the files for puzzle days because I got annoyed by copy pasting the same file each time!
pypi.org/project/adv...
Python is getting lazy imports!
So excited about this!
discuss.python.org/t/pep-810-ex...
Python is getting lazy imports!
So excited about this!
discuss.python.org/t/pep-810-ex...
Congratulations to @lukasz.langa.pl on a wonderful run as release manager! 🖤
discuss.python.org/t/the-final-...
Congratulations to @lukasz.langa.pl on a wonderful run as release manager! 🖤
discuss.python.org/t/the-final-...
The x.2 LTS releases always felt wrong to me since it has always been much easier and safer to upgrade each version rather than doing the LTS to LTS leap in one go.
buttondown.com/carlton/arc...
The x.2 LTS releases always felt wrong to me since it has always been much easier and safer to upgrade each version rather than doing the LTS to LTS leap in one go.
buttondown.com/carlton/arc...
Be cautious with your memory usage.
blog.pecar.me/django-bulk-...
#django #python
Be cautious with your memory usage.
blog.pecar.me/django-bulk-...
#django #python
🧵
🧵
🧵
The TLDR version is that bulk_update prepares all the update statements in advance (even when batch_size is set) which can use more memory than expected.
Details and a solution in the blog:
blog.pecar.me/django-bulk...
The TLDR version is that bulk_update prepares all the update statements in advance (even when batch_size is set) which can use more memory than expected.
Details and a solution in the blog:
blog.pecar.me/django-bulk...
The trick was to stop dynamically computing the number of accounts in a starter pack and instead precompute it in a column.
A bit more work on each update, but worth it!
The trick was to stop dynamically computing the number of accounts in a starter pack and instead precompute it in a column.
A bit more work on each update, but worth it!
The upgrade didn't require any code changes on my part, but I did see a few return statements in the finally block SyntaxWarnings in a few dependencies.
The upgrade didn't require any code changes on my part, but I did see a few return statements in the finally block SyntaxWarnings in a few dependencies.
✨ Template strings (t-strings) for safer string interpolation
🚀 Free-threaded Python officially supported (bye GIL!)
🎨 Syntax highlighting in the REPL
📦 Zstandard compression in stdlib
🔍 Remote PDB debugging
Full release notes: docs.python.org/3.14/whatsne...
✨ Template strings (t-strings) for safer string interpolation
🚀 Free-threaded Python officially supported (bye GIL!)
🎨 Syntax highlighting in the REPL
📦 Zstandard compression in stdlib
🔍 Remote PDB debugging
Full release notes: docs.python.org/3.14/whatsne...
discuss.python.org/t/pep-810-ex...
#Python #PEP
discuss.python.org/t/pep-810-ex...
#Python #PEP
discuss.python.org/t/pep-810-ex...
#Python #PEP
TLDR:
• The migration went smoothly.
• There were no visible performance gains.
• I still can't set a timeout for requests.
I also wrote a blog post about this: blog.pecar.me/migrating-g...
TLDR:
• The migration went smoothly.
• There were no visible performance gains.
• I still can't set a timeout for requests.
I also wrote a blog post about this: blog.pecar.me/migrating-g...
Hope to see you there!
www.meetup.com/python-lisb...
Hope to see you there!
www.meetup.com/python-lisb...
Join us on Discord for tuning in!
discord.gg/PEnzcJzNyj
Join us on Discord for tuning in!
discord.gg/PEnzcJzNyj
It's mind blowing that we are all taught the weaker form of the knot as kids and never learn that there is a stronger version.
www.ted.com/talks/terry...
It's mind blowing that we are all taught the weaker form of the knot as kids and never learn that there is a stronger version.
www.ted.com/talks/terry...
We just had a last-minute cancellation!
We just had a last-minute cancellation!
www.djangoproject.com/weblog/2025/...
Our open source journey started 20 years ago today, on July 13th 2005. Come celebrate this big milestone at one of our many community events this year
#Python #Django #OpenSource #DjangoBirthday
www.djangoproject.com/weblog/2025/...
Our open source journey started 20 years ago today, on July 13th 2005. Come celebrate this big milestone at one of our many community events this year
#Python #Django #OpenSource #DjangoBirthday
./manage.py test --parallel can finish in less than 20s.
./manage.py test --parallel can finish in less than 20s.