Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

是否考虑像Django一样从2.0开始只支持python3? #48

Closed
waketzheng opened this issue May 29, 2018 · 1 comment
Closed

是否考虑像Django一样从2.0开始只支持python3? #48

waketzheng opened this issue May 29, 2018 · 1 comment

Comments

@waketzheng
Copy link
Contributor

python3对中文的支持比较好,如果无需兼容python2的话,代码会优雅很多,更符合python之禅,所以建议完全迁移到py3

@fzlee
Copy link
Owner

fzlee commented May 29, 2018

我个人是不介意丢掉Python 2的, 但是到时候只怕会有不少用户过来抱怨。

目前来说, 会继续提供对二者的支持, 原因如下

  1. 一些历史的项目,估计想要整体迁移到Python 3 确实不容易。
  2. Django 之所以可以不兼容Python 2, 是因为他们有LTS的版本,可以支持Python 2到至少2020年。
  3. 现在同时兼容Python 2 和3 对代码的整洁,架构,性能等都没有太大影响。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants