``` CPython 内部原理详解 ```
CPython Internals Explained

原始链接: https://github.com/zpoint/CPython-Internals

## CPython-Internals:深入剖析Python的实现 “CPython-Internals”仓库是对CPython解释器源代码的详细探索,旨在阐释其内部运作机制。它基于CPython 3.8.0a0版本构建,面向有兴趣了解Python底层*如何*运作的Python程序员。 该仓库分为几个部分,涵盖核心Python **对象**(如字典、列表和类)、**模块**(包括`io`、`pickle`、`re`和`asyncio`)、**解释器**本身(GIL、垃圾回收、异常处理和导入机制),以及**扩展**的可能性(C API、Cython和C++集成)。它还涉及从语法到字节码的编译过程。 除了代码相关的文档外,该仓库还提供了一份精选的**学习资料**清单——书籍、博客和视频,供进一步学习。欢迎贡献,包括知识共享、更正和翻译的拉取请求,以及建议和问题的提交。 该资源拥有超过4.4k星标和458个fork,对于那些寻求更深入理解Python实现的人来说,它是一个宝贵的资源。

黑客新闻 新 | 过去 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 CPython 内部原理详解 (github.com/zpoint) 9 分,由 yufiz 发表于 2 小时前 | 隐藏 | 过去 | 收藏 | 讨论 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系 搜索:
相关文章

原文
Skip to content

Dive into CPython internals, trying to illustrate every detail of CPython implementation

Notifications You must be signed in to change notification settings

zpoint/CPython-Internals

Repository files navigation

Cpython Internals

cpython logo

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

The following contents are suitable for those who have python programming experience and interested in internal of python interpreter, for those who needs beginner or advanced material please refer to awesome-python-books

Table of Contents

Objects

Modules

Lib

Interpreter

Extension

Grammar

Learning material

I will only recommend what I've read

Contribution

All kinds of contributions are welcome

  • submit a pull request
    • if you want to share any knowledge you know
    • post a new article
    • correct any technical mistakes
    • correct english grammar
    • translation
    • anything else
  • open an issue
    • any suggestions
    • any questions
    • correct mistakes
    • anything else

About

Dive into CPython internals, trying to illustrate every detail of CPython implementation

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

联系我们 contact @ memedata.com