推荐学习书目
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
vicalloy
V2EX  ›  Python

Django 2.0 将放弃 Python 2 的支持

  •  1
     
  •   vicalloy ·
    vicalloy · Jan 19, 2017 · 6925 views
    This topic created in 3407 days ago, the information mentioned may be changed or developed.

    https://www.reddit.com/r/Python/comments/5otufg/django_20_now_on_master_will_not_support_python_2/

    Reddit 上一片喜大普奔。就我个人而言最希望 Django 在放弃 Python 2 的支持后能把 type hints 加上。

    32 replies    2017-02-15 22:21:03 +08:00
    kindjeff
        1
    kindjeff  
       Jan 19, 2017 via iPhone
    姿瓷
    hareandlion
        2
    hareandlion  
       Jan 19, 2017 via iPhone
    喜大普奔,终于不用费尽心思 decode/encode 了
    fy
        3
    fy  
       Jan 19, 2017
    喜大普奔
    banks0913
        4
    banks0913  
       Jan 19, 2017
    虽然一直用 python2.7 ,但还是支持!
    ansheng
        5
    ansheng  
       Jan 19, 2017
    然而终于可以抛弃 py2le
    mansur
        6
    mansur  
       Jan 19, 2017
    天灭 python2
    zhusimaji
        7
    zhusimaji  
       Jan 19, 2017
    。。。。。一直 python2 , 3 暂时不适应
    janxin
        8
    janxin  
       Jan 19, 2017 via iPhone
    滋瓷 Type Hint
    phithon
        9
    phithon  
       Jan 19, 2017
    强烈支持啊。
    Django 源码里大量兼容 2 的内容,完全不需要
    irory
        10
    irory  
       Jan 19, 2017
    @hareandlion 表示自从用了 PY3 之后 . 表示 decode/encode 多了好多 . - - |||
    devopscode
        11
    devopscode  
       Jan 19, 2017
    放弃支持,不代表不能用,再说还有其他框架还呢。
    JhZ7z587cYROBgVQ
        12
    JhZ7z587cYROBgVQ  
       Jan 19, 2017
    @irory +1
    morland
        13
    morland  
       Jan 19, 2017
    。。。。。。。。。哈?
    yonka
        14
    yonka  
       Jan 19, 2017
    天灭 python2
    wwqgtxx
        15
    wwqgtxx  
       Jan 19, 2017
    主要还是坐等 pypy 能尽快支持 python3(现在的 pypy3 依然是玩具级别),要不然很多情况下为了运行速度还是不得不兼容 python2
    anying
        16
    anying  
       Jan 19, 2017
    天灭 python2 , 喜大普奔
    evlos
        17
    evlos  
       Jan 19, 2017
    可以可以,已经用 py3 好久了
    lovebeyondalways
        18
    lovebeyondalways  
       Jan 19, 2017 via Android
    Senevan
        19
    Senevan  
       Jan 19, 2017 via Android
    天灭 py2
    flowerwrong
        20
    flowerwrong  
       Jan 19, 2017 via iPhone   ❤️ 1
    可以放弃 django 2 啦,哈哈哈哈
    k2625065
        21
    k2625065  
       Jan 19, 2017
    @wwqgtxx 之前 Mozilla 给 pypy 捐了不少钱来搞 Python 3.5 的支持 https://morepypy.blogspot.com/2016/08/pypy-gets-funding-from-mozilla-for.html
    inoris
        22
    inoris  
       Jan 19, 2017
    喜大普奔,然而我司还在用 Django 1.4 ,哈哈哈。
    wwqgtxx
        23
    wwqgtxx  
       Jan 19, 2017 via iPhone
    @k2625065 但是进展依然不乐观
    billlee
        24
    billlee  
       Jan 19, 2017
    @wwqgtxx 别坐等啊,去捐款
    ericls
        25
    ericls  
       Jan 19, 2017 via iPhone
    这个很久很久以前就出现在 road map 上了啊
    dongxiaozhuo
        26
    dongxiaozhuo  
       Jan 19, 2017 via iPhone
    然而公司依然 python 2.6
    jimzhong
        27
    jimzhong  
       Jan 20, 2017
    喜大普奔
    lrh3321
        28
    lrh3321  
       Jan 20, 2017
    喜大普奔
    zhuce1234578888
        29
    zhuce1234578888  
       Jan 20, 2017
    支持
    NaVient
        30
    NaVient  
       Jan 20, 2017
    我们还停在 Python2.6+Django1.6 ,现在想想 重构需要花费的时间真的不多
    coder1988
        31
    coder1988  
       Jan 22, 2017
    我司一上来就是 python3.5 + django1.10 哈哈哈
    django2.0 支持 python3 的携程吗?
    Vernsu
        32
    Vernsu  
       Feb 15, 2017
    想七年前我学 python 的时候,大家都已经在说 python 3 万岁, python 2.X 拜拜。
    一晃这么多年过去了,还有很多人在 2.7 的坑里。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1458 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 78ms · UTC 17:06 · PVG 01:06 · LAX 10:06 · JFK 13:06
    ♥ Do have faith in what you're doing.