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
myyou
V2EX  ›  Python

pypy 和 python 的库是通用的吗?

  •  
  •   myyou · 2015-11-02 11:33:09 +08:00 · 3612 次点击
    这是一个创建于 3103 天前的主题,其中的信息可能已经有所发展或是发生改变。
    4 条回复    2015-11-02 12:47:01 +08:00
    master13
        1
    master13  
       2015-11-02 11:44:06 +08:00
    有些不是,大部分是吧。我用的时候会把安装的 python 库拷贝到 pypy 同名文件夹下面……
    neoblackcap
        2
    neoblackcap  
       2015-11-02 11:53:15 +08:00
    纯 python 的库肯定是,用 CFFI 写的模块也是,但是用了 CPython 黑魔法的就不是
    myyou
        3
    myyou  
    OP
       2015-11-02 12:20:20 +08:00
    zfz
        4
    zfz  
       2015-11-02 12:47:01 +08:00   ❤️ 1
    这里有个 wiki ,整理了常用 python 库是否与 pypy 兼容: https://bitbucket.org/pypy/compatibility/wiki/Home
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1992 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 01:07 · PVG 09:07 · LAX 18:07 · JFK 21:07
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.