推荐学习书目
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 · Oct 28, 2016 · 3357 views
    This topic created in 3485 days ago, the information mentioned may be changed or developed.
    今天新开 branch 打算把 gunicorn 换成 Channels 需要的 Daphne , pip 时发现他居然 required Twisted 这个 python2 的 lib 。 我依稀记得当年为了给服务器加 APNS 时候 由于 twisted python3 下出错不得不装了 python2 把 apns 脚本的代码大改了半天. 心想以后再也不会碰 Twisted 了。 没想到 Daphne 居然会选择 Twisted
    2 replies    2016-10-29 16:38:44 +08:00
    ericls
        1
    ericls  
       Oct 28, 2016 via iPhone
    Python asyncio 的社区还是没起来……
    Carrycat
        2
    Carrycat  
    OP
       Oct 29, 2016
    @ericls 现在没必要太急用 async 那个指定的 asgi: Daphne 还不稳定, 心疼 Gunicorn
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3438 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 11:41 · PVG 19:41 · LAX 04:41 · JFK 07:41
    ♥ Do have faith in what you're doing.