Python (64-bit) 歷史版本列表
Python 64 位是一種動態的面向對象編程語言,可用於多種軟件開發。它提供了與其他語言和工具集成的強大支持,附帶大量的標準庫,並且可以在幾天內學到。許多 Python 程序員報告大幅提高生產力,並認為語言鼓勵開發更高質量,更易維護的代碼。下載用於 PC 的 Python 離線安裝程序設置 64 位 Python 在 Windows,Linux / Unix,Mac OS X,OS / 2,Am... Python (64-bit) 軟體介紹更新時間:2015-09-16
更新細節:
What's new in this version:
- Improved Python zip application support
- Additional unpacking generalizations
- "%-formatting" for bytes and bytearray objects
- A new operator (@) for matrix multiplication
- Os.scandir(), a fast new directory traversal function
- Adding support for automatic retries of interrupted system calls
- Change StopIteration handling inside generators
- The typing module, a new standard for type annotations
- Math.isclose(), a function for testing approximate equality
- Making the Windows Python launcher aware of virtual environments
- Eliminating .pyo files
- A new and improved mechanism for loading extension modules
- Coroutines with async and await syntax
更新時間:2015-08-09
更新細節:
What's new in this version:
- Expanding the robust feature set of LightWave 2015, this new update offers numerous fixes and improvements, system updates for Python and support for NVIDIA Optimus technology.
- Pipeline updates in the LightWave 2015 Update 3 include improved GoZ and After Effects support; workflow enhancements to the VPR, viewport, and restore options. Interchange enhancements include support for AE CC2015, improved FBX rigging import from Maya, additional support for UV interchange with Unity and other game engines, improved Subd mesh interchange for Alembic, and additional GoZ interchange support for ZBrush 4R7. Hefty scripting improvements have also been made to the LScript Scene Object Agent, with 22 new data members and supporting environment constants, as well as updated Python control over LightWave Custom Object access
更新時間:2015-02-26
更新細節:
What's new in this version:
Library:
- Issue #6639: Module-level turtle functions no longer raise TclError after closing the window
- Issues #814253, #9179: Warnings now are raised when group references and conditional group references are used in lookbehind assertions in regular expressions
- Issue #23215: Multibyte codecs with custom error handlers that ignores errors consumed too much memory and raised SystemError or MemoryError. Original patch by Aleksi Torhamo
- Issue #5700: io.FileIO() called flush() after closing the file. flush() was not called in close() if closefd=False
- Issue #23374: Fixed pydoc failure with non-ASCII files when stdout encoding differs from file system encoding (e.g. on Mac OS)
- Issue #23481: Remove RC4 from the SSL module’s default cipher list
- Issue #21548: Fix pydoc.synopsis() and pydoc.apropos() on modules with empty docstrings
- Issue #22885: Fixed arbitrary code execution vulnerability in the dbm.dumb module. Original patch by Claudiu Popa
- Issue #23146: Fix mishandling of absolute Windows paths with forward slashes in pathlib
- Issue #23421: Fixed compression in tarfile CLI. Patch by wdv4758h
- Issue #23361: Fix possible overflow in Windows subprocess creation code Build:
- Issue #23445: pydebug builds now use “gcc -Og” where possible, to make the resulting executable faster
更新時間:2014-10-09
更新細節:
更新時間:2014-05-20
更新細節:
What's new in this version:
Core and Builtins:
- Issue #21418: Fix a crash in the builtin function super() when called without argument and without current frame (ex: embedded Python).
- Issue #21425: Fix flushing of standard streams in the interactive interpreter.
- Issue #21435: In rare cases, when running finalizers on objects in cyclic trash a bad pointer dereference could occur due to a subtle flaw in internal iteration logic. Library:
- Issue #10744: Fix PEP 3118 format strings on ctypes objects with a nontrivial shape.
- Issue #20998: Fixed re.fullmatch() of repeated single character pattern with ignore case. Original patch by Matthew Barnett.
- Issue #21075: fileinput.FileInput now reads bytes from standard stream if binary mode is specified. Patch by Sam Kimbrel.
- Issue #21396: Fix TextIOWrapper(..., write_through=True) to not force a flush() on the underlying binary stream. Patch by akira.
- Issue #21470: Do a better job seeding the random number generator by using enough bytes to span the full state space of the Mersenne Twister.
- Issue #21398: Fix an unicode error in the pydoc pager when the documentation contains characters not encodable to the stdout encoding. Tests:
- Issue #17756: Fix test_code test when run from the installed location.
- Issue #17752: Fix distutils tests when run from the installed location. IDLE:
- Issue #18104: Add idlelib/idle_test/htest.py with a few sample tests to begin consolidating and improving human-validated tests of Idle. Change other files as needed to work with htest. Running the module as __main__ runs all tests.
更新時間:2014-03-17
更新細節:
What's new in this version:
- Fix test_geturl failure in test_urllibnet due to new redirect of http://www.python.org/ to https://www.python.org.
更新時間:2014-03-10
更新細節:
What's new in this version:
Core and Builtins:
- Issue #20588: Make Python-ast.c C89 compliant.
- Issue #20437: Fixed 21 potential bugs when deleting objects references.
- Issue #20538: UTF-7 incremental decoder produced inconsistant string when input was truncated in BASE64 section.
- Issue #20731: Properly position in source code files even if they are opened in text mode. Patch by Serhiy Storchaka.
- Issue #19619: str.encode, bytes.decode and bytearray.decode now use an internal API to throw LookupError for known non-text encodings, rather than attempting the encoding or decoding operation and then throwing a TypeError for an unexpected output type. (The latter mechanism remains in place for third party non-text encodings) Library:
- Issue #20778: Fix modulefinder to work with bytecode-only modules.
- Issue #20791: copy.copy() now doesn’t make a copy when the input is a bytes object. Initial patch by Peter Otten.
- Issue #20621: Fixes a zipimport bug introduced in 3.3.4 that could cause spurious crashes or SystemErrors when importing modules or packages from a zip file. The change causing the problem was reverted.
- Issue #20404: io.TextIOWrapper (and hence the open() builtin) now uses the internal codec marking system added for issue #19619 to throw LookupError for known non-text encodings at stream construction time. The existing output type checks remain in place to deal with unmarked third party codecs.
- Issue #20635: Fixed grid_columnconfigure() and grid_rowconfigure() methods of Tkinter widgets to work in wantobjects=True mode.
- Issue #19612: On Windows, subprocess.Popen.communicate() now ignores OSError(22, ‘Invalid argument’) when writing input data into stdin, whereas the process already exited.
- Issue #6815: os.path.expandvars() now supports non-ASCII environment variables names and values.
- Issue #17671: Fixed a crash when use non-initialized io.BufferedRWPair. Based on patch by Stephen Tu.
- Issue #8478: Untokenizer.compat processes first token from iterator input. Patch based on lines from Georg Brandl, Eric Snow, and Gareth Rees.
- Issue #20594: Avoid name clash with the libc function posix_close.
- Issue #19856: shutil.move() failed to move a directory to other directory on Windows if source name ends with os.altsep.
- Issue #14983: email.generator now always adds a line end after each MIME boundary marker, instead of doing so only when there is an epilogue. This fixes an RFC compliance bug and solves an issue with signed MIME parts.
- Issue #20540: Fix a performance regression (vs. Python 3.2) when layering a multiprocessing Connection over a TCP socket. For small payloads, Nagle’s algorithm would introduce idle delays before the entire transmission of a message.
- Issue #16983: the new email header parsing code will now decode encoded words that are (incorrectly) surrounded by quotes, and register a defect.
- Issue #19772: email.generator no longer mutates the message object when doing a down-transform from 8bit to 7bit CTEs.
- Issue #18805: the netmask/hostmask parsing in ipaddress now more reliably filters out illegal values and correctly allows any valid prefix length.
- Issue #17369: get_filename was raising an exception if the filename parameter’s RFC2231 encoding was broken in certain ways. This was a regression relative to python2.
- Issue #20013: Some imap servers disconnect if the current mailbox is deleted, and imaplib did not handle that case gracefully. Now it handles the ‘bye’ correctly.
- Issue #19920: TarFile.list() no longer fails when outputs a listing containing non-encodable characters. Based on patch by Vajrasky Kok.
- Issue #20515: Fix NULL pointer dereference introduced by issue #20368.
- Issue #19186: Restore namespacing of expat symbols inside the pyexpat module.
- Issue #20426: When passing the re.DEBUG flag, re.compile() displays the debug output every time it is called, regardless of the compilation cache.
- Issue #20368: The null character now correctly passed from Tcl to Python. Improved error handling in variables-related commands.
- Issue #20435: Fix _pyio.StringIO.getvalue() to take into account newline translation settings.
- Issue #20288: fix handling of invalid numeric charrefs in HTMLParser.
- Issue #20424: Python implementation of io.StringIO now supports lone surrogates.
- Issue #19456: ntpath.join() now joins relative paths correctly when a drive is present.
- Issue #19077: tempfile.TemporaryDirectory cleanup is now most likely successful when called during nulling out of modules during shutdown. Misleading exception no longer raised when resource warning is emitted during shutdown.
- Issue #20367: Fix behavior of concurrent.futures.as_completed() for duplicate arguments. Patch by Glenn Langford.
- Issue #8260: The read(), readline() and readlines() methods of codecs.StreamReader returned incomplete data when were called after readline() or read(size). Based on patch by Amaury Forgeot d’Arc IDLE:
- Issue #20406: Use Python application icons for Idle window title bars. Patch mostly by Serhiy Storchaka.
- Update the python.gif icon for the Idle classbrowser and pathbowser from the old green snake to the new new blue and yellow snakes.
- Issue #17721: Remove non-functional configuration dialog help button until we make it actually gives some help when clicked. Patch by Guilherme Simões Tests:
- Issue #20743: Fix a reference leak in test_tcl.
- Issue #20510: Rewrote test_exit in test_sys to match existing comments, use modern unittest features, and use helpers from test.script_helper instead of using subprocess directly. Patch by Gareth Rees.
- Issue #20532: Tests which use _testcapi are now marked as CPython only.
- Issue #19920: Added tests for TarFile.list(). Based on patch by Vajrasky Kok.
- Issue #19990: Added tests for the imghdr module. Based on patch by Claudiu Popa.
- Issue #20474: Fix test_socket “unexpected success” failures on OS X 10.7+.
- Issue #20605: Make test_socket getaddrinfo OS X segfault test more robust. Documentation:
- Issue #20488: Importlib is no longer an implementation of import, it’s the implementation. Build:
- Issue #20221: Removed conflicting (or circular) hypot definition when compiled with VS 2010 or above. Initial patch by Tabrez Mohammed.
- Issue #20609: Restored the ability to build 64-bit Windows binaries on 32-bit Windows, which was broken by the change in issue #19788. Tools/Demos:
- Issue #20535: PYTHONWARNING no longer affects the run_tests.py script. Patch by Arfrever Frehtes Taifersar Arahesis.
更新時間:2014-02-11
更新細節:
What's new in this version:
- This release fixes several security and a lot of overall bug fixes
更新時間:2013-11-19
更新細節:
What's new in this version:
Library:
- Issue #19227: Any re-seeding of the OpenSSL RNG on fork has been removed; this should be handled by OpenSSL itself or by the application.
- Issue #19435: Fix directory traversal attack on CGIHttpRequestHandler.
Tests:
- Issue #18964: Fix test_tcl when run with Tcl/Tk versions < 8.5.
Build:
- Issue #15663: Revert OS X installer built-in Tcl/Tk support for 3.3.3. Some third-party projects, such as Matplotlib and PIL/Pillow, depended on being able to build with Tcl and Tk frameworks in /Library/Frameworks.
更新時間:2013-05-16
更新細節:
What's new in this version:
Core and Builtins:
- Issue #17237: Fix crash in the ASCII decoder on m68k.
- Issue #17408: Avoid using an obsolete instance of the copyreg module when the interpreter is shutdown and then started again.
- Issue #17863: In the interactive console, don’t loop forever if the encoding can’t be fetched from stdin.
- Issue #17867: Raise an ImportError if __import__ is not found in __builtins__.
- Issue #17857: Prevent build failures with pre-3.5.0 versions of sqlite3, such as was shipped with Centos 5 and Mac OS X 10.4.
- Issue #17413: sys.settrace callbacks were being passed a string instead of an exception instance for the ‘value’ element of the arg tuple if the exception originated from C code; now an exception instance is always provided.
- Issue #17782: Fix undefined behaviour on platforms where struct timespec‘s “tv_nsec” member is not a C long.
- Issue #17715: Fix segmentation fault from raising an exception in a __trunc__ method.
- Issue #16447: Fixed potential segmentation fault when setting __name__ on a class.
- Issue #17669: Fix crash involving finalization of generators using yield from.
- Issue #17619: Make input() check for Ctrl-C correctly on Windows.
- Issue #17610: Don’t rely on non-standard behavior of the C qsort() function.
- Issue #17357: Add missing verbosity output when using -v/-vv.
Library:
- Issue #17606: Fixed support of encoded byte strings in the XMLGenerator
- .characters() and ignorableWhitespace() methods. Original patch by Sebastian
- Ortiz Vasquez.
- Issue #17732: Ignore distutils.cfg options pertaining to install paths if a virtual environment is active.
- Issue #1159051: Back out a fix for handling corrupted gzip files that broke backwards compatibility.
- Issue #17915: Fix interoperability of xml.sax with file objects returned by codecs.open().
- Issue #16601: Restarting iteration over tarfile no more continues from where it left off. Patch by Michael Birtwell.
- Issue #17289: The readline module now plays nicer with external modules or applications changing the rl_completer_word_break_characters global variable. Initial patch by Bradley Froehle.
- Issue #12181: select module: Fix struct kevent definition on OpenBSD 64-bit platforms. Patch by Federico Schwindt.
- Issue #14173: Avoid crashing when reading a signal handler during interpreter shutdown.
- Issue #16316: mimetypes now recognizes the .xz and .txz (.tar.xz) extensions.
- Issue #15902: Fix imp.load_module() accepting None as a file when loading an extension module.
- Issue #17802: Fix an UnboundLocalError in html.parser. Initial tests by Thomas Barlow.
- Issue #15535: Fix namedtuple pickles which were picking up the OrderedDict instead of just the underlying tuple.
- Issue #17192: Restore the patch for Issue #11729 which was ommitted in 3.3.1 when updating the bundled version of libffi used by ctypes. Update many libffi files that were missed in 3.3.1’s update to libffi-3.0.13.
- Issue #17358: Modules loaded by imp.load_source() and load_compiled() (and by extention load_module()) now have a better chance of working when reloaded.
- Issue #17353: Plistlib emitted empty data tags with deeply nested datastructures
- Issue #11714: Use ‘with’ statements to assure a Semaphore releases a condition variable. Original patch by Thomas Rachel.
- Issue #17795: Reverted backwards-incompatible change in SysLogHandler with Unix domain sockets.
- Issue #17555: Fix ForkAwareThreadLock so that size of after fork registry does not grow exponentially with generation of process.
- Issue #17707: multiprocessing.Queue’s get() method does not block for short timeouts.
- Isuse #17720: Fix the Python implementation of pickle.Unpickler to correctly process the APPENDS opcode when it is used on non-list objects.
- Issue #17012: shutil.which() no longer fallbacks to the PATH environment variable if empty path argument is specified. Patch by Serhiy Storchaka.
- Issue #17710: Fix pickle raising a SystemError on bogus input.
- Issue #17341: Include the invalid name in the error messages from re about invalid group names.
- Issue #17702: os.environ now raises KeyError with the original environment variable name (str on UNIX), instead of using the encoded name (bytes on UNIX).
- Issue #16163: Make the importlib based version of pkgutil.iter_importers work for submodules. Initial patch by Berker Peksag.
- Issue #16804: Fix a bug in the ‘site’ module that caused running ‘python -S -m site’ to incorrectly throw an exception.
- Issue #17016: Get rid of possible pointer wraparounds and integer overflows in the re module. Patch by Nickolai Zeldovich.
- Issue #16658: add missing return to HTTPConnection.send() Patch by Jeff Knupp.
- Issue #14971: unittest test discovery no longer gets confused when a function has a different __name__ than its name in the TestCase class dictionary.
- Issue #17678: Fix DeprecationWarning in the http/cookiejar.py by changing the usage of get_origin_req_host() to origin_req_host.
- Issue #17666: Fix reading gzip files with an extra field.
- Issue #17502: Process DEFAULT values in mock side_effect that returns iterator. Patch by Michael Foord.
- Issue #17572: Avoid chained exceptions while passing bad directives to time.strptime(). Initial patch by Claudiu Popa.
- Issue #17435: threading.Timer’s __init__ method no longer uses mutable default values for the args and kwargs parameters.
- Issue #17526: fix an IndexError raised while passing code without filename to inspect.findsource(). Initial patch by Tyler Doyle.
- Issue #16550: Update the opcode descriptions of pickletools to use unsigned integers where appropriate. Initial patch by Serhiy Storchaka.
IDLE:
- Issue #17838: Allow sys.stdin to be reassigned.
- Issue #13495: Avoid loading the color delegator twice in IDLE.
- Issue #17798: Allow IDLE to edit new files when specified on command line.
- Issue #14735: Update IDLE docs to omit “Control-z on Windows”.
- Issue #17585: Fixed IDLE regression. Now closes when using exit() or quit().
- Issue #17657: Show full Tk version in IDLE’s about dialog. Patch by Todd Rovito.
- Issue #17613: Prevent traceback when removing syntax colorizer in IDLE.
- Issue #1207589: Backwards-compatibility patch for right-click menu in IDLE.
- Issue #16887: IDLE now accepts Cancel in tabify/untabify dialog box.
- Issue #17625: In IDLE, close the replace dialog after it is used.
- Issue #14254: IDLE now handles readline correctly across shell restarts.
- Issue #17614: IDLE no longer raises exception when quickly closing a file.
- Issue #6698: IDLE now opens just an editor window when configured to do so.
- Issue #8900: Using keyboard shortcuts in IDLE to open a file no longer raises an exception.
- Issue #6649: Fixed missing exit status in IDLE. Patch by Guilherme Polo.
Tests:
- Issue #17833: Fix test_gdb failures seen on machines where debug symbols for glibc are available (seen on PPC64 Linux).
- Issue #7855: Add tests for ctypes/winreg for issues found in IronPython. Initial patch by Dino Viehland.
- Issue #17712: Fix test_gdb failures on Ubuntu 13.04.
- Issue #17835: Fix test_io when the default OS pipe buffer size is larger than one million bytes.
- Issue #17065: Use process-unique key for winreg tests to avoid failures if test is run multiple times in parallel (eg: on a buildbot host).
- Issue #12820: add tests for the xml.dom.minicompat module. Patch by John Chandler and Phil Connell.
- Issue #17790: test_set now works with unittest test discovery. Patch by Zachary Ware.
- Issue #17789: test_random now works with unittest test discovery. Patch by Zachary Ware.
- Issue #17779: test_osx_env now works with unittest test discovery. Patch by Zachary Ware.
- Issue #17766: test_iterlen now works with unittest test discovery. Patch by Zachary Ware.
- Issue #17690: test_time now works with unittest test discovery. Patch by Zachary Ware.
- Issue #17692: test_sqlite now works with unittest test discovery. Patch by Zachary Ware.
- Issue #17843: Removed bz2 test data file that was triggering false-positive virus warnings with certain antivirus software.
Documentation:
- Issue #15940: Specify effect of locale on time functions.
- Issue #6696: add documentation for the Profile objects, and improve profile/cProfile docs. Patch by Tom Pinckney.
- Issue #17915: Fix interoperability of xml.sax with file objects returned by codecs.open().
Build:
- Issue #17547: In configure, explicitly pass -Wformat for the benefit for GCC 4.8.
- Issue #17962: Build with OpenSSL 1.0.1e on Windows.