Irit Katriel's Avatar

Irit Katriel

@iritkatriel.bsky.social

CPython Core Dev. Views are my own.

1,035 Followers  |  109 Following  |  16 Posts  |  Joined: 14.11.2024
Posts Following

Posts by Irit Katriel (@iritkatriel.bsky.social)

Post image

102 years ago, in November 1923, someone in Germany posted a package (Christmas present, maybe) using 50 stamps of 200 million Mk. Hyperinflation.

31.10.2025 10:48 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Why PyPI is simply because that’s what’s accessible. I’d love to see an analysis of corporate codebases. If anyone has access to those, they can use my script - see the PEP for details.

24.09.2025 11:02 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

That’s a good question, which was raised in the discussion. I repeated the analysis on a random selection of PyPI packages, and found that the incidence rate was double - about 4 per million LOC. so you are right that high quality code is less impacted, but not by orders of magnitude.

24.09.2025 11:01 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
PYCON UK 2025: The tale of PEP 765  SyntaxWarning on  return  in  finally, Irit Katriel
YouTube video by PyCon UK PYCON UK 2025: The tale of PEP 765 SyntaxWarning on return in finally, Irit Katriel

My PyCon UK talk on PEP 765: removing β€˜return in finally’ from the language.

www.youtube.com/watch?v=vrVX...

21.09.2025 08:07 β€” πŸ‘ 10    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

Tough choice..

27.05.2025 21:25 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

β€œJoyful” is something we’re supposed to value now in a presidential candidate?

One of the criticisms against her was that she constantly laughed as the world burned on her watch.

09.03.2025 10:47 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Sure, my point is I rarely look at codeowners/experts (I do that when I am actively looking for help). It’s possible that someone was unaware of a relatively recent codeowners addition.

04.03.2025 04:31 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

We had some discussions in the past about β€˜codeowner’ being a misleading term here. The intention is that the person offers to resolve issues, not that they actually own the code.

I tag people when I need their input. If I can handle an issue myself I don’t bother them. I don’t tag as recognition.

03.03.2025 23:43 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0

Can you be more specific about what happened? Who did you expect to tag you, and on what? What does recognition as maintainer mean?

03.03.2025 22:28 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

The PEP has now been accepted.

Which other languages have this problem?

07.02.2025 00:01 β€” πŸ‘ 11    πŸ” 3    πŸ’¬ 1    πŸ“Œ 0

LWN published a good summary of the discussion so far:
lwn.net/Articles/100...

@lwndotnet.bsky.social

29.12.2024 19:28 β€” πŸ‘ 5    πŸ” 2    πŸ’¬ 0    πŸ“Œ 0

I'm working on CPython's internals documentation, collecting it all into one place, organising, updating and enhancing to fill in missing topics.

It's taking shape, but there are still gaps to fill. Contributions are welcome.

github.com/python/cpyth...

07.12.2024 22:33 β€” πŸ‘ 43    πŸ” 8    πŸ’¬ 1    πŸ“Œ 0

I would be interested to know what they mean by β€˜Python is a poor investment’. Learning python? Building systems in Python? Working on Python?

Do they have a point? If they don’t then I’d disagree, but I wouldn’t feel angry or offended. Why should I?

05.12.2024 13:46 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

You have unlimited data, so you can always get the email to let you know that you've run out.

04.12.2024 16:57 β€” πŸ‘ 2    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
Post image

If you use up all of your (unlimited) data, we will let you know.

Good bot.

04.12.2024 16:47 β€” πŸ‘ 2    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0
Preview
PEP 765 – Disallow return/break/continue that exit a finally block | peps.python.org This PEP proposes to withdraw support for return, break and continue statements that break out of a finally block. This was proposed in the past by PEP 601. The current PEP is based on empirical evide...

I conducted an analysis of return-in-finally in real world Python code. Just don't do it.

TL;DR:
- it is not used often
- when it is used, it's usually used incorrectly
- code authors find it easy to fix

Draft PEP: peps.python.org/pep-0765/

Full report: github.com/iritkatriel/...

25.11.2024 15:40 β€” πŸ‘ 19    πŸ” 4    πŸ’¬ 1    πŸ“Œ 2