Pablo Galindo Salgado Profile Banner
Pablo Galindo Salgado Profile
Pablo Galindo Salgado

@pyblogsal

12,662
Followers
348
Following
406
Media
2,793
Statuses

Python Steering Council and core developer. Python 3.10/3.11 release manager. @ThePSF Fellow. Deals with black holes and parsers. Attracts linker problems.

London, England
Joined February 2010
Don't wanna be here? Send us removal request.
Pinned Tweet
@pyblogsal
Pablo Galindo Salgado
2 years
Quieres saber por qué no hay estrellas verdes? ⭐️ Existe la gravedad negativa? 🕳️ Qué demonios es la conjetura ABC? 🔤 @bvaldivielso y yo hemos lanzado "Esferas invisibles", un podcast 🎙️ sobre ciencia, tecnología y otras cosas.
2
4
37
@pyblogsal
Pablo Galindo Salgado
3 years
After a lot of work, we have finished the implementation of PEP 657 🚀🎉. In Python 3.11🐍, tracebacks will annotate where exactly the error is happening in your code 🤯. No more confusion having to guess what part of the expression is wrong. Learn more at
Tweet media one
Tweet media two
63
947
4K
@pyblogsal
Pablo Galindo Salgado
7 months
We have released Python 3.12.0 finally! 🎉🎉🎉🐍 In the CPython release team, we have put a lot of effort into making 3.12 the best version of Python possible. Better f-strings, faster Python, better typing, easier debugging and much more. Get it here:
36
652
3K
@pyblogsal
Pablo Galindo Salgado
2 years
Python 3.11 is finally released. In the CPython release team, we have put a lot of effort into making 3.11 the best version of Python possible. Better tracebacks, faster Python, exception groups and except*, typing improvements and much more. Get it here:
Tweet media one
29
411
1K
@pyblogsal
Pablo Galindo Salgado
2 years
Python 3.12 will add support for the Linux perf profiler! 🔥🔥 Perf is one of the most powerful and performant profilers for Linux that allows getting a ridiculous amount of information such as CPU counters, cache misses, context switching and much more. 🧵👇
13
198
1K
@pyblogsal
Pablo Galindo Salgado
3 years
My "magnum opus" for better SyntaxErrors is finished in time to be included in Python 3.10. Now when the interpreter shows SyntaxErrors it will try to highlight the full syntactic construct that is incorrect. This was quite tricky to do but I'm glad we managed to do it in time 😅
Tweet media one
34
169
1K
@pyblogsal
Pablo Galindo Salgado
3 years
🐍 Python 3.10 is finally released 🎉 Thanks to everyone who followed along with the release at the release party 😁. We are super excited to know what cool and exciting things you develop with this new version of the language 🧪. You can get it here:
Tweet media one
10
272
960
@pyblogsal
Pablo Galindo Salgado
3 years
Python 3.10 🐍 will try to offer you suggestions from existing attributes on AttributeErrors if you mistype the name of the attribute. Is a small detail but we think it can be quite handy 😉. Soon, NameErrors will do the same (if we get it in time for beta freeze 🤞).
Tweet media one
24
128
614
@pyblogsal
Pablo Galindo Salgado
2 years
Python 3.11.0 beta 1 is here! 🎉🐍 This marks feature freeze which means that no new features or APIs will be added to 3.11 and only bugfixes 🐞 are now allowed. Please, if you maintain any python package help us to test that everything works as expected🙏
9
140
612
@pyblogsal
Pablo Galindo Salgado
3 years
Pioneered originally by the smart people at @pypyproject 🚀🐍, we improved the error you get in CPython if you never close brackets or parentheses. Doing this was surprisingly tricky as our tokenizer couldn't use lines it has already parsed successfully in error messages.
Tweet media one
9
117
606
@pyblogsal
Pablo Galindo Salgado
1 year
We are adding a new cool decorator in the Memray pytest plugin that will make your test fail if it leaks memory 🤖 Is like valgrind but a LOT of times faster 🚀and it doesn't get confused by the Python interpreter specialised allocator. And configure it is just one line! 🙀
Tweet media one
18
98
558
@pyblogsal
Pablo Galindo Salgado
3 years
We just gave those IndentationErrors some extra love. In Python3.10 🐍 you will be able to know what kind of block was expecting an indentation and on what line this block is (as opposed to knowing just the line where the parser noticed the problem).
Tweet media one
12
71
494
@pyblogsal
Pablo Galindo Salgado
3 years
I'm thinking of streaming live the release process of the first beta of Python 3.10. I think it may be an interesting opportunity for people to learn about the process and chat with you all about Python stuff. Maybe is a super boring idea...😅 Is someone interested in this? 🤔
40
42
509
@pyblogsal
Pablo Galindo Salgado
7 months
Meanwhile, at the CPython core developer headquarters, something is happening with the CPython REPL... 👀
24
67
443
@pyblogsal
Pablo Galindo Salgado
4 years
Ah, don't you love the sound of 11630 lines of code that disappear at the same time? The old parser is dead! Long live the new parser!! 🐍🎉🎉
Tweet media one
11
67
365
@pyblogsal
Pablo Galindo Salgado
3 years
Python 3.10 is bringing a lot of cool things but how much faster is going to be? 🤔 The answer is "it depends" 😉 In the performance benchmark suite () we are seeing speedups up to 25% in some cases 🚀 How this translates to your code depends a lot. 🧵👇
Tweet media one
2
84
383
@pyblogsal
Pablo Galindo Salgado
1 year
Tweet media one
9
22
371
@pyblogsal
Pablo Galindo Salgado
7 months
In the Cpython core dev sprint we have started a project to improve the CPython REPL for Python 3.13+ 🎉 The first achievement is showing proper exceptions with source, error messages and locations in the REPL tracebacks. You can compare the before and after in these images:
Tweet media one
Tweet media two
9
49
373
@pyblogsal
Pablo Galindo Salgado
3 years
Join us at the Python 3.10 release party 🥳 that we are organising with the good people of @PythonDiscord . We will have several core devs 👩‍💻 speaking about new Python features and secrets and you can see me making mistakes live! 🚀 #python_release_party
Tweet media one
8
119
339
@pyblogsal
Pablo Galindo Salgado
2 years
Every GPG tutorial out there
Tweet media one
6
48
290
@pyblogsal
Pablo Galindo Salgado
4 years
I am humbled and very excited to serve you as the Python 3.10 & 3.11 release manager. I am sure great things will happen on those releases but let's all celebrate the incredible work that @llanga has done. We couldn't have 3.8 and 3.9 without you ❤️🐍🎉
@llanga
Łukasz Langa
4 years
Now that #Python 3.9's feature set is frozen, work has begun on Python 3.10. And with it, a new Release Manager: Pablo Galindo Salgado @pyblogsal ! He already started strong, making sure Python is ready for a two-digit minor version. But that's his story to tell! Welcome! 🤜🏻🤛🏻
8
23
256
7
34
276
@pyblogsal
Pablo Galindo Salgado
3 years
Python educators and users: I have been working on improving SyntaxError messages in CPython lately. What error (only *SyntaxErrors* for now 😅) messages you or your students have struggle with? Which ones you think we should improve? 🤔 (Pls RT to help reaching more people 🙏).
41
218
269
@pyblogsal
Pablo Galindo Salgado
5 months
Colors are coming to CPython exceptions.... 👀 ⚠️ Warning: not a final version - still under experimentation ⚠️
Tweet media one
15
29
290
@pyblogsal
Pablo Galindo Salgado
2 years
Python 3.12 will know that you forgot to import that module... but don't worry, it won't tell Santa 🎅👀
Tweet media one
9
27
276
@pyblogsal
Pablo Galindo Salgado
5 years
The oldest piece of CPython, the parser generator (pgen) has been retired and replaced with a new version! 🐍🖥️🥳 The parser generator was the first piece written for Python 29 years ago. It generates the parser rules (in the form of DFAs) from the grammar specification file.
5
87
250
@pyblogsal
Pablo Galindo Salgado
3 years
I hope you are getting ready for pattern matching🔡, better error messages🤌, better typing⌨️, and many cool new things🚀 in #Python310 because we are super close to the final release. We actually just released the first release candidate. Get it here:
7
69
262
@pyblogsal
Pablo Galindo Salgado
2 years
We have released version 1.1.0 of memray! 🥳 This release is packed with lots of improvements: - Report files are ~97% smaller 🤯 - Tracking is up to 10% faster 🚀 - Track separately the Python allocators. 🐍 - Alpine Linux (musl) support 🗻 - Bugfixes 🐞
3
43
254
@pyblogsal
Pablo Galindo Salgado
2 years
I hope you like bugfixes🐞, because we have a whole shipment 🚀 of them! Python 3.10.1 is the first maintenance release of Python 3.10 as we have packed more than 330 commits of fixes and general improvements 🎉📦. You can get it here:
2
44
242
@pyblogsal
Pablo Galindo Salgado
2 years
The battery 🔋 of the M1 MacBook Pro laptops is clearly close to violating the laws of thermodynamics. In the last 2 days, I have been compiling CPython and a bunch of C extensions heavily, editing my PyCon presentation, rendering 3D with Blender and the battery is at 33% still!
11
3
239
@pyblogsal
Pablo Galindo Salgado
10 months
Some news on the steering council position regarding PEP 703: Making the Global Interpreter Lock Optional in CPython. This is the first time we face a decision of this calibre so please be patient while we figure out the best way forward together 🙏
4
44
241
@pyblogsal
Pablo Galindo Salgado
3 years
We are very serious people in the Python core Dev team and we only participate in the most distinguished formal parties 🎩😎
Tweet media one
5
12
223
@pyblogsal
Pablo Galindo Salgado
2 years
I cannot believe I am writing this, but the cursed 👻 release of Python 3.11.0b4 is finally available 😱🚀🚀🚀 Please, please, please, help us to ensure Python 3.11 works for everyone by testing your code with the beta releases. (Pls RT for visibility)
7
106
213
@pyblogsal
Pablo Galindo Salgado
3 years
Python 3.10.0 🐍is one month 📅away, can you believe it? Meanwhile, we have the final release candidate for you while we squash the last bugs 🐞, polish the docs 📕and make sure the final release will be as shiny as possible✨ Get the latest RC here:
3
39
208
@pyblogsal
Pablo Galindo Salgado
2 years
⚠️Special Python beta release⚠️ Unfortunately the last Python 3.11 beta we released (3.11.0b2) had a tiny, tiny, tiny problem... it didn't work with pytest 😅. Turns out pytest is quite popular, so we decided to do another beta release with the fix😉
10
34
213
@pyblogsal
Pablo Galindo Salgado
3 years
Do you hear that? 😯 That's the sound of the new alpha release of Python 3.10 🐍 now with 100% more pattern matching. If I was you, I would download it and start playing with it. Extra points if you report us any 🐞 you find along the way! Get it here:
4
48
186
@pyblogsal
Pablo Galindo Salgado
2 years
Yeah you are running Python 3.11 and all… but do you have the only official T-shirt in existence? 👀
Tweet media one
18
12
183
@pyblogsal
Pablo Galindo Salgado
2 years
No neural networks were harmed in the making of this new Python 3.12 error message 😄
Tweet media one
3
24
172
@pyblogsal
Pablo Galindo Salgado
2 years
Python 3.11.0 is almost ready 🎉💪 The last release, Python 3.11 release candidate 1 (3.11.0rc1), is the penultimate release preview before we get to the official release in October 👀🗓️ Please, help us to test it 🐞🐛😎 You can download it here:
0
55
173
@pyblogsal
Pablo Galindo Salgado
3 years
I will be streaming the release of Python 3.10 beta 1 🐍 tomorrow (3rd May) at 20:00 BST. Come and join us at to talk about Python and watch me make mistakes live 😉 This is a good opportunity to learn about our processes and how Cpython is released 🚀
8
51
174
@pyblogsal
Pablo Galindo Salgado
2 years
👋 from the CPython core dev sprint 2022! Thanks a lot to @gpshead for the great work organising it this year and @Google for hosting it!
Tweet media one
2
17
175
@pyblogsal
Pablo Galindo Salgado
2 years
One time I interviewed at $BIG_COMPANY the interviewer failed me because they didn't like the implementation I did for a parser and told me I should learn how to do better parsers. Years later, now that person is using the PEG parser we developed for CPython every day at work 🧐
3
23
166
@pyblogsal
Pablo Galindo Salgado
3 years
I am so honoured to serve in the Python 🐍 Steering Council together with @WillingCarol @brettsky @pumpichank and @Yhg1s ! Congrats to my colleagues! Thanks to all the core devs who voted (from me or not) and for all your confidence and support ❤️. I will do my best to serve!
16
24
159
@pyblogsal
Pablo Galindo Salgado
2 years
You can read about the talk 🙋I gave in the Python 🐍 language summit about moving f-strings to the grammar 📑and what that means for the future of f-strings here 👀:
8
32
158
@pyblogsal
Pablo Galindo Salgado
3 years
After fighting with some release blockers and fixing some pending reference leaks, we finally have Python 3.10.0 beta 2 ready to go! We strongly encourage maintainers of third-party Python projects to test with 3.10 during the beta phase and report issues!
2
37
155
@pyblogsal
Pablo Galindo Salgado
2 years
The latest bugfix 🐞release for Python 3.10 (3.10.3) is out after a bunch of failed attempts 😵‍💫 This release comes a bit earlier than normal as it packs a ton of security fixes 🔐 (including more than 20 CVEs 😱) so you really want to upgrade!
1
54
158
@pyblogsal
Pablo Galindo Salgado
3 years
Ok, that was quite fun and exhausting! The release of 3.10.0b1 and branch rename only took 4 hours and we *only* broke GitHub once 😅. Thank you all for being there ❤️
3
10
155
@pyblogsal
Pablo Galindo Salgado
2 years
What's the Python syntax error that you have struggled with the most? 🤔
59
14
152
@pyblogsal
Pablo Galindo Salgado
2 years
There are no easy releases these days! 😓 After a week of delay due to several release blockers ✋, buildbot problems 🤖and pandemic-related difficulties 🦠, here is 3.11.0a6 for you to test 🎉🐍.
6
17
138
@pyblogsal
Pablo Galindo Salgado
2 years
Does anyone want bug fixes? 🧐 Because in Python 311.0b2 we have over 160 new commits fixing different things from code to documentation🤯. We still have two more betas to go so help us to make sure we don’t miss anything before the final release🤘
5
20
138
@pyblogsal
Pablo Galindo Salgado
3 years
"Imagine if I have an error 404 or something" 😆
8
26
140
@pyblogsal
Pablo Galindo Salgado
5 years
I have modified my keyboard driver so the light under every key represents one CPython buildbot. The blue ones are healthy and the red ones are failing. This was inspired by @brettsky in the language summit when talking about ideas for the @adafruit devices using @CircuitPython
Tweet media one
7
14
130
@pyblogsal
Pablo Galindo Salgado
10 months
Long-term (probably 5+ years), the no-GIL build should be the only build. We do not want to create a permanent split between with-GIL and no-GIL builds (and extension modules).
1
16
138
@pyblogsal
Pablo Galindo Salgado
2 years
Releasing the fourth beta of Python 3.11.0 is proving an impossible task😵‍💫. Every time we fixed a bunch of release blockers🛑, new problems appeared 😢 But after a lot of hard work (thanks @ChristianHeimes , @IritKatriel and Brandt Bucher) we may be able to release it today 🤞
5
9
124
@pyblogsal
Pablo Galindo Salgado
1 year
"The life of an idea to make CPython's parser faster in 4 images"
Tweet media one
2
6
128
@pyblogsal
Pablo Galindo Salgado
3 years
Reading people's nice comments and excitement about something you worked on for so long is probably one of the nicest things of this year ♥️ Thank you all! You are awesome 🤘
6
11
114
@pyblogsal
Pablo Galindo Salgado
3 years
Wow! A Python release on the weekend? Do the release management team even rest😴? You better believe it because this is the last of the planned beta releases. If you maintain a popular Python 🐍 project you certainly want to test it with the last beta!🚀
2
26
117
@pyblogsal
Pablo Galindo Salgado
1 year
“The nasty bug that we thought we fixed last month is back again”
Tweet media one
3
11
118
@pyblogsal
Pablo Galindo Salgado
4 months
🚀 Exciting News! 🚀 memray 1.11.0 is out now! 🎉 Packed with bug fixes, performance boosts, and a sleek redesign of the memray live UI and memray tree reporter using the awesome textual library. Check out the cool new features and improvements!
Tweet media one
2
19
124
@pyblogsal
Pablo Galindo Salgado
4 years
Ok so Python 3.9 was just released thanks to @llanga , but you may think: "That's boring, where is Python 4?"🤔 Not so fast! The next release after 3.9 will be 3.10. And you can already test the first alpha, with 100% more science in the announcement:
2
24
112
@pyblogsal
Pablo Galindo Salgado
2 years
This is not even our final release manager form 💥
Tweet media one
7
4
112
@pyblogsal
Pablo Galindo Salgado
4 years
I just finishing the new "Design of CPython’s Garbage Collector" section in the CPython's 🐍 developer guide and I am very happy how it ended looking 🥳🥳 Lots of cool and✨arcane✨ knowledge collected in there! 🧙
5
31
110
@pyblogsal
Pablo Galindo Salgado
2 years
This means that since Python 3.12, perf will be able to "see" python calls and show them in the stack. This allows you to generate very easily these kinds of flame graphs that have both C/C++/Rust code and Python code.
Tweet media one
1
7
111
@pyblogsal
Pablo Galindo Salgado
2 years
Do you want to watch how we release Python 3.11 live? 🐍🎉 Join us in the 3.11 release party organised with the good people of @PythonDiscord at 17:00 UTC+0! 📆 We will talk about some of the new cool features and a sneak peek into what's coming in 3.12 👀
4
52
111
@pyblogsal
Pablo Galindo Salgado
1 year
Finally, "PEP 701 - Syntactic formalization of f-strings" is ready 🚀🔥✨ We think this will make f-strings even more awesome but it will also help a lot with the maintenance of CPython 🤘 Thanks to my awesome co-authors @isidentical and @isidentical ♥️
2
18
111
@pyblogsal
Pablo Galindo Salgado
2 years
Tweet media one
2
7
100
@pyblogsal
Pablo Galindo Salgado
3 years
Well, that was fast: we have it now working for NameError. If you like me have problems spelling Schwarzschild you will love the upcoming Python3.10 🐍 feature that will offer suggestions on NameErrors.
Tweet media one
@pyblogsal
Pablo Galindo Salgado
3 years
Python 3.10 🐍 will try to offer you suggestions from existing attributes on AttributeErrors if you mistype the name of the attribute. Is a small detail but we think it can be quite handy 😉. Soon, NameErrors will do the same (if we get it in time for beta freeze 🤞).
Tweet media one
24
128
614
3
17
97
@pyblogsal
Pablo Galindo Salgado
2 years
Here we are. The universe. The vastness of spacetime. At the edge. The last frontier. The last beta *(conditions apply) for Python 3.11 🐍. We have defied the gods of release blockers and we have won by using the required amount of ruse and subterfuge.
0
25
105
@pyblogsal
Pablo Galindo Salgado
3 years
We can now test 🧪continuously CPython in M1 macOS 🍏thanks to the kind donation that @Lukasaoz made to the PSF. I just configured the buildbot 🤖: And it has been immediately useful 😅: Thanks a lot, @Lukasaoz for your help! 🙏
1
13
101
@pyblogsal
Pablo Galindo Salgado
2 years
As you can see we are just a bunch of very serious and professional CPython core developers doing very serious things with the proper attire 😆
Tweet media one
3
4
98
@pyblogsal
Pablo Galindo Salgado
3 years
Big shootout to the rest of the PEP 657 team: @isidentical and @__ammar2__ that have pushed against tons of bugs and complications during design and development. You rock 🤘
4
3
96
@pyblogsal
Pablo Galindo Salgado
4 years
This door should be accompanied by the typical comment "we don't know what happens if we delete this door, so leave it alone".
Tweet media one
6
17
93
@pyblogsal
Pablo Galindo Salgado
3 years
Summer is almost here (at least in half of the planet) and Python 3.10 is finishing baking in the oven. If you want to taste it before is ready (and if you are a library developer, you certainly do!) beta 3 is ready, but be careful as is still very hot 🔥
3
21
88
@pyblogsal
Pablo Galindo Salgado
2 years
You can tell that we are slowly getting closer to the first beta as the number of release blockers that we need to fix on every release starts to increase 😅 But we did it! 🎉Thanks to everyone that helped the release team get things ready 🤟❤️
2
13
90
@pyblogsal
Pablo Galindo Salgado
5 years
Enjoy this unnecessary gdb plugin I made to represent your pointers as emojis for comparing them quickly.
Tweet media one
4
26
89
@pyblogsal
Pablo Galindo Salgado
2 years
I created a new PEP proposal to try to remove a small footgun with assert statements 🔫 Is quite sneaky and Python already warns but I think is better to make Python do what people expect instead of just saying "your code is wrong, change it this way" 😉
5
9
90
@pyblogsal
Pablo Galindo Salgado
6 months
We have published Episode 2 of the podcast! 🎙️📷 In this episode we've read PEP 703 so you don't have to! Do you want to know all the technical details on how we plan to remove the GIL? Then buckle up and join us! #Python
5
16
94
@pyblogsal
Pablo Galindo Salgado
2 years
@anthonypjshaw In Python 3.11 there will be almost no overhead for Python to Python calls thought. Mark and I worked on inlining the ceval loops so there is no consumption of the C stack. And the references to the arguments are stolen from the caller so there is close to 0 overhead 🚀
1
14
85
@pyblogsal
Pablo Galindo Salgado
2 years
You can throw some comparison chaining to your coworkers for maximum code review entropy 😈
Tweet media one
8
11
87
@pyblogsal
Pablo Galindo Salgado
2 years
Here you have a nice package 🚚📦of 200 commits of bugfixes 🐞 and documentation improvements freshly made for Python 3.10. Go and download it when is still hot 🔥:
0
22
83
@pyblogsal
Pablo Galindo Salgado
5 months
Once more I am humbled and honoured to serve in the Python 🐍 Steering Council 2024 with my amazing colleagues @Yhg1s @emilyemorehouse @gpshead @pumpichank ! Thanks to all of you for your trust and support 🙏🖤 I will do my best to serve and ensure all voices are represented!
8
7
88
@pyblogsal
Pablo Galindo Salgado
4 years
The engines of the secret Python release manager machine have finished producing a new pre-release for Python 3.10: this time is the second alpha version. Go get it here: You can even learn something cool about infinite cardinals in the release page 🤯
2
27
83
@pyblogsal
Pablo Galindo Salgado
2 years
Yeah, no kidding! 😵‍💫 3.11.0a4 had a ridiculous amount of release blockers 🧐 we needed to solve and while everything was on fire we discovered something that made us make an early 3.10.2 release 🤯(you should upgrade: read the release notes for more info⚠️)! What a week 😅
@llanga
Łukasz Langa
2 years
#Python 3.10.2, 3.9.10, and 3.11.0a4 now available! 🚀 The first three releases of 2022 were cursed! What is usually a pretty mundane and largely automated process, turned out to be three separate curveballs. Fortunately, we didn't let 'em strike us out!
3
63
250
2
17
84
@pyblogsal
Pablo Galindo Salgado
1 year
We have a new cool shiny new landing page for Memray!✨I think I have exhausted my design capabilities as a systems programmer person but I am pleased with the result 😆
Tweet media one
1
8
81
@pyblogsal
Pablo Galindo Salgado
2 years
I assume the lesson here is "don't worry about what people think about your performance in interviews, in most cases it has almost no correlation with anything that matters" 😉
4
2
77
@pyblogsal
Pablo Galindo Salgado
2 years
Feature freeze for 3.11 is upon us 🥶. The latest alpha release (3.11.0a7) is available for testing. Once the first beta for 3.11 is released in one month, no more features will be allowed in this version so if you have something in mind,now is the time🚀
3
22
78
@pyblogsal
Pablo Galindo Salgado
2 years
Wanna see some ridiculously obscure bug of Python 3.11? 🐞🧙‍♂️ Check these two code samples. In the traceback of the first one, the last line is missing and the line number is wrong but changing the name of a variable (that doesn't even appear in the traceback) makes it work🤯
Tweet media one
Tweet media two
5
11
74
@pyblogsal
Pablo Galindo Salgado
1 year
PEP 701 is accepted! 🎉🎉🎉🎉🤘 Thanks to my awesome co-authors @isidentical @lysnikolaou and for the community for your help making the proposal even better.
11
16
80
@pyblogsal
Pablo Galindo Salgado
2 years
Test you code with 3.11.0b4 Test you code with 3.11.0b4 Test you code with 3.11.0b4 Test you code with 3.11.0b4 Test you code with 3.11.0b4 Test you code with 3.11.0b4 Test you code with 3.11.0b4 Test you code with 3.11.0b4
3
21
75
@pyblogsal
Pablo Galindo Salgado
1 year
Ah yes, the joy of setting up CI: $ git commit "I swear this time I got it right" && git push origin HEAD -f
6
5
77
@pyblogsal
Pablo Galindo Salgado
2 years
My GitHub Sponsors profile is live!🚀 If you enjoy my work on better error messages 🖥️ for CPython (featured in Python 3.10) or any of the other areas I work actively on (there is a list in the link), you can sponsor me to support my open source work 💖
0
23
72
@pyblogsal
Pablo Galindo Salgado
1 year
You haven't experienced true despair until you have gdb attached to another gdb attached to your program linked with a glibc version you just compiled yourself with extra debug symbols. I swear I am not making this up. The abyss is real and is made up of debuggers with bugs😵‍💫
6
6
76
@pyblogsal
Pablo Galindo Salgado
2 years
from python3.11 import better_syntax_errors 🤔👀
Tweet media one
3
5
70
@pyblogsal
Pablo Galindo Salgado
10 months
As the person who released 3.10 and also added tons of new error messages in the parser, a new error message mechanism in the grammar and one entire new error message PEP, I would recommend to not ignore that smoke as it may be making too hard to appreciate the work of others
@dmimno
David Mimno
10 months
Third, horrible error messages. It's only in version THREE point TEN that they're even trying to make these readable. Heuristics help (ignore the smoke, look for the fire) but new programmers don't need pages of insane stack trace to get to a non-helpful error
5
4
265
5
3
69
@pyblogsal
Pablo Galindo Salgado
1 year
Hi 👋This is Pablo from your friendly Python release manager team! We have a bunch of tasty bugfix releases for Python 3.10.10 and Python 3.11.2 and a new alpha for Python 3.12 that you don't want to miss!
0
12
68
@pyblogsal
Pablo Galindo Salgado
3 years
Oh boy, what a promising start of the day 🤔
Tweet media one
3
5
67
@pyblogsal
Pablo Galindo Salgado
2 years
I know you are likely crying in pain... But I am quite happy our PEG parser is able to handle this level of soft keywords just fine 😁
Tweet media one
4
3
67
@pyblogsal
Pablo Galindo Salgado
5 months
You cannot imagine how many CPython improvements happened because of this 😅
Tweet media one
3
2
69
@pyblogsal
Pablo Galindo Salgado
2 years
@advextrovert @1st1 We are adding the API docs soon! You will be able to use it as a context manager and a decorator 😉
2
0
65
@pyblogsal
Pablo Galindo Salgado
2 years
This is super powerful because there are **a lot** of Python libraries that call native code 👾(C/C++/rust...) underneath and this will allow you to see how much time is spent on actual Python and how much in native code.🐍
1
3
64
@pyblogsal
Pablo Galindo Salgado
1 year
If someone told my teenage self that I would be this silly as a functional adult I would have called you crazy.
Tweet media one
2
0
65