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