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

呵呵呵呵 Django Channels 与 Twisted

  •  
  •   Carrycat · 2016-10-28 06:21:56 +08:00 · 2608 次点击
    这是一个创建于 2739 天前的主题,其中的信息可能已经有所发展或是发生改变。
    今天新开 branch 打算把 gunicorn 换成 Channels 需要的 Daphne , pip 时发现他居然 required Twisted 这个 python2 的 lib 。 我依稀记得当年为了给服务器加 APNS 时候 由于 twisted python3 下出错不得不装了 python2 把 apns 脚本的代码大改了半天. 心想以后再也不会碰 Twisted 了。 没想到 Daphne 居然会选择 Twisted
    2 条回复    2016-10-29 16:38:44 +08:00
    ericls
        1
    ericls  
       2016-10-28 07:03:42 +08:00 via iPhone
    Python asyncio 的社区还是没起来……
    Carrycat
        2
    Carrycat  
    OP
       2016-10-29 16:38:44 +08:00
    @ericls 现在没必要太急用 async 那个指定的 asgi: Daphne 还不稳定, 心疼 Gunicorn
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2739 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 15:25 · PVG 23:25 · LAX 08:25 · JFK 11:25
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.