TinyButStrong Error in field [var.version...]: the key 'version' does not exist or is not set in VarRef. (VarRef seems refers to $GLOBALS) This message can be cancelled using parameter 'noerr'.

TinyButStrong Error in field [var.version...]: the key 'version' does not exist or is not set in VarRef. (VarRef seems refers to $GLOBALS) This message can be cancelled using parameter 'noerr'.
 Python 軟體歷史版本 Download Page34 :: 軟體兄弟

Python 歷史版本列表 Page34

最新版本 [var.version]

Python 歷史版本列表

Python(以流行電視劇“Monty Python 的飛行馬戲團”命名)是一種年輕而且廣泛使用的面向對象編程語言,它是在 20 世紀 90 年代初期開發的,在 2000 年代得到了很大的普及,現代 Web 2.0 的運動帶來了許多靈活的在線服務的開發,這些服務都是用這種偉大的語言提供的這是非常容易學習,但功能非常強大,可用於創建緊湊,但強大的應用程序.8997423 選擇版本:Python 3.... Python 軟體介紹

Python (32-bit)Python (64-bit)


Python 3.6.0 (64-bit) 查看版本資訊

更新時間:2016-12-23
更新細節:

What's new in this version:

New syntax features:
- PEP 498, formatted string literals
- PEP 515, underscores in numeric literals
- PEP 526, syntax for variable annotations
- PEP 525, asynchronous generators
- PEP 530: asynchronous comprehensions

New library modules:
- secrets: PEP 506 – Adding A Secrets Module To The Standard Library

CPython implementation improvements:
- The dict type has been reimplemented to use a more compact representation similar to the PyPy dict implementation. This resulted in dictionaries using 20% to 25% less memory when compared to Python 3.5
- Customization of class creation has been simplified with the new protocol
- The class attribute definition order is now preserved
- The order of elements in **kwargs now corresponds to the order in which keyword arguments were passed to the function
- DTrace and SystemTap probing support has been added
- The new PYTHONMALLOC environment variable can now be used to debug the interpreter memory allocation and access errors

Significant improvements in the standard library:
- The asyncio module has received new features, significant usability and performance improvements, and a fair amount of bug fixes. Starting with Python 3.6 the asyncio module is no longer provisional and its API is considered stable
- A new file system path protocol has been implemented to support path-like objects. All standard library functions operating on paths have been updated to work with the new protocol
- The datetime module has gained support for Local Time Disambiguation
- The typing module received a number of improvements and is no longer provisional
- The tracemalloc module has been significantly reworked and is now used to provide better output for ResourceWarning as well as provide better diagnostics for memory allocation errors. See the PYTHONMALLOC section for more information

Security improvements:
- The new secrets module has been added to simplify the generation of cryptographically strong pseudo-random numbers suitable for managing secrets such as account authentication, tokens, and similar
- On Linux, os.urandom() now blocks until the system urandom entropy pool is initialized to increase the security. See the PEP 524 for the rationale
- The hashlib and ssl modules now support OpenSSL 1.1.0
- The default settings and feature set of the ssl module have been improved
- The hashlib module received support for the BLAKE2, SHA-3 and SHAKE hash algorithms and the scrypt() key derivation function

Python 2.7.13 查看版本資訊

更新時間:2016-12-19
更新細節:

Quantum GIS 2.18 (64-bit) 查看版本資訊

更新時間:2016-10-25
更新細節:

What's new in this version:

LONG TERM RELEASE:
- This is a special release since it is designated an ‘LTR’ (Long Term Release). LTR releases will be supported with backported bug fixes for one year, and will be in permanent feature freeze (i.e. no new features will be added, only bug fixes and trivial updates).
- The purpose of LTR releases is to provide a stable and less frequently changing platform for enterprises and organisations that do not want to deal with updating user skills, training materials etc. more than once per year. The success of the LTR is very much down to you, our beloved users - we need your support to help funding bug fixes and making sure in your support contracts with support providers specify that any bug fixes done on your behalf are applied to the LTR branch as well as our normal development branch.
- If an LTR is important to you, please consider also directly supporting the QGIS project, or encourage your commercial provider to use LTR as a basis for your enterprise solution so that everyone may benefit from a stable platform that is being continuously improved and refined. Note that for users and organisations that like to live on the frontier, our regular four monthly releases will continue unabated.

NEW FEATURES:
- QGIS 2.8 is also a special release because it includes so many great new features, tweaks and enhancements to make the most popular Free desktop GIS even more feature filled and useful.
- Whenever new features are added to software they introduce the possibility of new bugs - if you encounter any problems with this release, please file a ticket on the QGIS Bug Tracker.

GENERAL:
Enter expressions into spin boxes:
- When editing attributes in the attribute table or forms, you can now enter expressions directly into spin boxes, e.g. 5 * 2.5 and they will be automatically evaluated.

Bookmarks can be imported/exported:
- It is now possible to save / load your bookmarks to a file. This makes it easy to share bookmarked locations, or transfer them between computers.

Improvements to expressions:
- Integer division produces a double when required: Previously dividing two integers in an expression would always result in an integer value, i.e. 5 / 2 = 2. Now the result will always be double when required, so 5 / 2 = 2.5, which is much more expected for users. A new integer divide operator - // has been added to mimic the old behaviour, i.e. 5 // 2 = 2.
- New ‘if()’ function: There is now a new if(cond, true, false) expression
- Lazy evaluation for expressions
- Added get and transform geometry: These new keywords can be used with getFeature for some geometry tests like intersects, crosses, contains, etc.
- geometry - returns the feature’s geometry
- transform - returns the transformed geometry
- Continuous testing framework and QA improvements:
- In our ongoing quest to improve the stability and quality of QGIS, every commit is now tested against a growing test suite to identify regressions automatically. In the image on the right you can see the list of incoming pull requests on our GitHub page are now automatically annotated with a check or cross based on whether our test suite successfully ran on Travis.ci when the pull request is made or updated.
- We are also now regularly performing Coverity scans of QGIS codebase. As a result of this, we have identified and fixed over 1000 flagged issues, including memory leaks and potential crashes. QGIS has a defect density of 0.01 wheras the average for programs of similar size is about 1.0.
- Analysis tools

Measure dialog improvements:
- The measure tool has been improved so that you can now select which units should be used in the measure dialog. There is also a new info section in the dialog that shows which settings are being used during measurement calculations.

BROWSER
More responsive browser:
- In the QGIS Browser items are now expanded in their own threads, speeding up the load time of the browser and making the browser more responsive. Navigating PostGIS sources is now much faster in the browser. The animated snapshot to the right (click image to see the animation) shows the loading of two slow WMS servers in parallel . The browser’s state (tree expansion) is restored on startup.

DATA PROVIDERS:
Support for contextual WMS legend graphics:
- If your WMS server supports contextual legends, you can make use of them in QGIS now too. Contextual legends are getLegendGraphic requests which return only the relevant legend for your current view extent, and thus do not include legend items for things you can’t see in the current map.

DATA MANAGEMENT:
Custom prefix for joins:
- You can now define a custom prefix in the joins manager in the layer properties dialog. When using a prefix, the attribute table in will show joined attribute names with your preferred prefix.

Support for creation of temporary memory layers:
- This release add support for creating new temporary scratch layers within QGIS core. Scratch layers can be created in the Layer --> Create layer --> New Temporary Scratch Layer menu option.

Support for calculations on selected rows:
- In the attribute table you can now do calculations on selected rows only thanks to the new button added to the field calculator bar.

DIGITISING
Advanced digitizing tools:
- If you ever wished you could digitise lines exactly parallel or at right angles, lock lines to specific angles and so on in QGIS, now you can! The advanced digitizing tools is a port of the CADinput plugin and adds a new panel to QGIS. The panel becomes active when capturing new geometries or geometry parts
- Feature: Improved simplify tool
- The simplify tool has been overhauled, adding:
- OTF reprojection support
- user can specify exact tolerance (not just non-sense relative value)
- tolerance can be specified either in map units or layer units or pixels
- tolerance settings are stored in settings
- simplify multiple features at once (drag a rectangle instead of just clicking)
- support for multi-part features
- statistics about reduction of the number of vertices

Snapping improvements:
- There is a new snapping mode : snap to all layers which makes it quick to enable snapping between all layers. Also the underlying snapping architecture of QGIS has been overhauled making snapping much faster on large projects and improving the precision with which snapping takes place. ​There’s also less confusion with snapping tolerances being to map units or layer units, so those anticipated 1 metre tolerances don’t become 1 degree tolerances without you knowing.

LAYER LEGEND
Show rule-based renderer’s legend as a tree:
- Advanced users who leverage QGIS’s rule based renderer system will be pleased to see that the rules are now presented as a tree in the legend. Better still, each node in the tree can be toggled on/off individually providing for great flexibility in which sublayers get rendered in your map.

MAP COMPOSER
Composer GUI Improvements
- View menu option to hide bounding boxes. This allows users to hide the bounding boxes for selected items within a composition. It’s a handy feature for allowing interaction with items while previewing exactly how they will look when the composition is exported, without large boxes blocking the view.
- Full screen mode for composer
- Option to toggle display of panels in composer, available by both the view menu, using the shortcut F10 and by pressing Tab when the composer canvas is selected. It’s useful for maximising the space when planning a map layout.

Grid improvements:
- In the composer you now have finer control of frame and annotation display. Previously, for rotated maps or reprojected grids, the composer would draw all coordinates for every map side. This resulted in a mix of latitude/y and longitude/x coordinates showing on a side. Now you can control whether you want all coordinates, latitude only or longitude only for each map frame side. Similar options have also been added for controlling how a map grid frame is divided.
- New vertical descending direction for annotations. This change adds a new descending vertical direction mode for map grid annotations. Previously only ascending text was supported for vertical annotations.
- Feature: Label item margins
- You can now control both horizontal and vertical margins for label items. Previously only a single margin setting would apply to both horizontal and vertical margins. This change allows users to specify different horizontal and vertical margins.
- You can now specify negative margins for label items, allowing text to be drawn slightly outside of a label item’s bounds. This is desirable for aligning label items with other items while allowing for optical margin alignment for the label type.

PLUGINS
Python console improvements:
- You can now drag and drop python scripts into QGIS window and they will be executed automatically. We also added a toolbar icon to the plugins toolbar and a shortcut ( Ctrl-Alt-P ) for quick access to the python console.

PROCESSING
New geometric predicate parameter type:
- With this new parameter type, used in Select by location, Extract by location and Join attributes by location algorithms, the user can select precisely the spatial operator to use.
- This feature was funded by: French Ministry of Ecology, Sustainable Development and Energy

New algorithms:
- A number of new algorithms have been added to the processing framework:
- Regular points algorithm (addresses #5953)
- Symetrical difference algorithm (addresses #5953)
- Vector split algorithm (addresses #5953)
- Vector grid algorithm (addresses #5953)
- Hypsometric curves calculation algorithm
- Split lines with lines
- Refactor fields attributes manipulation algorithm

PROGRAMMABILITY
Add comment functionality to expressions:
- Comments can now be added to expressions using an SQL style -- prefix.

Custom expression function editor:
- You can now define custom expression functions in the expression widget. See this blog post for more details.

Qt5 support:
- QGIS can now be built using Qt5 libraries. Note that currently most binaries will still with Qt4 by default.

Bulk loading spatial index:
- In the API we have added support for bulk loading of spatial index. This is much faster way of initializing a spatial index. From python it is as simple as:
- The index tree should be also in theory be better constructed and may result in faster lookups.

Run only the selected part of a SQL query:
- In the DB Manager SQL editor, it is now possible to highlight a portion of the SQL and only that portion will be executed when you press F5 or click the run button

QGIS SERVER
Server python plugins:
- Python plugins support for QGIS server brings the power of python to server side, allowing for fast and efficient development and deployment of new features.
- This feature was developed by: Alessandro Pasotti (ItOpen)

Support for layer styles:
- QGIS Server now supports predefined layer styles in GetMap requests
- QGIS Server now supports multiple styles in GetStyles request (see symbology section below)

Add DescribeLayer Method to WMS:
- Styled Layer Descriptor profile of the Web Map Service: DescribeLayer
- Defining a user-defined style requires information about the features being symbolized, or at least their feature/coverage type. Since user-defined styles can be applied to a named layer, there needs to be a mechanism by which a client can obtain feature/coverage-type information for a named layer. This is another example of bridging the gap between the WMS concepts of layers and styles and WFS/WCS concepts such as feature-type and coverage layer. To allow this, a WMS may optionally support the DescribeLayer request.
- DescribeLayer method has been thought to be a better approach than overloading the WMS capabilities document even more.
- For each named layer, the description should indicate if it is indeed based on feature data and if so it should indicate the WFS/WCS (by a URL prefix) and the feature/coverage types. Note that it is perfectly valid for a named layer not to be describable in this way.

SYMBOLOGY
Raster image fill type:
- This new symbol layer type allows for filling polygons with a (tiled) raster image.
- Options include (data defined) file name, opacity, image size (in pixels, mm or map units), coordinate mode (feature or view), and rotation.

Live heatmap renderer:
- The new heatmap vector layer renderer allows for live, dynamic heatmaps for point layers.
- Options include specifying heatmap radius in pixels, mm or map units, choice of color ramp,weighting points by field, and a slider for selecting a tradeoff between render speed and quality.

Multiple styles per layer:
- It is now possible to set multiple styles for a layer and then easily toggle between them. This functionality is available in the legend context menu --> styles sub-menu where it is possible to add/remove styles and quickly switch between them. Layer sets remember styles, and different styles can also be applied to individual composer map items. The multiple styles defined are also available when the project is served via QGIS Server as a WMS layer. For more information on this see also this blog post.
- This feature was developed by: Gis3W, Lutra Consulting

More data-defined symbology settings:
- The user interface for data defined symbology settings has been improved - moving the data defined option next to each data definable property (in keeping with other parts of QGIS such as the labeling properties). Also many new properties have been made data definable for symbology. This user interface improvement also provides a way to immediately see if a data defined override is defined as well as easier access to the data-defined settings.

DXF export - improve marker symbol export:
- The exporter functionality for DXF files has been improved, with better fidelity of exported marker symbols to the original QGIS symbology.
- Feature: Map rotation in canvas, improved rotation in composer
- This release includes preliminary support for rotation in the map canvas. You can rotate the canvas using the new rotation widget in the status bar. Rotation support has been extended into the map composer too so that it correctly handles labelling and symbology, etc.

USER INTERFACE
Improved/consistent projection selection:
- All dialogs now use a consistent projection selection widget, which allows for quickly selecting from recently used and standard project/QGIS projections.

Python 2.7.12 查看版本資訊

更新時間:2016-06-28
更新細節:

What's new in this version:

Build:
- Update Windows builds to use OpenSSL 1.0.2h

IDLE:
- Fix about dialog

Python 3.5.2 (32-bit) 查看版本資訊

更新時間:2016-06-27
更新細節:

What's new in this version:

Core and Builtins:
- Update Windows builds to use OpenSSL 1.0.2h.

Tests:
- Ubuntu’s openssl OP_NO_SSLv3 is forced on by default; fix test.

IDLE:
- Allow non-ascii in idlelib/NEWS.txt - minimal part for 3.5.2.

Core and Builtins:
- Fixed SystemError if a custom opener (for open()) returns a negative number without setting an exception.
- Fixed TypeError when frame.f_trace is set to None. Patch by Xavier de Gaye.
- Fixed possible refleaks in failing Py_BuildValue() with the “N” format unit.
- Fix possible refleak when creating a function with annotations.
- Fixed bytearray.remove() for values greater than 127. Patch by Joe Jevnik.
- int.from_bytes() no longer bypasses constructors for subclasses.
- gc.get_objects() no longer contains a broken tuple with NULL pointer.
- Use RawConfigParser for .pypirc parsing, removing support for interpolation unintentionally added with move to Python 3. Behavior no longer does any interpolation in .pypirc files, matching behavior in Python 2.7 and Setuptools 19.0.
- Make the builtin slice type support cycle collection.
- super.__init__ no longer leaks memory if called multiple times. NOTE: A direct call of super.__init__ is not endorsed!
- PYTHONIOENCODING now has priority over locale in setting the error handler for stdin and stdout.
- Fixed crash on iterating exhausting iterators. Affected classes are generic sequence iterators, iterators of str, bytes, bytearray, list, tuple, set, frozenset, dict, OrderedDict, corresponding views and os.scandir() iterator.
- If coding cookie is specified multiple times on a line in Python source code file, only the first one is taken to account.
- Fix str.translate() when string is ASCII and first replacements removes character, but next replacement uses a non-ASCII character or a string longer than 1 character. Regression introduced in Python 3.5.0.
- Ensure exception reports from PyErr_Display() and PyErr_WriteUnraisable() are sensible even when formatting them produces secondary errors. This affects the reports produced by sys.__excepthook__() and when __del__() raises an exception.
- Correct behavior to reject comma as a legal character for cookie names.
- Avoid masking the original TypeError exception when using star (*) unpacking in function calls. Based on patch by Hagen Fürstenau and Daniel Urban.
- Fix the doc comment for FileFinder.find_spec().
- Add a new private _PyThreadState_UncheckedGet() function to get the current Python thread state, but don’t issue a fatal error if it is NULL. This new function must be used instead of accessing directly the _PyThreadState_Current variable. The variable is no more exposed since Python 3.5.1 to hide the exact implementation of atomic C types, to avoid compiler issues.
- Deque.insert() gave odd results for bounded deques that had reached their maximum size. Now an IndexError will be raised when attempting to insert into a full deque.
- When compiling code, don’t merge constants if they are equal but have a different types. For example, f1, f2 = lambda: 1, lambda: 1.0 is now correctly compiled to two different functions: f1() returns 1 (int) and f2() returns 1.0 (int), even if 1 and 1.0 are equal.
- [UPDATE] Comment out the one of the pickleability tests in _PyObject_GetState() due to regressions observed in Cython-based projects.
- Disallowed null characters in the type name.
- Fix segfault when an invalid nonlocal statement binds a name starting with two underscores.
- Instances of extension types with a state that aren’t subclasses of list or dict and haven’t implemented any pickle-related methods (__reduce__, __reduce_ex__, __getnewargs__, __getnewargs_ex__, or __getstate__), can no longer be pickled. Including memoryview.
- Massive replacing unsafe attribute setting code with special macro Py_SETREF.
- Special method __bytes__() now works in str subclasses.
- __sizeof__ methods of builtin types now use dynamic basic size. This allows sys.getsize() to work correctly with their subclasses with __slots__ defined.
- Fixed problem with in-place string concatenation and utf-8 cache.
- Mention PEP 420 in the importlib docs.
- Fixed crash in object.__reduce__() if slot name is freed inside __getattr__.
- Fixed crash on converting objects with special methods __bytes__, __trunc__, and __float__ returning instances of subclasses of bytes, int, and float to subclasses of bytes, int, and float correspondingly.
- Fix semantic bugs when using binary operators with dictionary views and tuples.
- Fix possible integer overflow and heap corruption in zipimporter.get_data().
- Fix TAB key behaviour in REPL with readline.
- Raise a RuntimeError when a coroutine object is awaited more than once.
- Update the __aiter__ protocol: instead of returning an awaitable that resolves to an asynchronous iterator, the asynchronous iterator should be returned directly. Doing the former will trigger a PendingDeprecationWarning.

Library:
- Update expat to 2.1.1, fixes CVE-2015-1283.
- Fix TLS stripping vulnerability in smptlib, CVE-2016-0772. Reported by Team

Oststrom:
- Implement missing IPv4Address.is_global property. It was documented since 07a5610bae9d. Initial patch by Roger Luethi.
- distutils register command now decodes HTTP responses correctly.

Initial patch by ingrid.
- A new version of typing.py provides several new classes and features: @overload outside stubs, Reversible, DefaultDict, Text, ContextManager, Type[], NewType(), TYPE_CHECKING, and numerous bug fixes (note that some of the new features are not yet implemented in mypy or other static analyzers). Also classes for PEP 492 (Awaitable, AsyncIterable, AsyncIterator) have been added (in fact they made it into 3.5.1 but were never mentioned).
- Stop http.server.BaseHTTPRequestHandler.send_error() from sending a message body for 205 Reset Content. Also, don’t send Content header fields in responses that don’t have a body. Patch by Susumu Koshiba.
- Fix the “platform” module to tolerate when sys.version contains truncated build information.
- On Linux, os.urandom() now calls getrandom() with GRND_NONBLOCK to fall back on reading /dev/urandom if the urandom entropy pool is not initialized yet. Patch written by Colm Buckley.
- In the zlib module, allow decompressing raw Deflate streams with a predefined zdict. Based on patch by Xiang Zhang.
- Fix wsgiref.simple_server.WSGIRequestHandler to completely write data to the client. Previously it could do partial writes and truncate data. Also, wsgiref.handler.ServerHandler can now handle stdout doing partial writes, but this is deprecated.
- Add __all__ to string. Patch by Emanuel Barry.
- subprocess.Popen.communicate now correctly ignores BrokenPipeError when the child process dies before .communicate() is called in more/all circumstances.
- distutils.upload now correctly handles HTTPError. Initial patch by Claudiu Popa.
- Fix SSLContext._load_windows_store_certs fails with PermissionError
- Avoid creating duplicate filters when using filterwarnings and simplefilter. Based on patch by Alex Shkop.
- Fix os.set_inheritable() on Android, ioctl() is blocked by SELinux and fails with EACCESS. The function now falls back to fcntl(). Patch written by Michal Bednarski.
- Fix infinite recursion using typing.py. Thanks to Kalle Tuure!
- Fix urllib.request redirect handling when the target only has a query string. Original fix by Ján Janech.
- The “urllib.request” module now percent-encodes non-ASCII bytes found in redirect target URLs. Some servers send Location header fields with non-ASCII bytes, but “http.client” requires the request target to be ASCII-encodable, otherwise a UnicodeEncodeError is raised. Based on patch by Christian Heimes.
- Honor debuglevel flag in urllib.request.HTTPHandler. Patch contributed by Chi Hsuan Yen.
- In the subprocess module, allow stderr to be redirected to stdout even when stdout is not redirected. Patch by Akira Li.
- mock_open ‘files’ no longer error on readline at end of file. Patch from Yolanda Robla.
- Fixed leaking a userptr in curses panel destructor.
- Removed unnecessary, and ignored, call to sum of squares helper in statistics.pvariance.
- The modulefinder module now supports extended opcode arguments.
- Fixed crashes related to directly created instances of types in _tkinter and curses.panel modules.
- weakref.ref() no longer silently ignores keyword arguments. Patch by Georg Brandl.
- xmlrpc now raises ResponseError on unsupported type tags instead of silently return incorrect result.
- Fixed the comparison of plistlib.Data with other types.
- Fix an uninitialized variable in ctypes.util.
- The bug only occurs on SunOS when the ctypes implementation searches for the crle program. Patch by Xiang Zhang. Tested on SunOS by Kees Bos.
- In urllib.request, change the proxy bypass host checking against no_proxy to be case-insensitive, and to not match unrelated host names that happen to have a bypassed hostname as a suffix. Patch by Xiang Zhang.
- recursive_repr() now sets __qualname__ of wrapper. Patch by Xiang Zhang.
- urllib.request will prefer lower_case proxy environment variables over UPPER_CASE or Mixed_Case ones. Patch contributed by Hans-Peter Jansen.
- assertSequenceEqual() now correctly outputs non-stringified differing items (like bytes in the -b mode). This affects assertListEqual() and assertTupleEqual().
- Remove “will be removed in Python 3.7” from deprecation messages of platform.dist() and platform.linux_distribution(). Patch by Kumaripaba Miyurusara Athukorala.
- itemgetter, attrgetter and methodcaller objects no longer silently ignore keyword arguments.
- Disassembling a class now disassembles class and static methods. Patch by Xiang Zhang.
- Fix error handling in shutil.get_terminal_size(), catch AttributeError instead of NameError. Patch written by Emanuel Barry.
- tarfile’s ustar and gnu formats now correctly calculate name and link field limits for multibyte character encodings like utf-8.
- Fix directory traversal vulnerability with http.server on Windows. This fixes a regression that was introduced in 3.3.4rc1 and 3.4.0rc1. Based on patch by Philipp Hagemeister.
- Stop encoding Latin-1-ized WSGI paths with UTF-8. Patch by Anthony Sottile.
- Fix os.urandom() on Solaris 11.3 and newer when reading more than 1,024 bytes: call getrandom() multiple times with a limit of 1024 bytes per call.
- Add .webm to mimetypes.types_map. Patch by Giampaolo Rodola’.
- Add .csv to mimetypes.types_map. Patch by Geoff Wilson.
- Fixed Y2038 problem in loading binary PLists.
- Handle terminal resizing with Readline 6.3+ by installing our own SIGWINCH handler. Patch by Eric Price.
- In http.server, respond with “413 Request header fields too large” if there are too many header fields to parse, rather than killing the connection and raising an unhandled exception. Patch by Xiang Zhang.
- Change BufferedReader.writable() and BufferedWriter.readable() to always return False.
- Fix a regression in mock.MagicMock. _Call is a subclass of tuple (changeset 3603bae63c13 only works for classes) so we need to implement __ne__ ourselves. Patch by Andrew Plummer.
- Raise ValueError rather than SystemError when a negative length is passed to SSLSocket.recv() or read().
- Fix SSL recv(0) and read(0) methods to return zero bytes instead of up to 1024.
- Fixed a bug in datetime.astimezone() method.
- warnings.formatwarning() now catches exceptions on linecache.getline(...) to be able to log ResourceWarning emitted late during the Python shutdown process.
- Ctrl+C during Readline history search now cancels the search mode when compiled with Readline 7.
- Avoid potential ValueError in BaseHandler.start_response. Initial patch by Peter Inglesby.
- ssl.py _load_windows_store_certs fails if windows cert store is empty. Patch by Baji.
- Fix pyclbr.readmodule() and pyclbr.readmodule_ex() to support importing packages.
- Account for remaining Content-Length in HTTPResponse.readline() and read1(). Based on patch by Silent Ghost. Also document that HTTPResponse now supports these methods.
- Handle sockets in directories unittest discovery is scanning. Patch from Victor van den Elzen.
- cookiejar.http2time() now returns None if year is higher than datetime.MAXYEAR.
- Fixes platform module detection of Windows Server
- Fixed parsing time in week 0 before Jan 1. Original patch by Tamás Bence Gedai.
- Invoking Path.owner() and Path.group() on Windows now raise NotImplementedError instead of ImportError.
- Fixed the keys() method for Canvas and Scrollbar widgets.
- Got rid of excessive buffering in the fileinput module. The bufsize parameter is no longer used.
- Fix UnboundLocalError in AbstractDigestAuthHandler.get_algorithm_impls. Initial patch by Mathieu Dupuy.
- Fixed pickling and copying the accumulate() iterator with total is None.
- Fixed debugging output for regular expressions with the (?x) flag.
- Fixed the subnets() methods in IP network classes for the case when resulting prefix length is equal to maximal prefix length. Based on patch by Xiang Zhang.
- Remove the file if the internal open() call in NamedTemporaryFile() fails. Patch by Silent Ghost.
- Fix XML-RPC client to retry when the server shuts down a persistent connection. This was a regression related to the new http.client.RemoteDisconnected exception in 3.5.0a4.
- Leading

Python 3.5.2 (64-bit) 查看版本資訊

更新時間:2016-06-27
更新細節:

What's new in this version:

Core and Builtins:
- Update Windows builds to use OpenSSL 1.0.2h.

Tests:
- Ubuntu’s openssl OP_NO_SSLv3 is forced on by default; fix test.

IDLE:
- Allow non-ascii in idlelib/NEWS.txt - minimal part for 3.5.2.

Core and Builtins:
- Fixed SystemError if a custom opener (for open()) returns a negative number without setting an exception.
- Fixed TypeError when frame.f_trace is set to None. Patch by Xavier de Gaye.
- Fixed possible refleaks in failing Py_BuildValue() with the “N” format unit.
- Fix possible refleak when creating a function with annotations.
- Fixed bytearray.remove() for values greater than 127. Patch by Joe Jevnik.
- int.from_bytes() no longer bypasses constructors for subclasses.
- gc.get_objects() no longer contains a broken tuple with NULL pointer.
- Use RawConfigParser for .pypirc parsing, removing support for interpolation unintentionally added with move to Python 3. Behavior no longer does any interpolation in .pypirc files, matching behavior in Python 2.7 and Setuptools 19.0.
- Make the builtin slice type support cycle collection.
- super.__init__ no longer leaks memory if called multiple times. NOTE: A direct call of super.__init__ is not endorsed!
- PYTHONIOENCODING now has priority over locale in setting the error handler for stdin and stdout.
- Fixed crash on iterating exhausting iterators. Affected classes are generic sequence iterators, iterators of str, bytes, bytearray, list, tuple, set, frozenset, dict, OrderedDict, corresponding views and os.scandir() iterator.
- If coding cookie is specified multiple times on a line in Python source code file, only the first one is taken to account.
- Fix str.translate() when string is ASCII and first replacements removes character, but next replacement uses a non-ASCII character or a string longer than 1 character. Regression introduced in Python 3.5.0.
- Ensure exception reports from PyErr_Display() and PyErr_WriteUnraisable() are sensible even when formatting them produces secondary errors. This affects the reports produced by sys.__excepthook__() and when __del__() raises an exception.
- Correct behavior to reject comma as a legal character for cookie names.
- Avoid masking the original TypeError exception when using star (*) unpacking in function calls. Based on patch by Hagen Fürstenau and Daniel Urban.
- Fix the doc comment for FileFinder.find_spec().
- Add a new private _PyThreadState_UncheckedGet() function to get the current Python thread state, but don’t issue a fatal error if it is NULL. This new function must be used instead of accessing directly the _PyThreadState_Current variable. The variable is no more exposed since Python 3.5.1 to hide the exact implementation of atomic C types, to avoid compiler issues.
- Deque.insert() gave odd results for bounded deques that had reached their maximum size. Now an IndexError will be raised when attempting to insert into a full deque.
- When compiling code, don’t merge constants if they are equal but have a different types. For example, f1, f2 = lambda: 1, lambda: 1.0 is now correctly compiled to two different functions: f1() returns 1 (int) and f2() returns 1.0 (int), even if 1 and 1.0 are equal.
- [UPDATE] Comment out the one of the pickleability tests in _PyObject_GetState() due to regressions observed in Cython-based projects.
- Disallowed null characters in the type name.
- Fix segfault when an invalid nonlocal statement binds a name starting with two underscores.
- Instances of extension types with a state that aren’t subclasses of list or dict and haven’t implemented any pickle-related methods (__reduce__, __reduce_ex__, __getnewargs__, __getnewargs_ex__, or __getstate__), can no longer be pickled. Including memoryview.
- Massive replacing unsafe attribute setting code with special macro Py_SETREF.
- Special method __bytes__() now works in str subclasses.
- __sizeof__ methods of builtin types now use dynamic basic size. This allows sys.getsize() to work correctly with their subclasses with __slots__ defined.
- Fixed problem with in-place string concatenation and utf-8 cache.
- Mention PEP 420 in the importlib docs.
- Fixed crash in object.__reduce__() if slot name is freed inside __getattr__.
- Fixed crash on converting objects with special methods __bytes__, __trunc__, and __float__ returning instances of subclasses of bytes, int, and float to subclasses of bytes, int, and float correspondingly.
- Fix semantic bugs when using binary operators with dictionary views and tuples.
- Fix possible integer overflow and heap corruption in zipimporter.get_data().
- Fix TAB key behaviour in REPL with readline.
- Raise a RuntimeError when a coroutine object is awaited more than once.
- Update the __aiter__ protocol: instead of returning an awaitable that resolves to an asynchronous iterator, the asynchronous iterator should be returned directly. Doing the former will trigger a PendingDeprecationWarning.

Library:
- Update expat to 2.1.1, fixes CVE-2015-1283.
- Fix TLS stripping vulnerability in smptlib, CVE-2016-0772. Reported by Team

Oststrom:
- Implement missing IPv4Address.is_global property. It was documented since 07a5610bae9d. Initial patch by Roger Luethi.
- distutils register command now decodes HTTP responses correctly.

Initial patch by ingrid.
- A new version of typing.py provides several new classes and features: @overload outside stubs, Reversible, DefaultDict, Text, ContextManager, Type[], NewType(), TYPE_CHECKING, and numerous bug fixes (note that some of the new features are not yet implemented in mypy or other static analyzers). Also classes for PEP 492 (Awaitable, AsyncIterable, AsyncIterator) have been added (in fact they made it into 3.5.1 but were never mentioned).
- Stop http.server.BaseHTTPRequestHandler.send_error() from sending a message body for 205 Reset Content. Also, don’t send Content header fields in responses that don’t have a body. Patch by Susumu Koshiba.
- Fix the “platform” module to tolerate when sys.version contains truncated build information.
- On Linux, os.urandom() now calls getrandom() with GRND_NONBLOCK to fall back on reading /dev/urandom if the urandom entropy pool is not initialized yet. Patch written by Colm Buckley.
- In the zlib module, allow decompressing raw Deflate streams with a predefined zdict. Based on patch by Xiang Zhang.
- Fix wsgiref.simple_server.WSGIRequestHandler to completely write data to the client. Previously it could do partial writes and truncate data. Also, wsgiref.handler.ServerHandler can now handle stdout doing partial writes, but this is deprecated.
- Add __all__ to string. Patch by Emanuel Barry.
- subprocess.Popen.communicate now correctly ignores BrokenPipeError when the child process dies before .communicate() is called in more/all circumstances.
- distutils.upload now correctly handles HTTPError. Initial patch by Claudiu Popa.
- Fix SSLContext._load_windows_store_certs fails with PermissionError
- Avoid creating duplicate filters when using filterwarnings and simplefilter. Based on patch by Alex Shkop.
- Fix os.set_inheritable() on Android, ioctl() is blocked by SELinux and fails with EACCESS. The function now falls back to fcntl(). Patch written by Michal Bednarski.
- Fix infinite recursion using typing.py. Thanks to Kalle Tuure!
- Fix urllib.request redirect handling when the target only has a query string. Original fix by Ján Janech.
- The “urllib.request” module now percent-encodes non-ASCII bytes found in redirect target URLs. Some servers send Location header fields with non-ASCII bytes, but “http.client” requires the request target to be ASCII-encodable, otherwise a UnicodeEncodeError is raised. Based on patch by Christian Heimes.
- Honor debuglevel flag in urllib.request.HTTPHandler. Patch contributed by Chi Hsuan Yen.
- In the subprocess module, allow stderr to be redirected to stdout even when stdout is not redirected. Patch by Akira Li.
- mock_open ‘files’ no longer error on readline at end of file. Patch from Yolanda Robla.
- Fixed leaking a userptr in curses panel destructor.
- Removed unnecessary, and ignored, call to sum of squares helper in statistics.pvariance.
- The modulefinder module now supports extended opcode arguments.
- Fixed crashes related to directly created instances of types in _tkinter and curses.panel modules.
- weakref.ref() no longer silently ignores keyword arguments. Patch by Georg Brandl.
- xmlrpc now raises ResponseError on unsupported type tags instead of silently return incorrect result.
- Fixed the comparison of plistlib.Data with other types.
- Fix an uninitialized variable in ctypes.util.
- The bug only occurs on SunOS when the ctypes implementation searches for the crle program. Patch by Xiang Zhang. Tested on SunOS by Kees Bos.
- In urllib.request, change the proxy bypass host checking against no_proxy to be case-insensitive, and to not match unrelated host names that happen to have a bypassed hostname as a suffix. Patch by Xiang Zhang.
- recursive_repr() now sets __qualname__ of wrapper. Patch by Xiang Zhang.
- urllib.request will prefer lower_case proxy environment variables over UPPER_CASE or Mixed_Case ones. Patch contributed by Hans-Peter Jansen.
- assertSequenceEqual() now correctly outputs non-stringified differing items (like bytes in the -b mode). This affects assertListEqual() and assertTupleEqual().
- Remove “will be removed in Python 3.7” from deprecation messages of platform.dist() and platform.linux_distribution(). Patch by Kumaripaba Miyurusara Athukorala.
- itemgetter, attrgetter and methodcaller objects no longer silently ignore keyword arguments.
- Disassembling a class now disassembles class and static methods. Patch by Xiang Zhang.
- Fix error handling in shutil.get_terminal_size(), catch AttributeError instead of NameError. Patch written by Emanuel Barry.
- tarfile’s ustar and gnu formats now correctly calculate name and link field limits for multibyte character encodings like utf-8.
- Fix directory traversal vulnerability with http.server on Windows. This fixes a regression that was introduced in 3.3.4rc1 and 3.4.0rc1. Based on patch by Philipp Hagemeister.
- Stop encoding Latin-1-ized WSGI paths with UTF-8. Patch by Anthony Sottile.
- Fix os.urandom() on Solaris 11.3 and newer when reading more than 1,024 bytes: call getrandom() multiple times with a limit of 1024 bytes per call.
- Add .webm to mimetypes.types_map. Patch by Giampaolo Rodola’.
- Add .csv to mimetypes.types_map. Patch by Geoff Wilson.
- Fixed Y2038 problem in loading binary PLists.
- Handle terminal resizing with Readline 6.3+ by installing our own SIGWINCH handler. Patch by Eric Price.
- In http.server, respond with “413 Request header fields too large” if there are too many header fields to parse, rather than killing the connection and raising an unhandled exception. Patch by Xiang Zhang.
- Change BufferedReader.writable() and BufferedWriter.readable() to always return False.
- Fix a regression in mock.MagicMock. _Call is a subclass of tuple (changeset 3603bae63c13 only works for classes) so we need to implement __ne__ ourselves. Patch by Andrew Plummer.
- Raise ValueError rather than SystemError when a negative length is passed to SSLSocket.recv() or read().
- Fix SSL recv(0) and read(0) methods to return zero bytes instead of up to 1024.
- Fixed a bug in datetime.astimezone() method.
- warnings.formatwarning() now catches exceptions on linecache.getline(...) to be able to log ResourceWarning emitted late during the Python shutdown process.
- Ctrl+C during Readline history search now cancels the search mode when compiled with Readline 7.
- Avoid potential ValueError in BaseHandler.start_response. Initial patch by Peter Inglesby.
- ssl.py _load_windows_store_certs fails if windows cert store is empty. Patch by Baji.
- Fix pyclbr.readmodule() and pyclbr.readmodule_ex() to support importing packages.
- Account for remaining Content-Length in HTTPResponse.readline() and read1(). Based on patch by Silent Ghost. Also document that HTTPResponse now supports these methods.
- Handle sockets in directories unittest discovery is scanning. Patch from Victor van den Elzen.
- cookiejar.http2time() now returns None if year is higher than datetime.MAXYEAR.
- Fixes platform module detection of Windows Server
- Fixed parsing time in week 0 before Jan 1. Original patch by Tamás Bence Gedai.
- Invoking Path.owner() and Path.group() on Windows now raise NotImplementedError instead of ImportError.
- Fixed the keys() method for Canvas and Scrollbar widgets.
- Got rid of excessive buffering in the fileinput module. The bufsize parameter is no longer used.
- Fix UnboundLocalError in AbstractDigestAuthHandler.get_algorithm_impls. Initial patch by Mathieu Dupuy.
- Fixed pickling and copying the accumulate() iterator with total is None.
- Fixed debugging output for regular expressions with the (?x) flag.
- Fixed the subnets() methods in IP network classes for the case when resulting prefix length is equal to maximal prefix length. Based on patch by Xiang Zhang.
- Remove the file if the internal open() call in NamedTemporaryFile() fails. Patch by Silent Ghost.
- Fix XML-RPC client to retry when the server shuts down a persistent connection. This was a regression related to the new http.client.RemoteDisconnected exception in 3.5.0a4.
- Leading

Python 3.4.4 (32-bit) 查看版本資訊

更新時間:2015-12-22
更新細節:

What's new in this version:

- Corrected =/== typo potentially leading to crash in launcher

Python 3.4.4 (64-bit) 查看版本資訊

更新時間:2015-12-22
更新細節:

What's new in this version:

- Corrected =/== typo potentially leading to crash in launcher

Python 2.7.11 查看版本資訊

更新時間:2015-12-07
更新細節:

What's new in this version:

New features:
- 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

Python 3.5.1 (32-bit) 查看版本資訊

更新時間:2015-12-06
更新細節:

What's new in this version:

- Windows installer should not require TargetDir parameter when installing quietly