Buy New
-
To see product details, add this item to your cart.
Ships from: Amazon.com Sold by: Amazon.com
Used - Good
-
To see product details, add this item to your cart.
Ships from: Best Book Values Sold by: Best Book Values
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Follow the author
OK
CPython Internals: Your Guide to the Python 3 Interpreter
Purchase options and add-ons
Get your guided tour through the Python 3.9 interpreter: Unlock the inner workings of the Python language, compile the Python interpreter from source code, and participate in the development of CPython.
Are there certain parts of Python that just seem like magic?
This book explains the concepts, ideas, and technicalities of the Python interpreter in an approachable and hands-on fashion.
Once you see how Python works at the interpreter level, you can optimize your applications and fully leverage the power of Python.
By the End of the Book You’ll Be Able To:
- Read and navigate the CPython 3.9 interpreter source code. You’ll deeply comprehend and appreciate the inner workings of concepts like lists, dictionaries, and generators.
- Make changes to the Python syntax and compile your own version of CPython, from scratch. You’ll customize the Python core data types with new functionality and run CPython’s automated test suite.
- Master Python’s memory management capabilities and scale your Python code with parallelism and concurrency.
- Debug C and Python code like a true professional. Profile and benchmark the performance of your Python code and the runtime.
- Participate in the development of CPython and know how to contribute to future versions of the Python interpreter and standard library. How great would it feel to give back to the community as a “Python Core Developer?”
With this book you’ll cover the critical concepts behind the internals of CPython and how they work with visual explanations as you go along.
Each page in the book has been carefully laid out with beautiful typography, syntax highlighting for code examples.
About the Author:
Anthony Shaw is a CPython contributor and a PyCon speaker. He has a B.Sc. in Computer Science and over 8 years of experience working with Python. Anthony is also a Fellow of the Python Software Foundation and member of the Open-Source Apache Foundation.
What Python Developers Say About The Book:
“It’s the book that I wish existed years ago when I started my Python journey. [...] After reading this book your skills will grow and you will be able solve even more complex problems that can improve our world.”
— Carol Willing, CPython Core Developer & Member of the CPython Steering Council
“CPython Internals is a great (and unique) resource for anybody looking to take their knowledge of Python to a deeper level.”
— Dan Bader, Author of Python Tricks
“There are a ton of books on Python which teach the language, but I haven’t really come across anything that would go about explaining the internals to those curious minded.”
— Milan Patel, Vice President at (a major investment bank)
“I can recommend CPython Internals to anyone who wants to get going with hacking on CPython.”
— Guido van Rossum, Creator of Python
- ISBN-101781252548
- ISBN-13978-1775093343
- Publication dateMay 5, 2021
- LanguageEnglish
- Dimensions6 x 0.89 x 9 inches
- Print length394 pages
Frequently bought together

Customers who viewed this item also viewed
- Fluent Python: Clear, Concise, and Effective ProgrammingPaperbackFREE Shipping by AmazonGet it as soon as Saturday, Oct 10
- Python Tricks: A Buffet of Awesome Python FeaturesPaperbackFREE Shipping on orders over $35 shipped by AmazonGet it as soon as Saturday, Oct 10
- Python Basics: A Practical Introduction to Python 3PaperbackFREE Shipping on orders over $35 shipped by AmazonGet it as soon as Saturday, Oct 10
- Effective Python: 125 Specific Ways to Write Better Python (Effective Software Development Series)PaperbackFREE ShippingGet it Oct 26 - Nov 2Usually ships within 9 to 10 days
- Operating Systems: Three Easy PiecesPaperbackFREE Shipping on orders over $35 shipped by AmazonGet it as soon as Saturday, Oct 10
- Python Crash Course, 3rd Edition: A Hands-On, Project-Based Introduction to ProgrammingPaperbackFREE Shipping on orders over $35 shipped by AmazonGet it as soon as Saturday, Oct 10
Customers also bought or read
- Fluent Python: Clear, Concise, and Effective Programming
Paperback$43.99$43.99FREE delivery Sat, Oct 10 - Architecture Patterns with Python: Enabling Test-Driven Development, Domain-Driven Design, and Event-Driven Microservices
Paperback$37.10$37.10FREE delivery Sat, Oct 10 - High Performance Python: Practical Performant Programming for Humans
Paperback$44.99$44.99FREE delivery Sat, Oct 10 - Operating Systems: Three Easy Pieces#1 Best SellerComputer Operating Systems Theory
Paperback$28.27$28.27Delivery Sat, Oct 10 - Effective Python: 125 Specific Ways to Write Better Python (Effective Software Development Series)
Paperback$53.49$53.49FREE delivery Oct 26 - Nov 2 - Design Patterns: Elements of Reusable Object-Oriented Software
Hardcover$22.95$22.95Delivery Wed, Oct 21 - Full-Stack React, TypeScript, and Node: Build scalable and cloud-ready web applications using modern React, TypeScript, and Docker
Paperback$28.49$28.49Delivery Sat, Oct 10 - High Performance Python: Practical Performant Programming for Humans
Paperback$90.72$90.72FREE delivery Oct 15 - 22 - Inside the Machine: An Illustrated Introduction to Microprocessors and Computer Architecture
Paperback$40.85$40.85FREE delivery Mon, Oct 12 - Build a Large Language Model (From Scratch)#1 Best SellerComputer Neural Networks
Paperback$49.24$49.24FREE delivery Sat, Oct 10 - Designing Machine Learning Systems: An Iterative Process for Production-Ready Applications
Paperback$40.00$40.00FREE delivery Sat, Oct 10 - The Pragmatic Programmer: Your Journey To Mastery, 20th Anniversary Edition (2nd Edition)#1 Best SellerSoftware Testing
Hardcover$45.97$45.97FREE delivery Sat, Oct 10 - A Philosophy of Software Design, 2nd Edition#1 Best SellerComputer Systems Analysis & Design
Paperback$21.92$21.92Delivery Sat, Oct 10 - Machine Learning with PyTorch and Scikit-Learn: Develop machine learning and deep learning models with Python#1 Best SellerSpeech & Audio Processing
Paperback$34.23$34.23Delivery Sat, Oct 10 - Hands-On Large Language Models: Language Understanding and Generation
Paperback$37.68$37.68FREE delivery Sat, Oct 10 - Elements of Programming Interviews in Python: The Insiders' Guide#1 Best SellerGenetic Algorithms
Paperback$37.94$37.94FREE delivery Oct 12 - 16 - Reinforcement Learning, second edition: An Introduction (Adaptive Computation and Machine Learning series)
Hardcover$80.48$80.48FREE delivery Sat, Oct 10 - Structure and Interpretation of Computer Programs - 2nd Edition (MIT Electrical Engineering and Computer Science)#1 Best SellerCompiler Design
Paperback$50.13$50.13FREE delivery Sat, Oct 10 - The Hundred-Page Language Models Book: hands-on with PyTorch (The Hundred-Page Books)
Paperback$46.95$46.95FREE delivery Sat, Oct 10 - C Programming Language, 2nd Edition#1 Best SellerC Programming Language
Paperback$60.30$60.30FREE delivery Sat, Oct 10 - The Elements of Computing Systems, second edition: Building a Modern Computer from First Principles
Paperback$35.23$35.23FREE delivery Sat, Oct 10 - Fundamentals of DevOps and Software Delivery: A Hands-On Guide to Deploying and Managing Software in Production
Paperback$53.45$53.45FREE delivery Sat, Oct 10
Product details
- ASIN : 1775093344
- Publisher : Real Python (realpython.com)
- Publication date : May 5, 2021
- Language : English
- Print length : 394 pages
- ISBN-10 : 1781252548
- ISBN-13 : 978-1775093343
- Item Weight : 1.23 pounds
- Dimensions : 6 x 0.89 x 9 inches
- Best Sellers Rank: #361,422 in Books (See Top 100 in Books)
- #129 in Python Programming
- #164 in Software Development (Books)
- #520 in Computer Programming Languages
- Customer Reviews:
About the author

Discover more of the author’s books, see similar authors, read book recommendations and more.





















