#452: pi py-day (or is it py pi-day?)
About the show
Sponsored by DigitalOcean: pythonbytes.fm/digitalocean-gen-ai Use code DO4BYTES and get $200 in free credit
Connect with the hosts
- Michael: @mkennedy@fosstodon.org / @mkennedy.codes (bsky)
- Brian: @brianokken@fosstodon.org / @brianokken.bsky.social
- Show: @pythonbytes@fosstodon.org / @pythonbytes.fm (bsky)
Join us on YouTube at pythonbytes.fm/live to be part of the audience. Usually Monday at 10am PT. Older video versions available there too.
Finally, if you want an artisanal, hand-crafted digest of every week of the show notes in email form? Add your name and email to our friends of the show list, we'll never share it.
Brian #1: Python 3.14
- Released on Oct 7
- What’s new in Python 3.14
- Just a few of the changes
- PEP 750: Template string literals
- PEP 758: Allow except and except* expressions without brackets
- Improved error messages
- Default interactive shell now
- highlights Python syntax
- supports auto-completion
- argparse
- better support for
python -m module
- has a new
suggest_on_error
parameter for “maybe you meant …” support
- better support for
python -m calendar
now highlights today’s date
- Plus so much more
Michael #2: Free-threaded Python Library Compatibility Checker
- by Donghee Na
- App checks compatibility of top PyPI libraries with CPython 3.13t and 3.14t, helping developers understand how the Python ecosystem adapts to upcoming Python versions.
- It’s still pretty red, let’s get in the game everyone!
Michael #3: Claude Sonnet 4.5
- Top programming model (even above Opus 4.1)
- Shows large improvements in reducing concerning behaviors like sycophancy, deception, power-seeking, and the tendency to encourage delusional thinking
- Anthropic is releasing the Claude Agent SDK, the same infrastructure that powers Claude Code, making it available for developers to build their own agents, along with major upgrades including checkpoints, a VS Code extension, and new context editing features
- And Claude Sonnet 4.5 is available in PyCharm too.
Brian #4: Python 3.15 will get Explicit lazy imports
- Discussion on discuss.python.org
This PEP introduces syntax for lazy imports as an explicit language feature:
lazy import json lazy from json import dumps
BTW, lazy loading in fixtures is a super easy way to speed up test startup times.
Extras
Brian:
- Music video made in Python - from Patrick of the band “Friends in Real Life”
- source code: https://gitlab.com/low-capacity-music/r9-legends/
Michael:
- New article: Thanks AI
- Lots of updates for content-types
- Dramatically improved search on Python Bytes (example: https://pythonbytes.fm/search?q=wheel use the filter toggle to see top hits)
- Talk Python in Production is out and for sale
Joke: You do estimates?
Episode Transcript
Collapse transcript
00:00
01:00
01:04
01:09
01:10
01:12
01:13
01:15
01:16
01:19
01:22
01:23
01:25
01:29
01:34
01:36
01:41
01:44
01:48
01:54
01:58
02:05
02:06
02:07
02:08
02:12
02:14
02:17
02:23
02:34
03:14
03:21
03:23
03:24
03:26
03:28
03:30
03:34
03:37
03:41
03:44
03:46
03:48
03:49
03:53
03:58
04:04
04:07
04:08
04:09
04:10
04:16
04:17
04:17
04:21
04:22
04:29
04:33
04:35
04:37
04:44
04:46
04:53
04:57
04:59
05:01
05:01
05:03
05:05
05:11
05:12
05:15
05:16
05:22
05:27
05:34
05:39
05:40
05:41
05:45
05:51
05:52
05:54
05:56
05:57
06:04
06:11
06:20
06:20
06:24
06:25
06:30
06:39
06:43
06:44
06:49
07:06
07:09
07:10
07:12
07:13
07:14
07:17
07:18
07:19
07:23
07:23
07:25
07:27
07:29
07:35
07:36
07:42
07:46
07:48
07:54
08:02
08:03
08:04
08:04
08:06
08:07
08:08
08:11
08:17
08:18
08:28
08:33
08:35
08:38
08:38
08:41
08:53
09:02
09:05
09:07
09:12
09:14
09:14
09:16
09:18
09:18
09:20
09:27
09:28
09:32
09:33
09:33
09:35
09:35
09:37
09:38
09:45
09:46
09:49
09:50
09:54
09:57
09:59
10:02
10:05
10:09
10:10
10:18
10:21
10:24
10:25
10:28
10:29
10:30
10:35
10:42
10:46
10:47
10:49
10:50
10:52
10:55
10:57
11:02
11:04
11:14
11:23
11:27
11:30
11:38
11:40
11:48
11:50
11:58
12:00
12:01
12:06
12:15
12:16
12:21
12:22
12:29
12:34
12:42
12:45
12:45
12:49
12:50
12:50
12:52
13:07
13:10
13:15
13:17
13:21
13:26
13:31
13:35
13:38
13:41
13:44
13:46
13:49
13:51
13:54
13:57
13:57
13:58
13:59
14:00
14:02
14:05
14:11
14:15
14:18
14:26
14:30
14:41
15:02
15:38
15:39
15:40
15:44
15:47
15:51
15:52
15:52
15:54
15:55
15:56
15:58
16:02
16:04
16:34
16:36
16:37
16:41
16:45
16:47
16:56
17:00
17:01
17:04
17:04
17:05
17:07
17:10
17:12
17:16
17:17
17:18
17:20
17:22
17:29
17:31
17:35
17:45
17:46
17:53
17:57
17:58
18:01
18:02
18:05
18:07
18:09
18:13
18:15
18:18
18:19
18:23
18:24
18:27
18:30
18:31
18:38
18:42
18:43
18:44
18:46
18:47
18:49
18:51
18:51
18:53
19:03
19:05
19:09
19:12
19:19
19:20
19:21
19:26
19:30
19:41
19:41
19:42
19:52
19:52
19:53
19:54
19:55
20:04
20:06
20:07
20:09
20:09
20:10
20:11
20:19
20:20
20:21
20:22
20:23
20:31
20:33
20:38
20:39
20:40
20:42
20:44
20:48
20:51
20:57
20:59
21:02
21:09
21:11
21:15
21:17
21:22
21:28
21:30
21:34
21:39
21:40
21:43
21:44
21:51
22:00
22:02
22:06
22:13
22:16
22:22
22:26
22:27
22:29
22:31
22:36
22:38
22:42
22:45
22:46
22:46
22:48
22:49
22:50
22:53
22:56
22:58
22:59
23:02
23:02
23:05
23:07
23:08
23:10
23:12
23:12
23:13
23:15
23:17
23:25
23:36
23:42
23:49
23:53
24:01
24:03
24:04
24:05
24:13
24:15
24:20
24:24
24:24
24:25
24:25
24:26
24:27
24:28
24:29
24:30
24:31
24:32
24:34
24:35
24:36
24:37
24:42
24:49
24:51
24:53
24:53
24:55
24:59
25:03
25:04
25:05
25:08
25:10
25:12
25:13
25:15
25:21
25:24
25:26
25:30
25:32
25:34
25:35
25:36
25:37
25:38
25:43
25:44
25:47
25:50
25:52
26:01
26:07
26:08
26:13
26:15
26:16
26:21
26:25
26:27
26:28
26:31
26:34
26:43
26:51
26:54
27:00
27:04
27:06
27:09
27:10
27:11
27:13
27:15
27:16
27:19
27:22
27:24
27:25
27:29
27:30
27:41
27:47
27:50
27:56
27:57
27:58
27:59
28:31
28:32
28:32
28:34
28:36
28:42
28:43
28:45
28:54
28:56
28:57
29:03
29:06
29:10
29:11
29:12
29:14
29:18
29:20
29:21
29:28
29:31
29:36
29:40
29:43
29:47
29:48
29:49
29:50
29:57
30:00
30:02
30:05
30:07
30:09
30:11
30:13
30:17
30:19
30:23
30:25
30:27
30:31
30:33
30:35
30:43
30:51
30:54
30:55
30:56
30:58
31:00
31:01
31:03
31:09
31:13
31:15
31:19
31:22
31:27
31:29
31:30
31:30
31:31
31:34
31:35
31:36
31:55
32:44
32:47
32:55
33:01
33:02
33:03
33:05
33:06
33:08
33:15
33:32
33:37
33:38
33:41
33:42
33:44
33:46
33:47
33:48
33:55
33:57
34:03
34:11
34:11
34:12
34:12
34:14
34:15
34:19
34:20
34:21
34:26
34:28
34:35
34:40
34:42
34:46
34:47
34:48
34:49
34:53
34:56
35:01
35:05
35:08
35:09
35:10
35:11
35:13
35:14
35:18
35:19
35:21
35:23
35:25
35:28
35:29
35:31
35:34
35:37
35:39
35:42
35:43
35:44
35:47
35:49
35:51
35:52
35:58
36:02
36:03
36:04
36:06
36:06
36:07
36:08
36:11
36:12
36:13
36:16
36:17
36:20
36:23
36:25
36:28
36:30
36:33
36:38
36:41
36:43
36:46
36:49
36:50
36:51
36:52
36:55
37:00
37:04
37:15
37:19
37:33
38:12
39:11
39:39
39:54
40:19
40:24