Kyle Stanley (@aeros_py) profile picture

#Python Core Developer and @ThePSF contributing member. Mainly involved with asyncio, concurrent.futures, and documentation (https://nitter.gq/t.co/iELIcT02mT).

FL, US
Joined June 2016
Photo by Kyle Stanley (@aeros_py)
Today, I concluded a 12-week #Python "Resident Core Developer" internship with @ThePSF, with just over 100 hours spent on: co-organization of the 2020 Virtual Python Core Dev Sprint, CPython PR review, and work on PEP 594. Huge thanks to @EWDurbin @ewa_jodlowska @WillingCarol!
3
1
39
This should hopefully make the transition process to 3.10 smoother and provide some context for the change to users.
1
Huge thanks to Python Discord for hosting the event and helping us with the setup process! The support from the admin team was invaluable for the success of the 2020 #Python Core Dev Sprint.
It was a pleasure to host the 2020 Core Developer Sprint! Find below the excellent blog post written by @mariatta and @aeros_py about the sprint, 5,800+ messages and 215 PRs merged! Thanks to @ThePSF and all the Core Developers for organising and taking part in the sprint! 🐍
9
Replying to @mariatta
@mariatta and I wrote a blog post summarizing this year's #Python Core Development Sprint. Check it out if you're curious about the stats, projects worked on, etc.!
Virtual Python Core Developer Sprint 2020 ift.tt/2LHkFdG
2
I have some decently strong opinions as well on this issue (which I've expressed in the linked thread).
Hot on-going discussion about the PSF Code of Conduct, how CoC violations should be handled and (the lack of) transparency in CoC incidents handling: discuss.python.org/t/discuss… It sounds healthy to discuss it even if it's unpleasant to me. Also, I have opinions on this topic 😊
3
Check out the first-ever virtual Python Core Dev Q&A, which happened live during last week's Core Dev Sprint! (I personally answered two questions: (1) contributing to Python w/o a background in C, and another on the async ecosystem)
Last week's Core Devs and Community Q&A was just uploaded to @ThePSF's youtube channel: youtube.com/watch?v=yzCitT4j…
2
Hearing that definitely made all of the work that went into organizing the sprint feel 1000% worthwhile! Huge thanks to everyone that participated and helped out to make it into the fantastic experience that it was!
"This is definitely the best online event I've attended", said @gvanrossum of the virtual #Python core dev sprint 🤩 Thanks Guido, it means a LOT to us co-organizers @ewa_jodlowska, @aeros_py, and myself 👏👸🏻🏆 brb putting this on my CV 😝
3
Yesterday, I did a guest appearance & brief interview on Python Discord's Summer Code Jam judging livestream! Check out the video here: youtube.com/watch?v=OFtm8f2i…. (There will also be an edited version of the highlights coming out soon).
1
I'm helping to organize the upcoming (Virtual) Python Core Development Sprint where this community Q&A session is taking place, alongside @ewa_jodlowska and @mariatta. The more attention we can bring to this Q&A from the Python community around the world, the better!
Ask a Core Dev Anything! Connect with Python core devs by sending in a Q about Python: app.sli.do/event/d4ifvw2o. Submit Qs before Sept. 30. The session will be live Oct. 20, 3PM US Central Time & recorded to be posted to The PSF’s YouTube channel.
1
4
Huh, all this time I've just been using the default (two dot) version when using git diff. The three dot version is very useful if you only want to include changes in the branch from the base's last common commit, and leave out changes that were made to just the base after that.
TIL: "git diff A...B" (3 dots) compares B from the last commit common with A and is different than "git diff A..B" (2 dots). I also discovered the cool "git merge-base A B" command to find this last common commit. See also: matthew-brett.github.io/pyda…
3
IMO, it's really not worth having a US Independence Day party. If you want to be with your family and shoot off some fireworks, go ahead, but can we not avoid non-essential gathering of 10s of people during a pandemic? The isolation is draining, but parties aren't worth the risk
1
1
It felt necessary to say something about this after seeing 10-20+ neighbors across the street, all sitting close to each other and drinking. My state (Florida) is currently the third highest in number of cases. I won't state the specific county, but we are well in the thousands.
Huge thanks to @driscollis for the interview opportunity on Mouse vs Python's PyDev of the Week! This was the first time I've done something like this.
Did you miss my interview with @aeros_py ? Go check it out now and learn about one of #Python's core developers! blog.pythonlibrary.org/2020/…
1
4
1/5 Python vs JavaScript async PSA: async functions in JS are *not* equivalent to async def (coroutine) functions in Python. In JS, they are largely interchangeable with non-async functions for callbacks because they return a Promise (roughly comparable to a Future in Python).
1
2
8
2/5 In Python, async def functions return a coroutine object, which can be awaited to suspend the parent coroutine until the function returns or in asyncio, executed using functions such as asyncio.run() or loop.run_until_complete().
1
1
Reminder for any PSF voting members: the election for the PSF board 2020 closes in approximately 3.5 hours. If you haven't voted already, make sure to do so! I just submitted mine. :-)
This is why one should always look into the setup and environment details before drawing any conclusions from benchmarks. Benchmark data means nothing without context. Thanks for the detailed dissection, @llanga.
If you've seen a blog post shared recently by somebody claiming that async frameworks in #Python are slower than sync ones, feel free to disregard it. It's using a flawed benchmarking setup and draws bad conclusions from it. 1/4
1
There is currently an interesting ongoing discussion about public statements made by the Python Software Foundation. Especially for anyone who is a PSF voting member (supporting, managing, contributing, or fellow), I would recommend checking it out: discuss.python.org/t/the-psf….
2
3
It's often forgotten that contributing to Python is an almost entirely voluntarily endeavor, with some core devs using their paid open source hours from the company they work at. If you're waiting on a response to an issue or PR reviews, please keep this in mind.
It doesn't mean it's not a good idea. It doesn't mean we don't care. It just means that we do this as volunteers with limited capacity. Your solution to make us do even more work and accept a faster rate of change from external contributors is sadly unrealistic.
8
31
I just finished merging asyncio.to_thread() yesterday! It's effectively a high-level version of loop.run_in_executor(), for running non-async IO-bound functions in a separate thread to avoid blocking the event loop. See github.com/python/cpython/pu….
1
5
2
38
Huge thanks to @1st1, @andrew_svetlov, @cjerdonek @methane for the code reviews, and to @llanga for still including it in 3.9. :-)
1
6
Very interesting, I wasn't aware of git switch or the ability to specify a date. Based on the git-scm docs, it looks like it's a relatively new command that's still in the experimental stage (added last year in version 2.23, along with git restore).
Make a git branch starting from a date in the past: git switch -c nedbat/december master@{“2019-12-12”}
The Python Language Summit was a very exciting and unique experience that I was glad to be a part of for the first time. Although a remote summit was not quite the same as in person one, @mariatta and @llanga did a fantastic job of hosting it!
"Group photo" of the first day of the Python Language Summit. It was a new experience for me: meeting with 50 people with video. The text chat and questions on slido.com went well. The difficult part for me was to not fall asleep the second day (1:00am to 5:00am)!
1
14