CPython
62,99 €
Dieses Produkt erscheint am 03.12.25
CPython, Apress
A Complete Guide to CPython's Architecture and Performance
Von Chien-Lung Kao, im heise shop in digitaler Fassung erhältlich
Produktinformationen "CPython"
Deep Dive CPython explores the internal mechanics of CPython, the widely used
Python interpreter written in C. Starting with a practical guide on downloading
and compiling the CPython source, this book is perfect for developers eager to
understand Python’s behaviour at a fundamental level.
The book takes readers from basic concepts to complex details with a systematic
breakdown of core components. It covers everything from CPython’s data
structures like PyObject and PyTypeObject to object lifecycle management, giving
insight into memory allocation and object reference counting. Each chapter
illustrates CPython's architecture, such as Python's "everything is an object"
philosophy, list handling, string manipulation, and dictionary operations.
Readers will explore Python’s REPL modifications, string internals, and custom
type creation with practical examples, like crafting a "backflipping"
PyKitty_Type. Detailed sections on Python’s virtual machine operations, bytecode
generation, and exception handling enrich readers’ understanding of how Python
code is parsed, compiled, and executed.
This book is a thorough guide for readers who want to go beyond basic Python use
and understand how it works internally. Covering complex concepts like
generators, iterators, descriptors, and metaclasses, this book equips readers
with a thorough grasp of Python's performance optimization and design
complexities.
What you will learn:
- How to download, compile, and modify CPython's source code
- Gain insight into fundamental structures like PyObject and PyTypeObject,
- Understand Python's detailed handling of lists, strings, dictionaries, and the REPL environment.
- What are bytecode generation, custom types, and the inner workings of Python’s virtual machine.
Artikel-Details
- Anbieter:
- Apress
- Autor:
- Chien-Lung Kao
- Artikelnummer:
- 9798868817694
- Veröffentlicht:
- 03.12.25
Barrierefreiheit
This PDF has been created in accordance with the PDF/UA-1 standard to enhance accessibility, including screen reader support, described non-text content (images, graphs), bookmarks for easy navigation
- entspricht den Vorgaben der PDF / UA 1 (05)
- keine Vorlesefunktionen des Lesesystems deaktiviert (bis auf) (10)
- navigierbares Inhaltsverzeichnis (11)
- logische Lesereihenfolge eingehalten (13)
- kurze Alternativtexte (z.B für Abbildungen) vorhanden (14)
- Inhalt auch ohne Farbwahrnehmung verständlich dargestellt (25)
- hoher Kontrast zwischen Text und Hintergrund (26)
- Navigation über vor-/zurück-Elemente (29)
- alle zum Verständnis notwendigen Inhalte über Screenreader zugänglich (52)
- Kontakt zum Herausgeber für weitere Informationen zur Barrierefreiheit (99)