Tip: pprint.pp does the same thing but has better (much less surprising!) defaults
28.07.2025 12:48 โ ๐ 5 ๐ 0 ๐ฌ 1 ๐ 0@alexwaygood.bsky.social
Software dev at Astral ๐ฆ. Sometimes do freelance journalism: Guardian, Telegraph, openDemocracy. Python core dev in my spare time ๐. Studied ๐ถ a while back.
Tip: pprint.pp does the same thing but has better (much less surprising!) defaults
28.07.2025 12:48 โ ๐ 5 ๐ 0 ๐ฌ 1 ๐ 0๐ฅง๐ชต๐ The branch is locked and first release candidate of Python 3.14 is being built!
discuss.python.org/t/the-3-14-b...
#Python #Python314 #release #ReleaseCandidate #RC1
TYVM!
19.07.2025 16:45 โ ๐ 0 ๐ 0 ๐ฌ 0 ๐ 0Ask not for whom the grant shapps, it shapps for thee
18.07.2025 07:52 โ ๐ 0 ๐ 0 ๐ฌ 0 ๐ 0I groaned out loud at the last sentence, thank you
16.07.2025 19:20 โ ๐ 1 ๐ 0 ๐ฌ 0 ๐ 0Pydantic is another uv-based project already in that workflow โ you might be able to look at that one for reference
16.07.2025 15:45 โ ๐ 0 ๐ 0 ๐ฌ 0 ๐ 0Oh, that's very kind of you to ask! Sure โ the workflow where we run the cattrs test suite every night is github.com/python/typin... . The workflow is also run on PRs that edit the workflow file itself. A PR updating that workflow would be welcome!
16.07.2025 15:42 โ ๐ 0 ๐ 0 ๐ฌ 2 ๐ 0This documentation is absolutely amazing, and does the BBC credit. To publicly dismantle MI5 lies like this is a feat of independent journalism
www.bbc.co.uk/news/article...
Fantastic yarn by @chloehadj.bsky.social this: about the falsehoods at the heart of a bestselling series of nature books:
06.07.2025 09:35 โ ๐ 418 ๐ 98 ๐ฌ 26 ๐ 12They're everywhere in Hertfordshire! We see them regularly over our house
16.06.2025 21:06 โ ๐ 1 ๐ 0 ๐ฌ 0 ๐ 0I significantly sped up a pathlib function a while back using it! github.com/python/cpyth...
10.06.2025 08:40 โ ๐ 2 ๐ 0 ๐ฌ 1 ๐ 0We're working on it! Sorry for the delay. There were a couple of big changes to extension modules that landed in the last beta which have been tricky to reimplement in Python- build-standalone. But AFAIK we're nearly there
02.06.2025 16:04 โ ๐ 0 ๐ 0 ๐ฌ 1 ๐ 0It's fun if you look at different classical composers' methods of writing music. Some composers apparently found it easy/enjoyable, but the famous counter-example is Beethoven. His notebooks are full of bars of music angrily scribbled out as he struggled to express what he wanted
29.05.2025 19:13 โ ๐ 0 ๐ 0 ๐ฌ 1 ๐ 0I always felt exactly this way about writing. I loved having written something. Not so much writing it. It's probably a good thing I'm not a journalist anymore ๐
29.05.2025 18:59 โ ๐ 0 ๐ 0 ๐ฌ 1 ๐ 0Just finished a new blog post! ๐ ๐
This goes into a deep dive into Python's two new type checkers, Pyrefly by Meta and ty by Astral (the team behind uv and ruff)
Check it out here: blog.edward-li.com/tech/compari...
huge fan of the 70 year old german guy who uploaded this 360 degree interactive panorama of inside a corn flakes bag. it's in the corn flakes article on
23.05.2025 06:58 โ ๐ 7929 ๐ 1150 ๐ฌ 116 ๐ 73We certainly don't want to force typing onto anybody who doesn't want to use it!
15.05.2025 02:50 โ ๐ 1 ๐ 0 ๐ฌ 1 ๐ 0Ultimately I'm not sure I have a great answer for you here. But it *is* a problem that we're aware of, and I know we'd love to think of ways to mitigate it once we're a bit further along and we can see just how much of a problem it is for library maintainers.
15.05.2025 02:10 โ ๐ 2 ๐ 0 ๐ฌ 0 ๐ 0One of the reasons why there is controversy around standardising too much is it would stifle innovation. We're deliberately doing some things differently to mypy and pyright because we think there's a chance to create a better user experience. A more comprehensive spec would make that harder!
15.05.2025 02:08 โ ๐ 2 ๐ 0 ๐ฌ 1 ๐ 0@qexat.com is right that the solution here should be the recently formed Typing Council and the typing spec. But the spec is silent on many things where users would love standardised behaviour. It's still a WIP; lots of things are unfortunately controversial and will take a while to iron out
15.05.2025 02:06 โ ๐ 1 ๐ 0 ๐ฌ 1 ๐ 0I feel you. I know all too well from maintaining typeshed that it's a massive pain trying to write code that passes on mypy, pyright and pytype simultaneously. And it's definitely on our minds that adding one more type checker to the mix isn't going to help with that (at least not in the short term)
15.05.2025 02:03 โ ๐ 1 ๐ 0 ๐ฌ 1 ๐ 0There were layoffs at MS yesterday and 3 #Python core devs from the Faster CPython team were caught in them. If you know of any jobs, please send them their way (they kind of know Python, CPython, and its internals well ๐):
Eric Snow: https://www.linkedin.com/in/ericsnowcurrently/
Irit Katriel: [โฆ]
The Python reddit (www.reddit.com/r/Python/) or the community Python Discord (discord.gg/python) might be good places. (If the latter, make sure you post in an appropriate channel!)
13.05.2025 18:37 โ ๐ 0 ๐ 0 ๐ฌ 0 ๐ 0or at least, that's my opinion! There are still sharp edges in Python's typing system, of course, but one of the things we hope to do with ty is to make Python typing easily adoptable and enjoyable to use.
13.05.2025 18:28 โ ๐ 0 ๐ 0 ๐ฌ 0 ๐ 0Will typed Python ever be *as* strongly typed as C# or Rust? No; there will always be applications for which that those languages are better suited. For many things, it can be a really good compromise between a completely untyped scripting language and a strictly typed compiled language, however
13.05.2025 18:27 โ ๐ 1 ๐ 0 ๐ฌ 2 ๐ 0But, especially if it's a large Python codebase, they also love being able to quickly run a type checker over their tool to spot errors before running their code. They love the security and confidence that this brings them (2/n)
13.05.2025 18:26 โ ๐ 0 ๐ 0 ๐ฌ 1 ๐ 0Folks who are into typed Python generally love Python for many of the same reasons as folks who love untyped Python -- they love how clean the syntax is, they love all the dynamic features of the language, and they love how quick it is to prototype ideas in Python (1/n)
13.05.2025 18:25 โ ๐ 0 ๐ 0 ๐ฌ 1 ๐ 0It's certainly not our goal to force typing on anybody who doesn't want to use it! If you're not a fan of typing, it sounds like this probably isn't the tool for you :-)
13.05.2025 17:43 โ ๐ 0 ๐ 0 ๐ฌ 0 ๐ 0Iโm officially a CPython Core Developer! ๐
Iโve been using Python since 2006 โ contributing back was a dream, and now itโs real.
Huge thanks to everyone who supported me, and to Arm for backing me from day one.
Itโs not the destination โ itโs the journey. ๐
๐ discuss.python.org/t/vote-to-pr...
There's still a long way to go on this project, but I'm hugely excited about where we're going with this. Let's make Python typing even more awesome than it already is!
13.05.2025 17:01 โ ๐ 15 ๐ 2 ๐ฌ 2 ๐ 0