Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

《Python 3 源码剖析》

License

NotificationsYou must be signed in to change notification settings

Lcoderfit/python3-source-code-analysis

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

本项目致力于对 Python 3.7 的源码分析,深度参考陈儒大大的《Python 源码剖析》,编写 Python 3 的版本。

希望各位 Python 爱好者能参与其中,一起探索 Python 魔法背后的奥秘!

使用

您可以直接访问在线版,或者根据以下步骤访问本地版。

前置条件

您的系统上需要安装好 node。

使用 make 命令

若您可使用 make 命令,简单执行如下命令进行初始化:

make init

执行如下命令运行服务端:

make run

使用 gitbook 命令

若您不能使用 make 命令,或想直接使用 gitbook 命令,执行如下命令进行初始化:

npm i -g gitbook-cli #可能需要sudogitbook install

执行如下命令运行服务端:

gitbook serve

访问

直接访问http://localhost:4000 即可查看本书内容。

Roadmap

大体按照《Python 源码剖析》中的目录结构进行编写。依次介绍 Python 源码基本信息、内建对象和虚拟机。

  • 章节
    • 序章
    • 前言
    • Python 源代码的组织
    • Windows 环境下编译 Python
    • UNIX/Linux 环境下编译 Python
    • 修改 Python 源码
  • Python 内建对象
    • Python 对象初探
    • Python 整数对象
    • Python 字符串 对象
    • Python List 对象
    • Python Dict 对象
    • Python Set 对象
    • 实现简版 Python
  • Python 虚拟机
    • Python 编译结果
    • Python 虚拟机框架
    • 虚拟机一般表达式
    • Python 虚拟机控制流
    • Python 虚拟机函数机制
    • Python 运行环境初始化
    • Python 模块加载机制
    • Python 多线程机制
    • Python 内存管理机制

About

《Python 3 源码剖析》

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Makefile100.0%

[8]ページ先頭

©2009-2025 Movatter.jp