leodevian.bsky.social
@leodevian.bsky.social
2 followers 25 following 21 posts
Posts Media Videos Starter Packs
Based.
TLDR; The PSF has made the decision to put our community and our shared diversity, equity, and inclusion values ahead of seeking $1.5M in new revenue. Please read and share. pyfound.blogspot.com/2025/10/NSF-...
🧵
The official home of the Python Programming Language
www.python.org
I share the feeling. Thanks!
Mind sharing the pattern for your state machine ? I’m used to subclassing an ABC for states and having it take the context as an attribute and I’m genuinely interested in your approach.
@nedbat.com The latest release of Coverage feels like a Christmas present! The native support for Python subprocesses is so good! Thank you for all of it 🙏🏻
Feels good to develop in Python in 2025. Thanks for the awesome tools!
Reposted
The uv build backend is now stable, and considered ready for production use.

An alternative to setuptools, hatchling, etc. for pure Python projects, with a focus on good defaults, user-friendly error messages, and performance.

When used with uv, it's 10-35x faster.
Wait I’m not supposed to install structlog[dev,docs,tests,typing]??
Reposted
Today, we're announcing plans to make VS Code an open source AI editor.

We believe AI development should stay true to VS Code's core principles: open, collaborative, and community-driven. Let's build the future of software development together.

aka.ms/open-source-...
Reposted
Today, we’re announcing the preview release of ty, an extremely fast type checker and language server for Python, written in Rust.

In early testing, it's 10x, 50x, even 100x faster than existing type checkers. (We've seen >600x speed-ups over Mypy in some real-world projects.)
Reposted
Little Python quiz. What does list(f()) return for these:

def one():
return [1]
yield

def two():
return (yield 1)

And why :)
I have got one! What does ˋlist(three())` print?

def three()
x = (yield from one())
print(x)
Reposted
Sad to see an AI suggest these entries for a [tool.coverage.run] section:
omit =
tests/*,
*/__init__.py,
*/__main__.py,
*/cli.py,
*/setup.py,
*/__pycache__/*,
*/test_*.py

nedbatchelder.com/blog/202008/...
You should include your tests in coverage
This seems to be a recurring debate: should you measure the coverage of your tests? In my opinion, definitely yes.
nedbatchelder.com
Do you know if a pylock parser is in the works? I’ve been searching on GitHub but I could not find one. I’m willing to contribute, if needed.
I discovered uv thanks to an article of yours and I am so grateful for it. It enabled proper dependency management for beginners and helped so much in learning about the Python packaging ecosystem.
Never heard of this podcast, instant subscribe, thanks !
En pleurer car la France sans le nucléaire c’est un désastre écologique similaire à celui de l’Allemagne
I look forward to use your framework when I have some free time, it looks so great!
I’m blowing the mind of my coworkers with this exact command 😂 It’s unreal to people who never used TUIs
Had this question but could not bring myself to ask it, looking forward to watch it!
Okay I’m trying this out tonight 🥲