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 - DefTruth/python-source-code-notes at 9bd884e725717a2648fa7a3959c7a19e37c40d99

BranchesTags
Open more actions menu

Latest commit

 

History

19 Commits
19 Commits

Folders and files

NameName
Last commit message
Last commit date
codes
codes
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
ch01.md
ch01.md
 
 
ch02.md
ch02.md
 
 
ch03.md
ch03.md
 
 
ch04.md
ch04.md
 
 
ch05.md
ch05.md
 
 
ch05_dict_more_info.md
ch05_dict_more_info.md
 
 
ch06.md
ch06.md
 
 
ch07.md
ch07.md
 
 
ch08.md
ch08.md
 
 
ch09.md
ch09.md
 
 
ch10.md
ch10.md
 
 
ch11.md
ch11.md
 
 
docker.md
docker.md
 
 

Repository files navigation

《Python 源码剖析》学习笔记

《Python 源码剖析》 作者:陈儒 Robert Chen 出版年份:2008 年 Python 版本:2.5

在阅读《Python 源码剖析》的过程中记录的一些笔记,不是特别详细,简单记录了一些关键的地方,方便以后查看。

编译代码

使用 Docker 编译 Python 源代码,使用说明参考 Docker 使用说明。

源代码

在阅读《Python 源码剖析》过程中,为了验证一些想法,对 Python2.5的源代码进行了不少修改。修改过的代码在这里。

master 分支是原始代码。

每个 chxx 分支对应书中相应的章节,基于 master 分支修改而来。

其它资源

  • 作者在 CSDN 的博客(不再更新)。

  • Extending and Embedding the Python Interpreter

    扩展和嵌入 Python 解析器,介绍了如何用 C/C++ 编写 Python 的扩展模块,如何在其它语言中嵌入 Python 解释器。

  • C API

    详细介绍了 Python 内部的 C API。

  • Python Developer’s Guide

    Python 开发者指南。

目录

  • 第一部分

    • ch01 - Pyhton 对象初探
    • ch02 - Pyhton 中的整数对象
    • ch03 - Pyhton 中的字符串对象
    • ch04 - Python 中的 List 对象
    • ch05 - Python 中的 Dict 对象
    • ch06 - 最简单的Python模拟——Small Python
  • 第二部分

    • ch07 - Python的编译结果——Code对象与pyc文件
    • ch08 - Python 虚拟机框架
    • ch09 - Python虚拟机中的一般表达式
    • ch010 - Python虚拟机中的控制流
    • ch011 - Python虚拟机中的函数机制
    • ch012 - Python虚拟机中的类机制

About

Python 源码剖析学习笔记

Resources

Readme
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402520 — 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.