Brought to you by Michael and Brian - take a Talk Python course or get Brian's pytest book


Transcript #110: Python Year in Review 2018 Edition

Return to episode page view on github
Recorded on Wednesday, Nov 21, 2018.

00:00 Hey folks, Michael here. Brian and I put together a special podcast episode for the top Python stories of 2018. We originally recorded this as a talk Python me episode. That's my other podcast.

00:11 Since it's a perfect match for what we do every week here on this show, Brian and I decided to share it with all of you for our end of year countdown on Python bites. We hope you enjoy the episode and thank you for making this show so successful in 2018. We promise we'll keep it Keep it going strong into 2019.

00:29 Brian, Dan, both of you, welcome back to Talk Python.

00:32 - Thank you.

00:33 - Hey, thanks, great to be back again.

00:34 - Yeah, it's great to have you back as always.

00:36 It's gonna be so much fun.

00:37 And it is time to look back on 2018.

00:40 Can you believe it's the end of 2018?

00:42 I just remembered how to write 2018 and not 2017 on all the stuff I have to sign.

00:47 - Yeah, it's gone by fast.

00:49 - It definitely has, it definitely has.

00:53 So it's good to have you back.

00:54 we're going to go through what the three of us have decided are some of the top stories in the Python space for 2018.

01:03 And I just wanna quickly throw out there for folks listening, this mostly does not include data science stories.

01:09 There's a little bit here and there, but it's mostly pure Python.

01:12 And the reason is I'm also doing a show on data science year in review.

01:16 So save those big stories for that one.

01:18 Don't wanna overlap.

01:20 All right, well, we're gonna start and do a top 10 countdown.

01:24 And we're gonna go from really interesting to the absolute big news at the end.

01:31 And you can see what story we have picked to be the number one story of 2018 for the Python space.

01:37 Let's do a little warmup here, and Dan, I'll let you kick this off.

01:40 What was our number 10 item?

01:42 - Sounds good, so our number 10 is the Python 3.7 release, and more specifically, the performance optimizations in there.

01:50 And I know you had a really good show on the podcast here with Anthony Shaw, where you guys talked about some of the changes in 3.7.

01:58 And I just thought that 3.7 should be on this list because it was a really, really good release.

02:04 You know, there's a lot of like free performance improvements.

02:06 It's always nice to see that.

02:07 And it's just been awesome to see Python 3 and see Python 3 specifically get so much love and that it's under active development and it's making this forward progress.

02:17 And I think it's also the release, or I think it was either 3.6 or 3.7, where Python 3 is now faster in all of the benchmarks than legacy Python, except for startup time.

02:29 So I thought, you know, that's kind of a nice milestone for Python 3.

02:33 - I think that's a huge milestone for Python 3.

02:35 I mean, this is sort of the year that the tide has turned for Python 3 in a big way.

02:41 I think it was starting to turn before, but really this year, I think that's one of the themes.

02:46 And this is a major aspect of it, right?

02:49 That Python 3 is now faster.

02:51 There were always these couple of reasons people say, I'm holding out to Python 2.

02:54 You guys with your fancy Python 3 and your new keywords can just go play because my code is faster and faster beats everything, right?

03:04 Well, maybe not.

03:05 - Yeah, well, I mean, faster never really beats everything.

03:07 It's faster development time too.

03:09 And when you have better data structures, you can sometimes develop faster.

03:13 However, you're right that a lot of people were holding out because of some of the speed.

03:18 And for some applications, that makes sense.

03:22 But yeah, I think 3.7 is definitely faster.

03:25 And the other thing is a lot of people had already, some people for some of their projects had already switched to Python 3.6.

03:33 And that was probably from 2.7 to 3.6 was not an easy switch.

03:38 Having a switch from 3.6 to 3.7 be like, oh, I don't have to do anything.

03:42 It's just better now.

03:44 That was a nice thing to have.

03:46 - Yeah, that's super nice.

03:47 And I think that's a really great point you raised, Brian, that careful what you're optimizing for, right?

03:52 Like if it was really all about speed, wouldn't we just be writing assembly code still?

03:57 You know? - Yeah.

03:58 - I bet somebody good at writing assembly could crush the performance of Python or a lot of C++, but they would release an app, a small app, every 10 years, and it would be buggy, right?

04:12 Like there's just, it's not the most important thing.

04:16 That's for sure.

04:17 - One of my favorite examples there is, what's this game called?

04:21 It's Rollercoaster Tycoon, which was written by one person in Win32x86 assembly.

04:28 It's like 100% assembly code.

04:31 And it's actually an amazing, amazing game.

04:35 And it just blows my mind.

04:37 Like everything was written in assembly language.

04:39 - Wow.

04:41 It probably runs totally smooth on a 286 or something, right?

04:45 Yeah, I think you needed a Pentium or something.

04:48 Pentium.

04:49 Now somebody's working on Python, going to need multi-core CPUs and whatnot to run at the same performance.

04:59 Yeah, who knows.

05:00 But another interesting thing that's coming out is more and more talk about actually compiling Python, which I think didn't make the list, but it's definitely something that came up.

05:10 Like mypyC, for example, and Cython and whatnot.

05:13 - Yeah, yeah.

05:14 - So if we're gonna release a new library or an awesome game like RollerCoaster Tycoon or something like that, and we were gonna do it in open source, probably the main full release after it's like totally stable and spent out for a year would be like 0.01 or 03, maybe an 03, like a 0.12, I don't know, something really, really small like that, right?

05:39 And that's been a theme that's gone through a lot of open source.

05:45 So I think I'd like to highlight a little bit of shift in just the versioning that seems to be happening around projects.

05:52 I wanna kick off this part of the conversation with talking about Mahmoud Hashemi's project called ZeroVer.

05:58 Brian, do you remember covering that on Python Bytes?

06:00 - Yeah, he released it like as an April Fool's thing, but it actually highlighted a lot of things about different projects that were zero after years.

06:11 - Yeah, so the idea is kind of like I was describing at the beginning, like so many projects just never even reach version 1.0.

06:19 And in some sense, it doesn't matter.

06:21 Is the version number smaller or bigger?

06:23 That tells you whether you have an older or new one, right?

06:26 So that's fine, but there's a lot of people, especially coming from the enterprise space or from the commercial software space that sees things like 0.20 and go, "Oh, that thing's like a super alpha.

06:38 We're gonna stay away from that until it reaches 1.0." And I think it has a tangible effect on turning off a certain category of folks, especially people who are maybe unfamiliar with open source and things like that.

06:51 - Yeah, I think definitely.

06:53 I mean, a lot of people do commercial software development and like I do, and the zero versions are almost always mean the API is in flux.

07:05 you can't trust it, you shouldn't program against it, because the developers can change their mind at any time.

07:11 And it isn't until the 1.0 version where we have a stable API that people can count on.

07:18 Yeah, and so I think a lot of people perceive it that way, right?

07:21 Yeah.

07:21 It's interesting to consider the version number as part of the user interface for an open source project, which makes absolute sense because of those effects where people are like, "Yeah, is this really ready to go here? Is this an early release or whatever?

07:37 I mean, I'm wondering if it's really going to have a big impact, you know, if people are moving to something like dating their releases, like just calling them 2018 dot something something and you sort of get the November release. But it's an interesting experiment for sure. I mean, it definitely looks a little bit nicer than, you know, having, I don't know, like somebody put Pandas here, which had like 83 releases and it's been running, or it's been active for eight years and it's sitting at 0.24 - .0.dev0. - .dev0.

08:06 (laughing)

08:08 - Nothing wrong with that, but I could see how it turned some people off.

08:11 - I don't know how dev0 means production, but to me that just says, "Dude, stay away from this. Don't ship this." - That's scary.

08:20 - Yeah, I think maybe the grandfather of 0Ver might be PuTTY, that little SSH tool you get for Windows because it doesn't come built in.

08:29 that'll trade app.

08:34 It's 20 years old and it's 0.7.

08:36 One concern that I have with moving to the date-based or year-based version numbers is how, if you have the semantic versions, you can do things like, "Okay, I want, give me all the minor patches for this package and all the security updates, but I don't want to jump to the next major version, which maybe has breaking changes in it." And I know that's not a perfect system generally, want to pin your packages.

08:55 But it's kind of nice to have the ability to do that.

08:57 And who knows what's going to happen in July 2018 or something?

09:02 19.

09:02 Yeah, absolutely.

09:03 So if you look at some of the tools that I know you use and I use, for example, I use pyup.io.

09:09 And you use something slightly different.

09:11 But they let you go to your requirements file or your pip file and say, I want you to keep this on the latest pin version possible with this constraint, where you could say 0.1.star or something like that.

09:23 Right?

09:23 - Right, yeah, but how would that work with date-based formats?

09:28 - Exactly, so let's dig into that a little bit.

09:30 So what are the two options?

09:32 I guess the two options are just to start shipping full versions, like Django is now Django 2.

09:38 And in Django 2, the main change from 1 to 2 is we're dropping Python 2 support, which is kind of ironic.

09:44 Maybe it should be Django 3, but whatever.

09:46 You know, it indicates a major change like you were saying there, right?

09:50 So one of the projects that's switching to calendar-based version is Sanic, right?

09:56 The Async Web Framework.

09:58 And what they're doing is they're trying to ship a version, a major release every quarter.

10:03 So they might be, you know, 2018.07.0, then .1, .2 for like incremental changes.

10:12 But they're also doing LTS releases around their calendar version.

10:17 So every December is an LTS version.

10:19 So 2018.12.0 and so on would be supported for a year and would be the LTS equivalent, the long-term support equivalent, if you don't wanna switch to something beyond that.

10:31 That's how that group is handling it.

10:33 - Interesting.

10:34 - Yeah.

10:35 - I kinda like that.

10:36 Then you can glance at a version and, I mean, if everybody sort of supports something like that, you can glance at all of your versions and go, oh, everything's within a year or so, so it's probably fine.

10:46 - Exactly, like, Brian, you know a lot about testing.

10:48 If I told you I'm using webtest.2.0.32, is that new?

10:53 Is it super old?

10:54 Is that a beta version?

10:56 Like, what is that, right?

10:57 You don't know.

10:58 But if I told you I was using webtest2019.1.0, like, oh, you must be testing the new one that's coming out.

11:05 Or something.

11:06 It just communicates it.

11:07 So Sanic is doing this.

11:09 pip is doing this.

11:10 And then you threw some others in there, Brian.

11:12 What are these?

11:12 I'm not familiar with them.

11:13 - There's some descriptions of calendar version and semantic versioning.

11:17 calvert.org and semvert.org.

11:19 - I love that those are domains.

11:20 (laughing)

11:22 - I think Mahmoud did at least one of them, maybe both.

11:25 - He has his knack for creating these little sites and these little projects that just pop out of nowhere.

11:30 - But one of the things I want to point out is I was talking with somebody about calendar versioning and that versus semantic versioning.

11:39 And one of the things is that the major number, whether it's two or three or it's date-based, often means you're not going to remove features.

11:49 So you promise not to break customer code within a major version.

11:54 The database says we're at least going to say it's safe for a year.

11:58 >> Yeah.

11:59 >> Whereas semantic versioning, a development team can go through major versions as fast as they want to, if they feel like breaking things fast.

12:06 >> That's true. When you get the feeling to switch the major version from two to three or three to four, you just do it, right?

12:13 Yeah, but it has impact.

12:15 So, yeah, I think there's some interest there.

12:18 So I think another thing that was really interesting about the calendar versioning that I learned talking to Adam Hopkins from the Sanic project was that there's this sense of you need to keep shipping, right?

12:30 Like if you have a calendar version and it's from last year and that's the latest version that sends a message in and of itself that this project is, is not getting a lot of activity.

12:41 Whereas without it, you know, you kind of got to be more deeply familiar with the project to understand its rate of improvement.

12:47 Yeah, I think even it'd be cool to have people, even if there's not really any changes needed, just to release it and say, hey, we tested it.

12:54 It's this is all been tested on the new versions and you're good to go.

12:58 We updated like the readme file or something.

13:00 Right. Well, there's almost always like some minor little thing that can be can be improved and shipped.

13:06 Right. Another story of 2018.

13:09 and maybe slightly before, but really was coming in strong in 2018 is Python's kind of popular.

13:15 Yeah, so Python's very popular. It's taking over the world. There was a neat Economist article that came out, and I guess that's just sort of related to the highlighting a trend. And the article was Python has brought computer programming to a vast new audience. But some of the things One of the things they point out within there is that right now, according to a Stack Overflow survey, 40% of professional developers use Python and another 25% wish they did, which is interesting.

13:50 Just go do it, man.

13:52 Also, they interviewed Codecademy, which is an online training site, and their biggest increase in demand for 2018 is with Python.

14:01 Yeah, that doesn't surprise me.

14:03 I mean, you think about a very fast-growing technology that also has a lot of career possibilities, definitely people are gonna be wanting to learn that, right?

14:12 So if you go to somewhere like Code Academy or any other online training place, like, there's gonna be, unless they're doing something wrong there should be a lot of demand for Python.

14:20 - They noted that since 2014, at least from a survey in 2014, Python was the most popular intro language at American universities, but that was amongst people studying sciences or computer science or something, engineering.

14:35 But what we're seeing now in 2018 is the growing movement of people that are not traditionally think of themselves as programmers primarily learning Python.

14:46 And we'll see that in data sciences, embedded development is now moving towards Python in a lot of maker senses.

14:54 And then also, the article also pointed out that more and more people are just sort of worried that all jobs will be taken over by automation.

15:02 So they want to be part of that.

15:03 So in order to learn some automation on your own, Python is a good way to be part of that.

15:08 You either control the robots or you get replaced by the robots, take your pick, right?

15:12 Yes, exactly.

15:14 Yeah, also to throw in there, I saw this on Nina Sakarenko's Twitter feed recently.

15:20 So Python is becoming or has been nominated as the official programming language for education in France.

15:25 So I think it's going to be part of the high school curriculum there, which is--

15:30 that's super cool.

15:31 I think we're seeing the snowball effect, where people-- it's really becoming the dominating language for beginners and educational language.

15:37 And I think that's super cool.

15:39 That is so cool.

15:39 And when I saw that on Nina's post as well, I'm like, oh, that is amazing.

15:44 And you know, I've been thinking a lot about this.

15:46 Why is Python both popular as a teaching language and popular as a professional programming language?

15:53 like C++ is popular as a professional programming language, but they don't suggest that kids start with it, right?

15:59 Things like this.

16:01 I think there's this special balance that when the language was created, it has this way to get started easily and to pull in just the aspects that you want, right?

16:11 So you can start out with not even functions, and then like, okay, I need some structure, I'm gonna put some functions in here.

16:16 Oh, let's start working with classes and things like generators, But none of that-- you don't have to understand or use or care about that until you're ready.

16:25 So Python has a special ability to start easy and small, but expand into professional type of apps.

16:31 Whereas a lot of them are either you're always a beginner type of language, or you're always like, yeah, that's a void star star, kids.

16:38 Let's talk about that.

16:39 Totally.

16:41 Actually, Mike, I think you called it a full spectrum language way back when we did an interview on my blog with you.

16:49 And that just really stuck with me, because I think that's so true.

16:53 It's not like you're learning the little turtle logo or something like that, where it's like you learn the basics of programming, then you're sort of stuck and you have to move on and learn something else.

17:02 But no, all the skills you learn working with Python, they kind of scale and grow with you.

17:07 And that's just a beautiful thing.

17:08 - It's special.

17:09 There's not many other languages like that.

17:11 - What a time to be alive.

17:12 - It really is an amazing time to be alive.

17:14 Before we go to the next one, let me just tell you all about DigitalOcean.

17:21 They're doing all sorts of cool stuff.

17:22 Our infrastructure runs on it.

17:24 Really, really nice and reliable.

17:26 One of the things I want to highlight this time is their work with Kubernetes, Docker, and coordinating Docker, orchestrating Docker stuff with Kubernetes is a big deal these days.

17:35 And so they're launching a new Kubernetes cluster over at DigitalOcean.

17:41 So a really nice way to manage and deploy your container workloads in the cloud.

17:45 And if you go to pythonbytes.fm/digitalocean and you're a new user, you get $100 credit to Kubernetes all the way, if you want.

17:54 You can run a lot of Kubernetes for 100 bucks in the cloud.

17:56 So that's pretty awesome.

17:57 - That's, yeah, very cool.

17:59 - Yeah, so check them out, pythonbytes.fm/digitalocean.

18:01 They're big supporters of the show, and they keep us going strong each week, don't they?

18:05 - Yeah, I'm very grateful for them.

18:06 - Yep.

18:07 Brian, you touched on that a lot of the growth of Python was centered around people who are using Python as a tool, maybe not as their identity, right?

18:18 like Python developers, like, "Oh, I'm a Python developer," but other people are just using Python, maybe for data science or things like that.

18:25 And so number seven in our list is that, I'm gonna declare 2018 as the year that the number of data scientists have come to equal the number of web developers in Python, for professional Python developers, or users, let's say.

18:42 - Okay, you're gonna have to back that up a little bit.

18:44 - All right, so there was a really cool survey done by the PSF in conjunction with JetBrains.

18:51 So JetBrains did the infrastructure for sort of analyzing it and hosting it and so on, but it was promoted just through the PSF and other public sources.

19:01 So it's not like tied to JetBrains, but they did this really great survey and it's called the Python Developer Survey 2017, which might sound like I'm wrong in my year and sort of I am, but this is at the very end.

19:11 This is like November, December, or something like that of 2017.

19:16 And so it's pretty much there.

19:18 And they did a bunch of interesting, they asked a bunch of interesting questions and they found out a lot of things.

19:23 Like for example, four out of five Python developers use Python as their main language.

19:28 So when you see people are using Python, mostly they're using that as their main language.

19:33 It's not like, well, I write in C, but I also have this script that like compiles it in Python or some weird thing like that.

19:39 Right?

19:40 So the majority of people using Python use it as their main language.

19:43 And that's, that's pretty interesting.

19:45 But the thing that I want to point out is they said, for, you know, what do you use Python for?

19:52 And if you pick where Python is main versus where Python is secondary, you get slightly different answers.

19:58 But generally it says for data analysis and data science, 50% of the people use it for that and 49% of the people use it for web development.

20:08 And then there's a whole bunch of other areas that like, you know, it's a multiple answer type of thing.

20:13 So they've also checked those off.

20:15 But in this survey, basically they said 50% of the people said data analysis 49, web development.

20:21 Does that surprise you guys?

20:22 >> No, not really.

20:23 >> [LAUGH] >> I think it surprised me.

20:26 I know there's a lot of data scientists.

20:28 I feel like on a web development team, there's more participants than on a data analysis team.

20:36 I feel like data analysis is often done by a smaller group of people than like the 30 people that maintain the website or whatever, right?

20:42 That was my conception.

20:43 I don't know if that's accurate, but apparently no.

20:48 Either there's even more data scientists than I guess, or there's larger teams of data scientists and smaller teams of web developers.

20:55 So this is all interesting.

20:57 Another thing that I thought was pretty interesting around this is they asked people to guess that ratio in this survey.

21:05 And they gave them like five choices, four choices, something like that.

21:09 And they said, "What do you think the ratio is?

21:11 times the number of web developers to every data scientist, one to one, maybe worse, like 10 to one, I can't remember.

21:19 But when they asked that question to the group, half of whom were data scientists and half of whom were web developers based on the original question, the responses they got was only 10% of the people got it right, 20%.

21:33 And most thought that it was five to one, five times web developers to one data scientist.

21:41 So I think the general perception is there's more stuff happening on the web around Python than there are data scientists.

21:47 But I think also what the most surprising thing to me when I saw that result was half of the people that answered that question were data scientists, you know?

21:56 And so to me, my interpretation is that means that a lot of the data scientists feel like they're not as big of a representative group of the community as they are.

22:06 They feel like, oh, we're like 20% of the community, but in fact, they're like half.

22:10 And I don't know why that is, but I think it's interesting.

22:12 It is interesting.

22:13 Well, there's definitely like a, if you look at the hype around different packages, for instance, there's more packages that are web related than there are data science related.

22:25 Mostly I think because a lot of the data science tools have been bundled into these large groups of tools, even though...

22:31 Right, like Scikit.

22:32 Yeah.

22:33 Yeah.

22:34 So they have like a common set of things that they work.

22:37 Data scientists like to all use a handful of different tool chains, whereas web developers like to go off and create their own asynchronous library.

22:46 Yeah, everyone's got their own library to match their new JavaScript library.

22:50 I wonder if the Anaconda distribution and things like that also play into that feeling.

22:55 You just install it and you just have the tools.

22:57 You don't necessarily go and hunt for every little library as much.

23:01 This sort of reminds me of, who coined that term, Scott Hanselman, I think?

23:05 I think?

23:05 The concept of the dark matter developer?

23:07 Yes, I was thinking that too.

23:09 Yeah, yeah.

23:09 I think you actually told me about it.

23:11 So I guess the idea is that there's a large segment of the programming population, or people who program for-- even for a living sometimes--

23:20 that are just not visible in the community.

23:23 They get their work done, and it's just not-- maybe they don't identify as a programmer, or it's not just something-- it's just not something that they do publicly, or have like side projects, and stuff like that.

23:34 - What's wrong with that?

23:35 - Yeah, and most people, they don't go to conferences or go on social media and go crazy about their job.

23:41 Like if I was a barista, nothing wrong with that, but I probably wouldn't go to barista conferences and go to barista meetups and talk about being a barista on social media very much, right?

23:51 Like it just--

23:52 - Start a podcast about barista things.

23:53 - Yeah, you actually write some awesome stories if you did that.

23:56 - Make coffee for me.

23:57 (laughing)

24:00 - Hey, anyone out there listening, go for it.

24:02 That's all you.

24:03 - I'm gonna get that though. - I would listen to that.

24:04 I think there's a lot, a huge number of companies that have one data scientist or data analyst in their company, and so they feel outnumbered because they're the only one in their company.

24:16 Or there's like, the ratio is very much skewed within their company, but they're kind of all over the place.

24:22 - Yeah, yeah, I totally agree.

24:23 And I do think there's a little bit of this dark matter stuff possibly happening here.

24:27 Maybe you're not allowed to talk about your analysis that you're doing, so you just don't.

24:31 Maybe you've backed into becoming this data scientist, business sort of analyst type person.

24:37 You started out as like a trader, and then you kind of were the person that had enough code to figure out how to do the overall reporting and analysis and whatnot.

24:46 And you still don't think of yourself as a developer, but you effectively are, right?

24:50 So I don't know.

24:51 I think there's a lot of interesting angles here.

24:53 - Yeah, also I was just thinking, a lot more secrecy maybe in those areas.

24:58 If you're working on some state of the art machine learning thing, I don't know, self-driving cars or whatever, maybe you don't necessarily want to go out there and share with the world what you just did.

25:07 Whereas in the web development work, I feel like we're sort of--

25:10 we figured most of it out.

25:12 And so people are more willing, I think, to share what they're working on.

25:16 At least that's the impression I got.

25:18 And often it's-- yeah, I agree.

25:19 And it's on the web already.

25:21 Whereas if you're working on the Apple self-driving car, you can't even acknowledge its existence.

25:25 You're like working for the CIA.

25:27 Yeah, I work for the State Department.

25:29 So anyway, if you want to dig into more of this, I had Eva Jelowowska and Dmitry Filipov on, they're the two folks who did this and they printed it in a PyCon, so on Talk Python 176.

25:43 Item number six, Brian, what do we got?

25:46 We have a darkening of the community. This is a very dark topic.

25:50 It is a little dark, but kind of in a good way.

25:53 Black is taking over. Black is, there's, and not in a bad way. So the project Black is a code formatter that just sort of formats all your code for you. And, and it like Pepe and some of those Flake 8 and stuff tools were to tell you where places where you might want to look at your code and change it. Whereas Black is, yeah, I'm not, I can tell you if you want me to tell you, but I'll just go ahead and change it.

26:19 That's awesome.

26:20 sort of taking, there's a lot of projects around the web or around Python that are picking it up and using it as their standard.

26:28 And I think it's been definitely very interesting in 2018 watching this happen.

26:33 I love that tool.

26:34 So it's so good, like especially if you, if it's a community project, you're working on a project with several developers, and it's just so easy to standardize everything, and you don't have to have the back and forth conversations of defining your own code style.

26:47 And I mean, assuming you like the output that Black produces, which I personally really like, and it's, it's been super helpful for real Python.

26:55 We have like an materials repository with some sample projects.

26:58 So like every single folder in there was created by a different person, by different author.

27:03 And so I went down that, that route of like, okay, we're going to define like a beautiful code style and then tell people how to format everything and make sure it's sort of adhere to.

27:10 And that's really, really hard to do.

27:12 And so I just ran black on the whole thing, set it up on CI.

27:15 So it'll check the formatting.

27:17 Problem solved.

27:18 And it took 15, 20 minutes to do that.

27:21 So, yeah.

27:22 But what a lifesaver. Such a great tool.

27:24 So a couple of things about it.

27:25 It's taken, it's one of the things that takes things like style and format and stuff like that and takes those out of code reviews.

27:32 And so code reviews can just be focused on algorithm and design and not on whether you use single quotes or double quotes or something.

27:41 The other thing is Black shows an example.

27:44 it has part of it is a pre-commit hook so that you can add a black pre-commit hook to your code.

27:50 So everybody just as they're checking it in will have black run on their code.

27:56 And that highlighted the pre-commit tool for me.

27:59 And I think pre-commit is being used more and more because of black using it.

28:02 Yeah, I've heard that more than once. That's pretty awesome.

28:05 You're like, wait, what's a pre-commit hook? That thing exists in Git?

28:08 Yeah, definitely.

28:10 Nice.

28:11 I like the slogan, you can have it in any color you like, as long as you want it in black.

28:16 Yeah, I didn't know that that was from Henry Ford until somebody told me about Henry Ford saying that about the Model T.

28:21 Does it have a theme song, or what's going on here?

28:23 Oh, well, every time I use black, I hear Black Hole Sun from Soundgarden.

28:28 So I went ahead and just mentioned that in the R notes.

28:31 Black Hole Sun is--

28:32 Soundgarden was such a good band.

28:34 They really came from a special era of music.

28:36 Like we had them, Pearl Jam, Alice in Chains, Dinosaur Jr., like there's a lot of good stuff back there.

28:42 But this is the only one that seems to be making it to a Python package, so way to go.

28:46 (Dan laughs)

28:48 All right, Dan, for item number five, I feel like for a really long time it was like, well, pypi.python.org/pypi is a little bit out of date and a little bit crummy, but we're working on it and it just, it seemed to be in this like stasis of like half improved forever, but not anymore, right?

29:08 - Yeah, the new PyPI, new Python packaging index went live this year and what an amazing improvement.

29:15 I mean, like, you know, throughout the whole project and I know you had a really, really great show where you interviewed, you know, a bunch of people working on that transition and launching the new and improved PyPI and it's just crazy, you know, like throughout the whole thing, it's been like rewritten from the ground up the way I understand it.

29:30 It's new hosting infrastructure And it's much more friendly now for new contributors.

29:35 Beforehand, I think it was sort of like a home-grown web framework, because, well, it was that old IPO was created before web frameworks really were a thing in Python.

29:45 Here's the socket.

29:46 Let's start with that.

29:47 Like, wait, wait, wait, wait.

29:48 What?

29:50 And so, yeah, I just love it.

29:52 Every time I'm searching for a package now, it just looks so much better.

29:55 It looks good.

29:58 when you compare it with JavaScript, like the Node.js world and NPM, I felt like, yeah, that was the gold standard for a while for what an online package repository should look like and the features it should have.

30:10 And I feel like PyPI is now playing in that league.

30:13 And it's super nice.

30:15 - I think it is super nice as well.

30:16 And it's silly to say that it matters that it looks good because it's just pip install a thing.

30:22 But I think it really communicates a message to people who come into Python or are using Python, but especially people who are new and they're like, oh, what is this stuff?

30:31 Oh, there's a package injection.

30:32 Like, whoa, that thing is like from the 90s.

30:34 What is that, right?

30:35 Like that, I mean, that communicates something about how much the community cares for, for that kind of stuff, right?

30:42 - Yeah, they also rolled that over with like everybody in the world using it and very little hiccups.

30:48 - Yeah, it definitely is.

30:50 - Really impressive.

30:50 - Yeah, it's super impressive.

30:51 So a couple of interesting notes here.

30:53 When they rolled it out first, it was pypi.io.

30:57 And I thought, oh, they're just being part of this hip new .io.

31:00 You know, it's like the .ly of yesteryear, you know?

31:05 It's like Libya all of a sudden became a super awesome place to have your domain name because it had ly in the end.

31:12 And so io, right, is super popular now.

31:14 But now it's pypi.org.

31:16 And the story is the pypi.org was owned by somebody else.

31:21 And it took a long time for the PSF to get it from them.

31:24 whereas they could go and buy pypi.io.

31:27 So that was like an intermediate step in the whole rollout.

31:30 - Yeah, some of the nasty details of web development.

31:34 - Exactly.

31:35 And then the other one is, this is a pretty interesting example of a popular Pyramid web app, right?

31:40 They started out in Flask and actually said, no, we'd rather go with Pyramid, which I thought was a pretty interesting choice, being a fan of Pyramid myself.

31:48 And then Brian, finally Markdown, right?

31:50 - Yeah, so the old PyPI did not support Readme, It would only was readme.rsl or something.

31:58 Yeah, rst.

32:00 Yeah, rst.

32:02 So I try to avoid restructured text as much as I can.

32:05 No offense to everybody that loves it.

32:07 I do.

32:08 It's like Markdown, but it's broken.

32:10 The stuff you put in there doesn't quite work.

32:13 Just kidding.

32:14 Don't comment.

32:15 Just kidding.

32:16 I'm just saying that Markdown stuff doesn't always work in there.

32:20 All right, number four, item number four, Brian, what we got?

32:23 You touched on this a little bit before.

32:25 Yeah, I think it's been fun to watch.

32:27 It was unexpected, the rise of Python in the embedded world.

32:31 We actually did a segment on this in on Python bytes, but there's so many in partly from the maker movement and and a lot of people trying to get into controlling their not just their computers, but their world with the Internet of Things and also just playing with, you know, adding lights to your bicycle and things like that with microcontrollers and hardware hacking.

32:52 Adafruit's been a big part of that, of pushing it, but there's a lot of projects around Python and embedded.

32:59 MicroPython is one of those, and MicroPython's being used by both hobbyists and serious developers.

33:08 Hobbyists are serious developers too, but I think some companies are using MicroPython as well.

33:13 Adafruit has its own version of this called CircuitPython.

33:16 Actually, I don't know if it's related to MicroPython or not, but it is for the CircuitPython.

33:22 And then MicroBit is a Python base for the MicroBit processor.

33:28 And then we even have Mew, which is an editor that directly interacts with microcontrollers running Python.

33:36 It's been pretty fun to watch this year.

33:38 I really think the rights of IoT and Python is just taking root now.

33:43 And MicroPython is so interesting to me.

33:46 I mean, the fact that I can take a Lambda expression and tie it to a hardware interrupt just like never ceases to amaze me, you know?

33:53 - Yeah, that's really cool.

33:55 And so, and a lot of this is because somebody wants to learn electronics or something, but they also wanna make it do things.

34:01 So you have to learn a programming language.

34:02 And it used to be we taught people C.

34:06 And like the barrier to entry for C is huge.

34:09 Having Python be able to do that is wonderful.

34:12 - Yeah, it is.

34:13 So you talk of the IoT stuff.

34:15 I learned of something from Matt McKay recently on an episode.

34:18 And I want to share this with you and just see what you think.

34:21 So you guys, click on this link here.

34:23 So here's an IoT device using Python.

34:27 And the idea is-- the title of the article, this is on the Twilio blog, it's how I potty train my kids using Twilio in an AWS IoT button.

34:37 So it's a little button like those Amazon Dash buttons.

34:40 And he put it near his son's bed.

34:43 And apparently there are kids sharing the room.

34:44 I wanted to make sure he didn't wake up and make a lot of noise and wake up the other kids.

34:48 So he put this button that basically has a poop emoji.

34:51 And you click it, and it says, I gotta go.

34:54 And the parents would come in and help out the kid while he was learning.

34:57 And this is written using the Python API on AWS Lambda and stuff like that.

35:02 So yeah, the rise of Python in IoT.

35:04 So Q4, 10 years, and his kids are like, dad, did you have to put that on the internet?

35:11 This is awesome.

35:12 I love it.

35:12 Exactly.

35:14 - Yeah. - This is great.

35:15 - Isn't this funny?

35:16 So yeah, I mean funny and like and amusing, but also like actually that's kind of helpful.

35:21 Like I can see how that would be helpful as a parent.

35:24 'Cause you definitely don't want your kids waking up and you have to be up for a few hours in the middle of the night.

35:28 So if an IoT button can help that, then get the IoT button.

35:32 All right, item number three.

35:34 And it's packed full of goodness here, you guys.

35:37 So legacy Python's days are fading.

35:40 What do you think?

35:41 (laughing)

35:42 - Well, I haven't used it for ages.

35:43 So--

35:45 - Yeah, I haven't either.

35:46 Dan, is real Python running on like what, 2.6?

35:50 - Yeah, not a lot of legacy Python for me anymore, thankfully.

35:54 - That's awesome.

35:55 - Yeah, I mean, it's kind of crazy that it's, you know, it's sort of crap on us, the Python 2 end of life, and now we're not that far away anymore from it, so.

36:03 - Yeah, we're actually super close.

36:05 And the official item that I'm linking to as this piece of news is Guido van Rossum's official statement.

36:12 So I don't know, four years ago or something.

36:15 I said, yeah, Python 2, it'll be done in 2020.

36:20 Whatever, right?

36:21 Like that's like a broad range for a period where things stops a whole year.

36:25 So we needed a more clear date.

36:27 People were speculating maybe the date of PyCon might be a cool one, maybe the end, maybe the beginning.

36:32 So he came out and said, let's not play games with semantics.

36:35 The way I see it for the situation for Python 2.7 is that end of life is January 1st, 2020.

36:41 there will be no updates, not even source only security patches after that date, period.

36:46 That sounds like the end.

36:47 Yeah, it's a good end though, because the, and some people might complain about the whole security patches, but this is volunteer driven.

36:53 So it's volunteers time.

36:55 And I think that to let them work on new things is good.

36:58 Yeah, absolutely.

36:59 And it's not like people are surprised, right?

37:02 It's not like, wait, last month, they didn't nobody told us there's going to be a new Python like it's been going on for 10 years.

37:10 to make it 12. It's time.

37:12 Yeah. And there's a couple of loudmouths that two podcasts that have been talking about it for a couple of years.

37:17 So yeah, I think we're actually making a dent with this referring to Python 2 as legacy Python. I think it's making a difference. Not everybody loves it, but I know some people it's been working for. Do you guys know, you know, with the no more official security patches after the end of life date?

37:34 I mean, obviously that this is a big business opportunity for other companies to come in and offer you know, long term Python 2 updates and stuff.

37:41 Does anybody know who's doing that right now?

37:44 Like some Linux distributions, I would guess, but I don't really know what's going on in that space.

37:48 Yeah, possibly.

37:49 The big news that I just heard, so, you know, there's Red Hat Enterprise Linux, right?

37:55 And they do a lot of that kind of stuff.

37:57 And the versions that they have live on for a long period of time, but they just announced that they're dropping Python 2 support from Red Hat Enterprise Linux, which to me sounds like, Okay.

38:07 Even the laggards are stepping forward.

38:09 So I think that that's pretty big, but I suspect that there's still a lot of support on the backend.

38:13 There's been a few people who've like talked about forking Python two and just supporting it themselves as a single individual, but it seems, I'm sure there's going to be some of that, but like as a company, like, let's say, I don't know your bank of America.

38:28 You're like, dude, we don't need to upgrade.

38:29 There's this guy.

38:30 He's worked it.

38:31 We're good.

38:32 You know what I mean?

38:32 Like that just doesn't seem realistic.

38:35 It's also not just the C run, the CPython runtime anymore.

38:40 It's like so much more than that.

38:42 So Django no longer supports Python two, like the scientific stack, like NumPy and stuff are dropping support for Python two.

38:49 So even if you still have the older stuff, you know, you're like, well, we just keep running, it's not just about what's running your code, it's also what you can use in your code.

38:57 And you know, that's going to start looking like it's just zooming off into the distance.

39:01 So.

39:01 Not good.

39:02 Well, I mean, I think Python 2 will actually live on forever in some situations where, for instance, you got something that doesn't need a security patch because it doesn't touch the Internet at all.

39:13 And as long as it will run on whatever CPU you're sticking it on, some people have a huge program that they never touch because the requirements never change.

39:24 And they use it every day, but it doesn't need to be flexible.

39:28 It doesn't need to be worked on that much.

39:30 they'll probably upgrade when they have to change the program.

39:34 So, yeah.

39:34 I'm wondering if that also means that Apple is finally moving to Python 3 and making that the default for macOS, because the latest release, it still ships with 2.7.10, I think.

39:47 Yeah, that would actually be really, really nice.

39:50 You know, it's starting to shift in Ubuntu and just different Linux distributions, but also on macOS. Yeah, that would be super cool.

39:58 Brian, you're talking about things that don't require security patches.

40:01 I just saw a video from NASA talking about their trip to the moon and setting up a base there, which is just awesome.

40:08 So they had like all this sort of quick.

40:11 Different scenes of people doing stuff.

40:12 And one of the scenes was them working.

40:14 they had sublime open, like editing a bunch of Python code, controlling like something about the, the moon mission, which was pretty cool.

40:22 But I didn't catch whether it was two or three.

40:23 I couldn't tell.

40:24 That's pretty cool.

40:26 Yeah.

40:27 Someone else on Reddit did catch that the sublime was unregistered by the way.

40:31 Okay.

40:31 I guess a final thought here is.

40:39 We've also talked about this on Python bites is that there's the python clock.org, the Python two death clock.

40:45 And it has been updated for this, this new end of life statement.

40:48 And it reads one year, one month, two days.

40:51 So if people are out there and they got to start upgrading, like the death clock is ticking.

40:55 All right.

40:56 I also got item number two, and that I would categorize as the end of innocence for PyPI and PIP.

41:03 So we've heard about a couple of issues, one like right before 2018, like late 2017, and then another one again this year, about people posting or taking over control and posting some form of evil PyPI package.

41:21 primarily they look like they're kind of either a research project, a prank, or some kind of like Bitcoin theft. So one of them installed like a clipboard monitor that would watch for Bitcoin addresses and soon as it saw one it would like ship that off to like the mothership or something to that effect. But I don't know if anything super bad that's happened but it I guess until you know, 2016, 2017, PyPI as a place was just, it's incredible to me. It's a place on the internet that was entirely unprotected and yet safe. I can imagine that. If you had like an open FTP server and you just put it on the internet, like all sorts of badness would happen to that thing in a day. It would be full of all sorts of things you don't want it to be full of.

42:10 And here PyPI was going along and it was just, you know, the community sort of policed itself and took care of itself.

42:16 Plus it used to be really hard to become a person that could push things to PyPI.

42:20 Yeah, maybe it correlates to the shipping of PyPI.org.

42:23 Yeah, there seemed to be a lot of, well, not a lot, I'm trying to be more specific, but I think NPM, again in the JavaScript, like Node.js world, they had a big, it was something similar. I think it started with a typo squatting attack, but then it was actually a worm that would then go.

42:39 So if you got the malicious package, nothing would really happen, would really happen except that package as it was installing was looking for your--

42:47 like if you were registered with the npm package repository, and it would go in and patch the packages that you owned to spread that worm further.

42:55 I don't know if there was some payload, but it was really exploding quickly.

43:00 And I guess the same thing could happen with PyPI.

43:02 Like, I don't see why not.

43:04 Yeah, it definitely could.

43:05 But it hasn't.

43:06 And let's not give any people ideas.

43:09 [LAUGHTER]

43:09 - Sounds good.

43:10 We're gonna cut that out.

43:11 - Yeah, exactly.

43:12 Don't say that.

43:13 - Security by obscurity, come on.

43:14 - Exactly, right?

43:15 Security by lack of creativity.

43:16 Okay, so the two main problems were basically, like you pointed out, Dan, type of squatting, which is like we're going to upload a package that takes a copy of Django and then slightly modifies it, set up.py, and publish it as a package.

43:22 And then we're gonna have to do a lot of coding and stuff to make it work.

43:24 And so we're gonna have to do a lot of coding and stuff to make it work.

43:26 And so we're gonna have to do a lot of coding and stuff to make it work.

43:28 And so we're gonna have to do a lot of coding and stuff to make it work.

43:30 to upload a package that takes a copy of Django and then slightly modifies it, setup.py, and publish it under Django or Django or whatever, like how you pronounce it without the J, right?

43:45 So if people pip install and they misspell, they get your bad thing, right?

43:50 So that's one.

43:50 And the other was to take advantage of folks who didn't understand why something wasn't available to them.

43:57 So like if you tried to use regular expressions and you say re. and it says, well, re is not defined.

44:04 You're like, well, maybe I need to pip install re.

44:05 No, you just need to import it, right?

44:06 It's built in.

44:07 So they were targeting the built-in libraries.

44:09 And I believe all the built-ins are now patched.

44:12 And Brian, didn't we cover something on Python bytes that would help guard against typo squatting?

44:17 It would like try to grab packages that also had misspellings around your package name?

44:22 I think there was something like that.

44:23 - Yeah, I think so.

44:24 - I don't remember what it was called, but I think that exists and people could find it.

44:27 - Oh yeah, yeah, I remember listening to that episode And you guys were talking--

44:30 I forgot what it's called, too.

44:31 But it generates different variations of your own package names.

44:34 You can try and register all of those.

44:36 It's very work intensive.

44:38 - Yeah, so it's interesting on what is the fix.

44:41 And I don't know what the fix is.

44:42 The PSF is trying to get more resources to support PyPI and the Python packaging infrastructure in general.

44:49 But largely that's been improve it, do things like you talked about previously, Dan, on just shipping pypi.org.

44:55 But this validation, if you have so many releases of so many packages, how do you even verify it?

45:01 I don't know, it's tricky.

45:02 - It's not necessarily something that could be, that can be solved with a straightforward technology fix.

45:07 Like essentially, it's a problem that all of these, let's call them online marketplaces, code repositories or whatever you wanna call them.

45:15 If you look at the Android App Store, Apple App Store, I mean, the Apple App Store, they have these like crazy intensive review processes, considering that there are millions of apps in this app store and they're reviewing every single one.

45:27 And I think there's even some manual steps involved there.

45:30 And even there, we've had malicious apps that were trying to steal people's private information.

45:35 And it's a really locked down platform.

45:37 So I think it's a challenge that we're facing now, because we're all connected over the internet, and people are really relying on these package platforms.

45:46 So it seems like it's something we'll have to try out a bunch of solutions and see what will work there.

45:52 I think we should get all of these new machine learning Python people to get involved and take a look at it.

45:58 Because conceptually, the normal updates for a package are little tweaks on what it's doing.

46:04 And if suddenly it starts connecting to different servers all over the world, or even just one where it used to not connect to anything, that would be a change.

46:14 It would be a different behavior than it was ever doing before.

46:18 That should be something that a machine could catch.

46:20 - Yeah, actually, I think you're right.

46:21 I mean, there's almost no scenario where pip install a thing should create outbound connections besides to download the package.

46:29 Or, you know, even a package that doesn't normally use any connections or use requests suddenly adds, you know, socket connecting or something.

46:39 That's something to take a, you know, at least we can filter it down to things people could take a look at and say, "Is something weird going on here?" Well, it would actually be sweet to have, like, a CPython interpreter that is fully sandboxed that can't--

46:52 you could just run code that people send you, and you can run it safely, and it wouldn't be able to write to any folder on your disk or open sockets and whatnot.

47:01 That would actually be kind of sweet.

47:02 It's all interpreted, so it seems like that should be possible.

47:05 I mean, it's going to take a lot of work, I guess.

47:07 But--

47:07 I think it's possible as well.

47:09 You know, Dan, you mentioned the online app store as maybe something--

47:12 I wonder if there's something like that in terms of packaging that we could add.

47:17 And what I'm thinking is, if I go build an iOS app, I have to declare the things it's going to ask for.

47:24 Like it has to ask for access to contacts.

47:26 It has to ask for access to GPS.

47:30 So you declare it needs the GPS feature, it needs these other features, right?

47:34 So what about a package that declares, like I don't declare any network capabilities, so I don't talk on the network and things like, you know, I can't depend upon packages that do, for example.

47:44 - On the flip side, none of these have caused a huge amount of damage, And I don't want to go to the point of overreacting so that everybody has to take off their shoes to travel.

47:53 Yes, I know.

47:54 Things like that.

47:55 I know.

47:56 We don't want feel-good security that doesn't actually make any difference but makes life hard for everybody.

47:59 Yeah.

48:00 Yeah, I agree.

48:01 I don't know what the answer is.

48:02 I don't know what the fix is or if there is a fix, but I would definitely declare the end of Innocence for PyPI.

48:08 That's my declaration as item two for 2018.

48:11 Dan, you have the honor of kicking off what is the number one story in the Python space for 2018.

48:17 What happened?

48:18 >>ANDREW: Oh man, what a sad honor though.

48:20 >>COREY: Yeah, I know.

48:22 It's not about the messenger, right?

48:23 >>ANDREW: Well, yeah, I mean, Guido van Rossum stepped down as the BDFL, which is both sad and ironic because I guess BDFL stands for Benevolent Dictator for Life, which I think he still is now technically, but he's just going to be less involved with the stewardship and leadership of Sea Python.

48:44 - Yeah, he's a little more like the queen of England now.

48:47 (laughing)

48:48 In a sense, right?

48:49 Like he's still representing Python.

48:52 He's still very active in the community, but he just said, "I'm gonna let other people "deal with the decisions around it." And basically, went so far as saying, "I'm not going to decide for you how you decide." Like it was even a meta non-decision.

49:07 So he said, "All right, you all have to figure out "how to govern yourselves." and it looks like he's coming back in a little bit more in terms of participating.

49:17 - Well, right, I mean, I think that's one of the reasons is because he was, his involvement with Python was just the stuff that wasn't fun.

49:26 And now he gets to be involved with some of the things that are fun, like speaking and mentoring and things like that.

49:32 - You know, I think that's a really interesting point.

49:34 I'm not sure I would want his job the way it kind of looked a year ago, right?

49:41 just arguing over peps and stuff like that.

49:43 And you know that if you do stuff on the internet that it's, there's definitely a very small minority of people that are abrasive, unfriendly, it just sucks your, but even just a few people like that will suck your energy for sure.

49:59 - Yeah, and we still don't know what's gonna happen.

50:02 So we'll, maybe that'll be the story for 2019 is what happens now.

50:07 - I think you're right.

50:08 I think 2018 is the year keto stepped back.

50:10 2019 will be the year that whatever, whatever takes place going forward is going to be that year.

50:17 - So regarding the new governance structure for CPython, which obviously, you know, for any Python developer, that should be really dear to our heart because it's gonna have such a big impact on the future of Python and the CPython project.

50:31 And so the last update that I saw, basically we have a PEP 8000 now, which is a PEP that discusses the various new proposals that have been put forward regarding the Python language governance.

50:46 And I just recently saw, it was like two or three days ago, Victor Stinner's post on discuss.python.org where he's comparing the seven Python governance PEPs.

50:59 So I guess like actually the different proposals they're separate PEPs, but they're also listed under PEP 8000.

51:04 So there's different models that have been put forward.

51:06 like, for example, leading the project with a trio of three co-leaders.

51:11 There could also be a community governance model where there's no central authority, so like a total 1080 from a dictatorship to no central authority.

51:20 I don't know how that would look like in concrete terms, but there's different models that are being discussed right now.

51:25 And I think it's going to be very interesting to see what the CPython team ends up with there.

51:31 I agree.

51:31 And it's pretty important.

51:34 Even simple stuff like Lucas Lenga, also creator of Black, what we spoke about earlier, he's doing the release management for CPython for the next couple releases.

51:43 And he was thinking like, hey, it would be great to release this yearly, but we can't even discuss having it released yearly instead of every 18 months because we don't even know how to decide how would we, who decides, how do we vote?

51:57 We don't know.

51:58 So, so many things like that are just like on hold until this gets figured out.

52:02 So, there's a lot of pressure to make it happen.

52:04 - Definitely, yeah, it's a total bottleneck, I guess, for, yeah, like you were saying, just to put out a new release, you would have to, they would have to figure that out first.

52:12 And so I'm pretty sure that also means it's gonna be, a decision's gonna be made relatively quickly there, so we can all move on.

52:18 - Yeah, absolutely.

52:20 One thing you did note, though, is that Gito's starting to come back and be more active in the community again, just not in this BDFL decision-maker way, right?

52:28 - Yeah, I thought that was kinda cool.

52:30 You know, I don't know, it might be coincidence, But I don't think it was.

52:34 So as I was putting together a recent PyCoders Weekly issue, I saw that there were a couple of interviews with Guido out there, or articles that had little sound bites from him.

52:45 So he did a really long video-based interview on the MIT AI podcast.

52:50 So it's actually on YouTube.

52:52 It's more like a video-based show, but I think it's also a podcast that I thought was really interesting.

52:56 And he also started blogging again.

52:59 So he has this personal blog at--

53:01 I think it's neopythonic.blogspot.com or something like that.

53:05 And he put out a new post there.

53:06 And I think it was kind of nice to see some activity there, again, because I'm sure it's also a sign that now he maybe feels like he has more time to do that or feels inspired to do things like that again.

53:18 And I think that's a really, really positive sign just for his personal well-being, I think.

53:22 I think it's a positive sign as well.

53:24 And just like Brian and I were talking about earlier, a lot of his energy had previously gone into debating PEP 572 and just dealing with all the decision making.

53:36 And now he can focus back on what most people would want to focus on--

53:40 coding, software, cool stuff like that.

53:42 And it sounds like he's getting back into it.

53:44 So that's awesome.

53:45 Yeah.

53:46 And I mean, what a crazy responsibility to be at the center, at the focus of it all, and to be the one person that needs to make all of these decisions.

53:56 And sure, he was delegating a lot of these decisions and everything, but the way the CPython governance was set up before, it was all focused on one person.

54:07 And yeah, I mean, it's tough to do that for several decades, right?

54:11 - Yeah, honestly, I was surprised that he had kept going in that role for that long.

54:16 I mean, it's sad to see him step down, but at the same time, that was 25 years.

54:20 Like how many other people have a job that goes 25 years that's high pressure, right?

54:25 - Yeah, it's incredible.

54:26 I mean, thank you so much, Guido.

54:28 - Yeah, absolutely.

54:28 It's, Python's a special place and it has a lot to do with him.

54:32 All right, guys, that's it.

54:34 Those are our top 10 for 2018.

54:36 It's been a fun year, hasn't it?

54:37 - Absolutely. - It really is.

54:38 - Yeah, I think 2018 just has more good stuff to come.

54:42 So it doesn't seem like anything is slowing down and that's pretty awesome.

54:47 Now, before we round out the show, you have to answer the two questions, both of you.

54:51 So, Brian, let's start with you.

54:53 If you're gonna write some Python code, maybe test a little something or other, what editor would you use?

54:58 - PyCharm. - Right on.

54:59 - And Stan. - Yeah, good one.

55:01 Dan?

55:02 - I'm still a Sublime guy, although I have been experimenting with Visual Studio Code, and it's pretty sweet, actually.

55:07 - Yeah, I would say the Sublime, Visual Studio Code, there's probably a lot of bleed over between those, and with all the activity around Visual Studio Code, it's gotta be eating into the Sublime world.

55:17 - Yeah, definitely, probably.

55:19 I like what VS Code, I like watching what VS Code's doing.

55:23 They're just not quite there with the testing yet.

55:25 And I'll take a look again when they get that up to speed.

55:28 Yeah, I agree.

55:29 I think they're doing really sweet stuff.

55:30 OK, Brian, notable PyPI package?

55:33 One preferably that doesn't have any badness in it?

55:35 pytest.

55:36 pytest, right on.

55:37 Dan?

55:37 Sweet.

55:38 So I was going to say black again, but we talked about this at length.

55:41 So I'm going to say pytest-ICDiff.

55:46 So it's a pytest plugin that gives you better error messages for your pytest assertions in some cases.

55:53 So it'll basically do a more extensive diff on, let's say, when it's comparing two dictionaries.

55:59 And it'll tell you, those keys were added, those keys were removed, and it has color highlighting.

56:04 And I just found that this is a really, really sweet little tool, and I started installing it in all of my projects that have tests.

56:11 And I highly recommend it.

56:12 That sounds great.

56:13 I may have to go check this out.

56:14 Cool.

56:15 All right, so a straight sweep for pytest there.

56:17 That's great.

56:18 All right, guys.

56:19 Thanks so much for being on the show and being part of this.

56:21 That's so many cool things to talk about and I really appreciate it.

56:24 Thanks for having us.

56:25 Thanks.

56:26 Yep.

56:27 Bye.

56:28 Bye bye.

56:29 Thank you for listening to Python Bytes.

56:30 Follow the show on Twitter via @PythonBytes.

56:32 That's Python Bytes as in B-Y-T-E-S.

56:35 And get the full show notes at PythonBytes.fm.

56:39 If you have a news item you want featured, just visit PythonBytes.fm and send it our way.

56:43 We're always on the lookout for sharing something cool.

56:46 On behalf of myself and Brian Aukin, this is Michael Kennedy.

56:49 Thank you for listening and sharing this podcast with your friends and colleagues.

Back to show page