GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - alanding1989/CPython-Internals: Dive into CPython internals, trying to illustrate every detail of CPython implementation | CPython 源码阅读笔记, 多图展示底层实现细节

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

226 Commits
226 Commits

Folders and files

NameName
Last commit message
Last commit date
BasicObject
BasicObject
 
 
Interpreter
Interpreter
 
 
Modules
Modules
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
README_CN.md
README_CN.md
 
 

Repository files navigation

Cpython Internals

  • 简体中文
  • Watch this repo if you need to be notified when there's update

This repository is my notes/blog for cpython source code

Trying to illustrate every detail of cpython implementation

# based on version 3.8.0a0
cd cpython
git reset --hard ab54b9a130c88f708077c2ef6c4963b632c132b3

Table of Contents

  • Objects
  • Modules
  • Lib
  • Interpreter
  • learning material

Objects

  • dict
  • long/int
  • unicode/str
  • set
  • list
  • tuple
  • bytes
  • bytearray(buffer protocol)
  • float
  • func(user-defined method)
  • method(builtin method)
  • iter
  • gen(generator/coroutine/async generator)
  • class(bound method/classmethod/staticmethod)
  • complex
  • enum
  • type

Modules

  • io
    • fileio

Lib

  • re(regex)
  • asyncio

Interpreter

  • gil(Global Interpreter Lock)
  • gc(Garbage Collection)
  • memory management
  • descr(how does attribute access work/__get__/__set__)
  • exception(exception handling)
  • module(how does import work)
  • frame
  • code
  • namespace
  • thread
  • interpreter

learning material

I will only recommend what I've read

  • rushter
  • YET ANOTHER PYTHON INTERNALS BLOG
  • CPython internals - Interpreter and source code overview
  • < < Inside The Python Virtual Machine > >
  • < < Python源码剖析 > >

About

Dive into CPython internals, trying to illustrate every detail of CPython implementation | CPython 源码阅读笔记, 多图展示底层实现细节

Resources

Readme
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.