V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
rim99
V2EX  ›  Python

求教怎么看 CPython 源码比较顺手?

  •  
  •   rim99 · 2017-02-03 22:00:00 +08:00 · 5543 次点击
    这是一个创建于 2610 天前的主题,其中的信息可能已经有所发展或是发生改变。
    最近打算看下 CPython 的源码,但是试过 Xcode , PyCharm 都不给力。没办法用快捷键追踪所调用的函数来源。
    是不是我打开的姿势不对?

    求老司机带路……^_^
    9 条回复    2022-08-03 12:15:22 +08:00
    noobsheldon
        1
    noobsheldon  
       2017-02-03 22:25:00 +08:00 via Android
    《 python 源码剖析》好书
    rim99
        2
    rim99  
    OP
       2017-02-03 22:30:10 +08:00
    @noobsheldon 我是想直接在电脑里看 CPython 的实现细节啊
    XYxe
        3
    XYxe  
       2017-02-03 22:38:51 +08:00
    我看代码用 VSCode ,编译调试用 VS ,编译用的比较少。
    lhbc
        4
    lhbc  
       2017-02-03 23:24:36 +08:00
    CPython 是 C 代码, PyCharm 是 Python IDE
    不能用 PyCharm 来看 C 代码啊

    可以用 VSCode 或者 CLion
    Mirana
        5
    Mirana  
       2017-02-03 23:49:38 +08:00   ❤️ 1
    vim ctags cscope
    chiu
        6
    chiu  
       2017-02-04 00:27:28 +08:00 via Android
    Source Insight
    janxin
        7
    janxin  
       2017-02-04 09:13:52 +08:00
    Source Insight 是 Windows 上审计 C/C++代码的好工具
    mattx
        8
    mattx  
       2017-07-09 12:10:03 +08:00
    visual studio 2015 呗, 源代码下载就直接提供了 pcbuild 吧.
    Geon97
        9
    Geon97  
       2022-08-03 12:15:22 +08:00
    @noobsheldon 有 pdf 或者其他资源嘛
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2757 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 12:27 · PVG 20:27 · LAX 05:27 · JFK 08:27
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.