安装Python 3.3.6的最简单方法?(没有构建)
从python.org安装python3.4是件轻而易举的事——它下载了一个.msi文件,接下来我知道,我已经在我的C驱动器上安装了python。然而,我想安装Python3.3,因为我想使用PyScripter,据我所知,PyScripter不适用于Python3.4 我进入了这个页面:我只能选择下载一个“tarball”。从我对自述文件的理解来看,我需要从这里构建python,这是我从来没有做过的(而且它看起来并不那么简单) 尽管有针对python 3.3.5的msi安装程序: org声明3.3.6只是对3.3.5的安全更新,因此如果可能,最好安装3.3.6 如何最轻松地安装3.3.6?如果没有简单的方法,3.3.5真的有什么问题吗?如果你阅读,就像Pierre提到的那样 这是一个仅限源代码的安全修复版本 据我所知,这意味着唯一的更改是python源文件。这意味着拥有一个实际的安装程序没有任何好处,因为唯一的更改是在安装Python 3.3.6的最简单方法?(没有构建),python,windows,python-3.x,Python,Windows,Python 3.x,从python.org安装python3.4是件轻而易举的事——它下载了一个.msi文件,接下来我知道,我已经在我的C驱动器上安装了python。然而,我想安装Python3.3,因为我想使用PyScripter,据我所知,PyScripter不适用于Python3.4 我进入了这个页面:我只能选择下载一个“tarball”。从我对自述文件的理解来看,我需要从这里构建python,这是我从来没有做过的(而且它看起来并不那么简单) 尽管有针对python 3.3.5的msi安装程序: org声明3
.py
(可能)文件中
它还指出:
可在中找到与固定安全性相关的问题的列表
如果您懒得点击该链接,以下是相关部分:
Core and Builtins
-----------------
- Issue #22518: Fixed integer overflow issues in "backslashreplace",
"xmlcharrefreplace", and "surrogatepass" error handlers.
- Issue #22520: Fix overflow checking when generating the repr of a unicode
object.
- Issue #22519: Fix overflow checking in PyBytes_Repr.
- Issue #22518: Fix integer overflow issues in latin-1 encoding.
Library
-------
- Issue #22517: When a io.BufferedRWPair object is deallocated, clear its
weakrefs.
- Issue #22419: Limit the length of incoming HTTP request in wsgiref server to
65536 bytes and send a 414 error code for higher lengths. Patch contributed
by Devin Cook.
- Lax cookie parsing in http.cookies could be a security issue when combined
with non-standard cookie handling in some Web browsers. Reported by
Sergey Bobrov.
- Issue #21766: Prevent a security hole in CGIHTTPServer by URL unquoting paths
before checking for a CGI script at that path.
- Fix arbitrary memory access in JSONDecoder.raw_decode with a negative second
parameter. Bug reported by Guido Vranken.
- Issue #20633: Replace relative import by absolute import.
- Issue #21082: In os.makedirs, do not set the process-wide umask. Note this
changes behavior of makedirs when exist_ok=True.
- Issue #20875: Prevent possible gzip "'read' is not defined" NameError.
Patch by Claudiu Popa.
- Issue #11599: When an external command (e.g. compiler) fails, distutils now
prints out the whole command line (instead of just the command name) if the
environment variable DISTUTILS_DEBUG is set.
- Issue #4931: distutils should not produce unhelpful "error: None" messages
anymore. distutils.util.grok_environment_error is kept but doc-deprecated.
- Issue #20283: RE pattern methods now accept the string keyword parameters
as documented. The pattern and source keyword parameters are left as
deprecated aliases.
- Issue #21323: Fix http.server to again handle scripts in CGI subdirectories,
broken by the fix for security issue #19435. Patch by Zach Byrne.
Tests
-----
- Issue #17752: Fix distutils tests when run from the installed location.
- Issue #20946: Correct alignment assumptions of some ctypes tests.
- Issue #20939: Fix test_geturl failure in test_urllibnet due to
new redirect of http://www.python.org/ to https://www.python.org.
你必须自己决定——你关心这些问题吗?如果是这样的话,您应该能够只提取tarball并在python源代码上进行复制—可能只是合并
lib
目录。如果你真的很认真,你应该在适当的目录上运行一个diff来识别文件及其实际更改。当3.4.0发布时,3.3.x的正常维护停止了。这是标准政策。但是,在3.3.0(也是标准策略)之后的5年内,将进行源代码安全修复。“安全性”修复的目标是运行在Python上的服务器,并接受来自网络上随机用户的输入。运行此类服务器的人通常编译自己的二进制文件,并且通常在linux等平台上运行,而不是在windows上运行。对于上一个Windows安装程序,您应该没有问题
附言25:关于PyScriptor在3.4上运行的说法。您可以查看.6版本中到底有哪些新功能。很明显,他们认为这些变化并不能证明一个新的二进制版本是合理的,我有点同意你应该可以在这里使用3.3.5。谢谢-这让人放心。我认为制作一个官方的.msi文件需要大量的工作(和测试),这就是为什么他们可能没有为这个python版本制作一个文件的原因?@我怀疑这真的需要那么多的努力。在我的回答中,这可能只是因为它只更改python源代码。没有要更新的二进制文件意味着一个完整的安装可能是过度的。顺便说一句,如果你真的对一个IDE感兴趣,你可能会去看看或者。就我个人而言,我只是Vim的粉丝&一两个命令提示符(实际上我只有VirtualBox,所以我可以运行i3wm docker——但我很疯狂;)嗨,Wayne,我感谢你对这一点的总结。顺便说一句,我不懒惰,我只是不是一个全面的程序员,知道所有的术语,我不经常与python工作。阅读以上内容,我不可能知道这是“相关部分”(除非我做了大量研究)。