为什么不切换到Python 3.x? [英] Why won't you switch to Python 3.x?

查看:134
本文介绍了为什么不切换到Python 3.x?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请问这是为了部署原因。像在Python中一样,如果我在python中编写一个解决方案,那么由于缺少python 3的使用,我觉得有必要写2.x。这是我日常关心的一个主要问题,我想知道发生了什么。 / p>

对于许多基于python的问题,人们正在提供根本不适用于python 3.x 的解决方案。

所以,我提出了一个问题:你在个人或工作环境中是否阻止你转换到python 3.x?转换脚本存在,但程序员(通常是所有人的最早采用者)似乎拒绝升级。



为什么?

解决方案



[但是还需要注意的是,使用django第三方软件包和扩展名在许多Django项目中都处于不同阶段的Python 3兼容性实现。有关详细信息,请参阅 Django软件包网站,跟踪各种项目的状态。]



Django尚未移至3.0。这是我需要知道的。


相关问题




这些问题中的大多数答案都反映了同样的观点。除了Django之外,太多框架/库--WxPython,PyGame,Django等 - 还没有采用它。我肯定不会这样做,直到他们做。


I ask this for deployable reasons. As in, if I write a solution in python, I feel bound to write to 2.x due to the lack of adoption of python 3. This is a major daily concern of mine, and I want to figure out what's going on.

For many of the python-based questions here, people are giving solutions that simply do not work in python 3.x.

So, I ask the question: What has prevented you from switching to python 3.x in your personal or work environment? The conversion script exists, and yet programmers (who are usually the earliest adopters of everything) seem to refuse to upgrade.

Why?

解决方案

[Edit 03/10/2014: This answer is now out-of-date. Django has supported Python 3 for some time.]

[However, it must also be noted that the django third-party packages and extensions used in many Django projects are in various stages of Python 3 compatibility implementation. More details can be found in Django packages website which tracks the statuses of various projects.]

Django has not moved over to 3.0. That is all I need to know.

Related Questions

Most of the answers in these questions echo the same sentiments. Aside from Django, too many frameworks/libraries - WxPython, PyGame, Django, etc - have still not adopted it. I'm sure as hell not making the move until they do.

这篇关于为什么不切换到Python 3.x?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆