Emily Morehouse: Becoming a CPython Core Dev, the Walrus Operator and Chairing PyCon
Mia Bajić talks with Emily Morehouse about becoming a CPython core developer, implementing the walrus operator and chairing PyCon US.
Emily Morehouse is a CPython core developer, former Python Steering Council member, PSF Fellow, and co-founder and director of engineering at Cuttlesoft. She holds degrees in theater, computer science and criminology. After Guido van Rossum said at a Python conference that he wanted more women in CPython core development, she emailed him, and he mentored her. She implemented the walrus operator (:=), one of the most controversial features in Python's history and one of the events that led Guido van Rossum to step down as BDFL. She chaired PyCon US for three years, two of which were held online during the pandemic.
About the guest
Emily Morehouse
CPython core developer, former Python Steering Council member, PSF Fellow, and co-founder and director of engineering at Cuttlesoft. Implemented the walrus operator and chaired PyCon US for three years.
Chapters
- 0:00 Episode highlights
- 0:26 Introduction
- 1:02 "If someone told you 10 years ago you'd be a core developer…"
- 1:47 Three degrees: theater, CS, and criminology
- 1:54 Journey into core development
- 2:43 Guido's call for female core developers
- 3:08 "My husband was elbowing me in the side"
- 3:20 What were you afraid of?
- 3:57 She emailed Guido — and he said yes
- 4:34 First language summit: realizing experts are human
- 5:08 What it's actually like to be mentored by Guido
- 5:43 The async Friday ritual with Guido and Eric Snow
- 6:22 Why there's no low-hanging fruit in CPython
- 7:10 Implementing the Walrus operator (:=)
- 8:27 Support from the core developer community
- 8:32 How to inspire more people into core development
- 9:38 People still reach out years later
- 10:04 Chairing PyCon US through a pandemic
- 11:05 What community work teaches you about leadership
- 12:54 How parenthood changed her relationship with open source
- 13:59 Practical first steps to contribute to CPython
- 14:56 Outro
Links & Resources
Full Transcript
Really interesting point in my career where I had finished my undergraduate studies. I was getting really into language design and compilers. My now husband at the time, and he's like elbowing me in the side, like, you should do it, you should do it. Many people still say this to me, like I gave some of these talks about my journey in core development years ago. Hi, everyone, and welcome to another episode of Behind the Commit.
Have you ever wondered what it takes to go from picking up Python as a college hobby to being personally mentored by Guido van Rossum and ultimately implementing one of the most controversial features in Python history? In this episode, I had the chance of Emily Morehouse. Emily is a CPython core developer, a former member of the Python Steering Council, ESF fellow, and the co-founder and director of Engineering at Apple Soft Development Agency. She holds three degrees from Florida State University in computer science, theater, and criminology, and got started in Python just because it was more fun than C++. If someone had told you 10 or 15 years ago that you would become a core developer, how would you react?
I would be shocked. Yeah, I don't think that I would have even thought that that was a possibility or really even like known what that would have meant at the time. I actually got started programming in college, and my first courses that I took were actually in C++. Like that's what the university curriculum was taught in. And I sort of picked up Python just as a hobby and something that was much easier to build cool things with than, you know, compared to C++.
And I don't think that I even like registered at the time that there was a group of people developing that language that I would ultimately fall in love with and could participate in. What did you study? Interesting question. I actually have three degrees. So I studied theater, computer science, and criminology.
And what was your journey into core development? And it's kind of, it is kind of a long story, so I'll try to keep it short. But I had been attending like a couple of Python conferences in like 2014 or so. And I was at this really interesting point in my career where I had finished my undergraduate studies. I was getting really into language design and compilers and was kind of at this fork in the road of going to grad school or moving to Silicon Valley and like taking a job or starting a company.
And I wound up dropping out of grad school, the little bit that I did, and started this company. We really like got involved in the Python community. It became like a really big driving force for us. And so through that involvement, it was actually at one of those conferences that Guido, during a keynote, said that he wanted more women core developers. They didn't have any female core developers at that time.
He offered to personally mentor anyone who was interested. And it was around 2016 or 17, something like that, right? Yeah, I think it was like 2015 that he first made the announcement and then 2016 that he hadn't seen anybody come forth. And that's when he offered to like personally mentor people. So I just remember looking at my now husband at the time and he's like elbowing me in the side like, you should do it, you should do it.
And I'm like deer in the headlights, like terrified. What was your first thought? What were you afraid of? I think that especially then Guido is very much a figurehead in the community and a little bit like godlike, right? Like this person that created this language and brought us all together.
It was just very intimidating to talk to him, especially being like as early in my career as I was. I just felt like I really looked up to him and was a bit intimidated in that sense that I didn't really know what it was that I could offer to somebody like that. Right. So he made an announcement and said that we are searching for more core developers. And what did you do?
I emailed him. I took him up on it. I think one of the first things he did was invited me to the language summit that they have at PyCon US. I think I was one of the first folks that, you know, was in that room and wasn't necessarily a core developer and just kind of like dove in headfirst. And then he did.
I mean, he did start mentoring me. I would meet with him every few weeks and we would just kind of like work on different problems. And he would kind of help me find the right thing to work on that really got my attention. And I think that's the hardest thing about getting started is like finding where to start and what's going to interest you. So. So.
And how did you feel for the first time when you went there and you saw lots of core developers? Did you feel like I do belong here? What do I do here? I don't know anything. Yeah.
I mean, I think that there's a part of that. I think that it becomes a little bit less intimidating when you realize how much you can understand or how much you can learn quickly and how much people are willing to explain things to you. I do also remember just feeling like really cool. Like I got to be in the room and I think that was just like an incredible feeling. And how did you feel being mentored by Guido personally?
Yeah, I think that it really kind of stripped away the pretense, right? Like the intimidation and all of that stuff because he was so welcoming and like was always the first one to say he didn't know something. And would really just be like, hey, let's figure it out together. Like, I don't remember how this old piece of code works in the parser. Like, let's sit down and walk through it together.
And I was like, oh, man, like he doesn't know everything. Like I can learn from his processes and he can like help work through it with me instead of just feeling like he had to, you know, spoon feed everything. And how did the onboarding look like? Was it done async remotely or you had it in person? Yeah, it was all async.
I think this was back when he was working at Dropbox. So I remember we would just do, you know, weekly or biweekly video calls just on Fridays. And that kind of became my little like open source ritual to a certain extent, whether I was working with Guido or I was working on things on my own. Or I had one other mentor named Eric Snow who really helped me out a lot in the beginning. And that was kind of like my sacred open source time where I'd go book a conference room back when we were actually in offices.
Kind of hunker down. Yeah. And what were some of the first features you worked on? Did you start with bad fixes, documentation or features? Like what is a good way how to get started?
Yeah. So I remember I picked up a couple of bug fixes. But I think that this is one of, again, it's so hard to find where to get started. Because there are so many possibilities. So many possibilities.
And also the language is very bold, but also very well known. So a lot of the bugs that you'd find are either very easy bugs that, you know, quickly get fixed by somebody who's just like available and ready. And so when you're a newcomer and you start going through like the backlog of tickets, you're like, oh, man, like there's a reason why somebody else didn't pick up this ticket. And now you have this like puzzle. Yeah.
I did that at first. And then the big thing that I was able to do was implement the walrus operator. You can edit that one. It is a very controversial feature, right? It is very controversial.
The pep itself really just like broke a lot of things in the community, broke a lot of things for Guido. And that was ultimately one of the things that caused him to step down as BDFL. But for me, it was just like the perfect thing where I was really looking for something that had a lot more depth to it to really sink my teeth in. I was obviously very interested in like the language design side of it. So getting in there and messing with the tokenizer and the parser and adding new syntax to the language was just like the absolute perfect fit for me and was probably the most exciting thing that I've done in Python.
Did you also feel supported by other core developers? Because you mentioned that you were working a lot with Guido. Are there any other people that you work with or you mostly work with Guido only? Yeah, I think that Guido worked with me directly on that work. I always felt very supported by other core developers.
They were always very welcoming. Actually, for a certain period of time, Eric Snow and I would have these sort of like virtual working sessions like pre-pandemic. So this was kind of like an interesting thing that probably most people weren't thinking about doing. But yeah, he and I would like jump on a call and kind of use each other to walk through problems when we had it or kind of like rubber duck. So he was definitely a person that was like there with me through all of that.
And how can you inspire more people, especially women, to get into core development? Lots of people feel very overwhelmed. They feel like there are no low-hanging fruits because it's a language that's been around for many years. They also feel like all those people working on the core language, they all have to be experts in the field. They have to know everything.
But that's not the case. As you said, how can we inspire more people and to show them that actually it's not as bad as they think it is? Yeah, absolutely. I mean, I think that doing more like working in public is always really great. And the more people who speak about their experiences and how they got started, I think that there's also a lot of people who really want to help people.
So going to conferences and getting involved in the sprints and like meeting people, I think just brings so much more color to it, right? Like when you have actually met somebody in person and can then associate a person with a GitHub username or something, you kind of know who you can reach out to and look to for support. And have you ever got feedback from anyone that they, for example, find your work very inspiring or that they saw something and they decided also to start contributing? Yeah, actually. I mean, you certainly sent me that's like very sweet email a couple of months ago that was very touching.
But yeah, I'm actually, I'm very surprised at how many people still say this to me. Like I gave some of these talks about my journey in core development years ago, right? And I'm always a bit taken aback that it mattered and had that much of an impact. And except of the core development, you were also the chair of PyCon US for two years and you're also a member of the steering council. How have those influenced your career?
Yeah, definitely. Actually, I wound up chairing PyCon US for three years because I was the chair when the pandemic hit and we had to move everything online. So we did two years of online and then I stuck around for a third year to be able to like actually see it come to fruition in person. But I think that for me, I don't know that it's had as direct an impact on my career. I've been running the same company that I have been since I dropped out of college to start it.
But I think that it's really given me the right perspective to be confident in my skills and to figure things out and to have a strong leadership presence and to really just sort of like lean into that as a path that I could take. And then certainly the network of people and just the friends that I've made along the way, I think, have been the biggest. You know, there's some skills that you develop through your community work. So you mentioned leadership because you work with a large number of people. Are there any more other skills or other, for example, surprising things that you learn just by working in the community?
I mean, community leadership and organization is hard. It takes a lot to get people on board and to keep people invested and motivated and to kind of make sure that you have the right support. And I see a lot of parallels in leading, you know, client projects in our consultancy. You're like leading a team and finding ways to really bring people together and collaborate, I think is the biggest thing. Most people organizing PyCon are volunteers, right?
So that's another challenge to keep people motivated when there is no monetary incentives. Absolutely. But I mean, I think that's the biggest driving force behind Python is its community and how invested people are. And what motivated you to chair PyCon? Or to run for the steering council, for example?
Yeah. So I actually had not thought about chairing PyCon US. I was invited to. And I remember having the conversation with E, who was the previous conference chair before me, being like, man, I don't know what my life is going to look like in like four or five years. Because I was I chaired a co-chaired for a couple of years and then ultimately chaired in.
It's funny looking back on that conversation, because how could I have known what was coming? Right. Like we had the pandemic. I had a kid. No one.
Like I had no idea. But I think that my biggest driving force behind doing it was knowing how impactful it had been on my career and how important that community was to me. Being able to continue to be the voice of that community and bringing people together was an honor. That's nice to hear. So you mentioned that you have a kid.
How has parenthood impacted your career or the way you think about the open source community or work in general? Yeah, it has definitely like significantly cut down on free time and has also really just kind of reprioritized the way that I want to spend my time. I would much, much rather spend my weekends and my evenings actually hanging out with my daughter and engaging with her and spending that time while she's young. And I know that it's fleeting. And I know that one day I'll have more evenings and weekends to come back to the things that used to fill my time.
But I think it also has been just really cool to have all these like friends over the years where we now come to these conferences. We catch up and either I show pictures of my kids to them or it's really cool to be at EuroPython where they actually have child care and I could bring her really easily and get people who I have known and loved for so long to actually like meet my daughter in person. It's just super cool. And how to get involved with core development. So I would like to contribute either to documentation or to the code base, for example.
What are the best first steps? Yeah. So everyone sort of points you to like the dev guide online. There's a ton of resources and how to get started. Whether it's editing documentation or, you know, getting CPython built and running locally on your machine.
But I would really recommend if you have the opportunity to meet people in person, go to an event and just tell people what you're interested in and find folks that are working in that area. And tell them that you're looking for a mentor. And that's really like the best first step is to have somebody that can kind of take you under their wing and lead you through the process. Ultimately, that's like you need to have somebody who's sort of like mentoring you and sponsoring you to become a core developer anyways. And it's just nice to have that person to kind of depend on and keep you, you know, keep you on the right path.
Are you mentoring anyone? Can people contact you? I am not mentoring anyone currently. Definitely strapped on time these days. I would love to do that one day in the future.
But I know that there are tons of folks there is like a Discord channel. There's discourse. There's, you know, tons of different ways to reach people. Okay. Thank you for coming.
Thanks for having me.
Behind the Commit is a podcast hosted by Mia Bajić. All episodes.