Pergi ke luar talian dengan aplikasi Player FM !
Exploring the New Features of Python 3.12
Manage episode 378998109 series 2637014
Python 3.12 is here! Our regular guests, Geir Arne Hjelle and Christopher Trudeau, return to discuss the new version. Geir Arne coordinated a series of preview articles with several members of the Real Python team this year, and his showcase tutorial, “Python 3.12: Cool New Features for You to Try,” came out on October 2. Christopher’s video course was posted the next day, covering the topics from the article with visual examples of Python 3.12 in action.
Geir Arne and Christopher collaborated to create code examples of the new features. We discuss better error messaging, more intuitive f-strings, subinterpreters, the Linux perf
profiler, improved typing syntax, and more.
We dig into the updates and offer advice on incorporating them into your projects. We also consider when you should start running Python 3.12.
Course Spotlight: What’s New in Python 3.12
In this video course, you’ll explore the new features that Python 3.12 brings to the table. These include improved f-strings, better error messages, changes to CPython internals, additions to static typing, and more.
Topics:
- 00:00:00 – Introduction
- 00:02:15 – Preview tutorials
- 00:05:08 – Ever better error messages
- 00:10:03 – More powerful f-strings
- 00:15:46 – Comprehension inlining & additional optimizations
- 00:21:24 – Support for subinterpreters
- 00:27:55 – Support for the Linux
perf
profiler - 00:32:02 – Immortal objects
- 00:35:01 – Video Course Spotlight
- 00:36:03 – Calendar constants for days and months
- 00:38:48 – New
itertools.batched()
for grouping Items - 00:40:53 – Improved type variable syntax
- 00:50:51 – New
Path.walk()
for listing files in subdirectories - 00:53:04 – Override decorator for static typing
- 00:57:36 – Advice on upgrading
- 01:03:08 – Thanks to the core developer team
- 01:04:39 – Thanks to the Real Python team and goodbye
Show Links:
- Python 3.12: Cool New Features for You to Try
- Python Release Python 3.12.0 - Python.org
- Python 3.12 Preview: Ever Better Error Messages
- Python 3.12 Preview: More Intuitive and Consistent F-Strings
- PEP 701 – Syntactic formalization of f-strings
- PEP 709 – Inlined comprehensions
- Python 3.12 Preview: Subinterpreters
- PEP 554 – Multiple Interpreters in the Stdlib
- PEP 684 – A Per-Interpreter GIL
- Python 3.12 Preview: Support For the Linux perf Profiler
- PEP 683 – Immortal Objects, Using a Fixed Refcount
- PEP 695 – Type Parameter Syntax
- Python 3.12 Preview: Static Typing Improvements
- PEP 698 – Override Decorator for Static Typing
Level up your Python skills with our expert-led courses:
248 episod
Manage episode 378998109 series 2637014
Python 3.12 is here! Our regular guests, Geir Arne Hjelle and Christopher Trudeau, return to discuss the new version. Geir Arne coordinated a series of preview articles with several members of the Real Python team this year, and his showcase tutorial, “Python 3.12: Cool New Features for You to Try,” came out on October 2. Christopher’s video course was posted the next day, covering the topics from the article with visual examples of Python 3.12 in action.
Geir Arne and Christopher collaborated to create code examples of the new features. We discuss better error messaging, more intuitive f-strings, subinterpreters, the Linux perf
profiler, improved typing syntax, and more.
We dig into the updates and offer advice on incorporating them into your projects. We also consider when you should start running Python 3.12.
Course Spotlight: What’s New in Python 3.12
In this video course, you’ll explore the new features that Python 3.12 brings to the table. These include improved f-strings, better error messages, changes to CPython internals, additions to static typing, and more.
Topics:
- 00:00:00 – Introduction
- 00:02:15 – Preview tutorials
- 00:05:08 – Ever better error messages
- 00:10:03 – More powerful f-strings
- 00:15:46 – Comprehension inlining & additional optimizations
- 00:21:24 – Support for subinterpreters
- 00:27:55 – Support for the Linux
perf
profiler - 00:32:02 – Immortal objects
- 00:35:01 – Video Course Spotlight
- 00:36:03 – Calendar constants for days and months
- 00:38:48 – New
itertools.batched()
for grouping Items - 00:40:53 – Improved type variable syntax
- 00:50:51 – New
Path.walk()
for listing files in subdirectories - 00:53:04 – Override decorator for static typing
- 00:57:36 – Advice on upgrading
- 01:03:08 – Thanks to the core developer team
- 01:04:39 – Thanks to the Real Python team and goodbye
Show Links:
- Python 3.12: Cool New Features for You to Try
- Python Release Python 3.12.0 - Python.org
- Python 3.12 Preview: Ever Better Error Messages
- Python 3.12 Preview: More Intuitive and Consistent F-Strings
- PEP 701 – Syntactic formalization of f-strings
- PEP 709 – Inlined comprehensions
- Python 3.12 Preview: Subinterpreters
- PEP 554 – Multiple Interpreters in the Stdlib
- PEP 684 – A Per-Interpreter GIL
- Python 3.12 Preview: Support For the Linux perf Profiler
- PEP 683 – Immortal Objects, Using a Fixed Refcount
- PEP 695 – Type Parameter Syntax
- Python 3.12 Preview: Static Typing Improvements
- PEP 698 – Override Decorator for Static Typing
Level up your Python skills with our expert-led courses:
248 episod
Semua episode
×
1 Exploring DuckDB & Comparing Python Expressions vs Statements 52:01

1 Learning Intermediate Python With a Deep Dive Course 56:26

1 GUIs & TUIs: Choosing a User Interface for Your Python Project 46:39

1 A Decade of Automating the Boring Stuff With Python 1:06:01

1 Manage Projects With pyproject.toml & Explore Polars LazyFrames 48:43

1 Eric Matthes: Maybe Don't Start With Unit Tests 1:10:48

1 Deciphering Python Jargon & Compiling Python 1.0 43:03

1 Telling Effective Stories With Your Python Visualizations 1:09:08

1 Behavior-Driven vs Test-Driven Development & Using Regex in Python 57:03

1 Charlie Marsh: Accelerating Python Tooling With Ruff and uv 1:30:37

1 Testing Your Python Code Base: Unit vs. Integration 54:14

1 Simon Willison: Using LLMs for Python Development 1:22:04

1 Principles for Considering Your Python Tooling 46:47

1 Building New Structures for Learning Python 52:21

1 PyCoder's Weekly 2024 Top Articles & Missing Gems 41:03
Selamat datang ke Player FM
Player FM mengimbas laman-laman web bagi podcast berkualiti tinggi untuk anda nikmati sekarang. Ia merupakan aplikasi podcast terbaik dan berfungsi untuk Android, iPhone, dan web. Daftar untuk melaraskan langganan merentasi peranti.