Kaydet (Commit) 1015e38b authored tarafından Ned Deily's avatar Ned Deily

3.6.6rc1

üst e2575740
......@@ -18,12 +18,12 @@
/*--start constants--*/
#define PY_MAJOR_VERSION 3
#define PY_MINOR_VERSION 6
#define PY_MICRO_VERSION 5
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_FINAL
#define PY_RELEASE_SERIAL 0
#define PY_MICRO_VERSION 6
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_GAMMA
#define PY_RELEASE_SERIAL 1
/* Version as a string */
#define PY_VERSION "3.6.5+"
#define PY_VERSION "3.6.6rc1"
/*--end constants--*/
/* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
Enable the verbose build for extension modules, when GNU make is passed
macros on the command line.
Add ``-Wno-cast-function-type`` for gcc 8 for silencing warnings about
function casts like casting to PyCFunction in method definition lists.
Enable CI builds on Visual Studio Team Services at
https://python.visualstudio.com/cpython
Ensures module definition files for the stable ABI on Windows are correctly
regenerated.
Move ``-Wstrict-prototypes`` option to ``CFLAGS_NODIST`` from ``OPT``. This
option emitted annoying warnings when building extension modules written in
C++.
Document that m_traverse for multi-phase initialized modules can be called
with m_state=NULL, and add a sanity check
Fix a crash in `ctypes.cast()` in case the type argument is a ctypes
structured data type. Patch by Eryk Sun and Oren Milman.
Fix an unnecessary ifdef in the include of VersionHelpers.h in socketmodule
on Windows.
Fix ``ma_version_tag`` in dict implementation is uninitialized when copying
from key-sharing dict.
Improved error messages in 'async with' when ``__aenter__()`` or
``__aexit__()`` return non-awaitable object.
Fixed a leak when the garbage collector fails to add an object with the
``__del__`` method or referenced by it into the :data:`gc.garbage` list.
:c:func:`PyGC_Collect` can now be called when an exception is set and
preserves it.
Fixed reset of the SIGINT handler to SIG_DFL on interpreter shutdown even
when there was a custom handler set previously. Patch by Philipp Kerling.
Fix asynchronous generators to handle GeneratorExit in athrow() correctly
Clarify meaning of CERT_NONE, CERT_OPTIONAL, and CERT_REQUIRED flags for
ssl.SSLContext.verify_mode.
Add a note about curses.addch and curses.addstr exception behavior when
writing outside a window, or pad.
Update documentation to clarify that ``WindowsRegistryFinder`` implements
``MetaPathFinder``. (Patch by Himanshu Lakhara)
Documentation changes for ipaddress. Patch by Jon Foster and Berker Peksag.
Update :mod:`zipapp` documentation to describe how to make standalone
applications.
Modify documentation for the :func:`islice` recipe to consume initial values
up to the start index.
Deprecate ``Py_UNICODE`` usage in ``c-api/arg`` document. ``Py_UNICODE``
related APIs are deprecated since Python 3.3, but it is missed in the
document.
Clarify that the ``__path__`` attribute on modules cannot be just any value.
IDLE: consistently color invalid string prefixes. A 'u' string prefix cannot
be paired with either 'r' or 'f'. Consistently color as much of the prefix,
starting at the right, as is valid. Revise and extend colorizer test.
Update word/identifier definition from ascii to unicode. In text and entry
boxes, this affects selection by double-click, movement left/right by
control-left/right, and deletion left/right by control-BACKSPACE/DEL.
IDLE now colors async and await as keywords in 3.6. They become full
keywords in 3.7.
IDLE's code context now recognizes async as a block opener.
Display up to maxlines non-blank lines for Code Context.
If there is no current context, show a single blank line.
Enable theme-specific color configuration for Code Context.
Use the Highlights tab to see the setting for built-in themes
or add settings to custom themes.
Scroll IDLE editor text by lines.
Previously, the mouse wheel and scrollbar slider moved text by a fixed
number of pixels, resulting in partial lines at the top of the editor
box. The change also applies to the shell and grep output windows,
but not to read-only text views.
IDLE: Use read-only text widget for code context instead of label widget.
Clicking on a context line moves that line to the top of the editor window.
On Windows, add API call saying that tk scales for DPI. On Windows
8.1+ or 10, with DPI compatibility properties of the Python binary
unchanged, and a monitor resolution greater than 96 DPI, this should
make text and lines sharper. It should otherwise have no effect.
pydoc: the stop() method of the private ServerThread class now waits until
DocServer.serve_until_quit() completes and then explicitly sets its
docserver attribute to None to break a reference cycle.
Support arrays >=2GiB in :mod:`ctypes`. Patch by Segev Finer.
If nested log adapters are used, the inner ``process()`` methods are no
longer omitted.
Fix output of cover files for ``trace`` module command-line tool.
Previously emitted cover files only when ``--missing`` option was used.
Patch by Michael Selik.
\ No newline at end of file
Fix wrong redirection of a low descriptor (0 or 1) to stderr in subprocess
if another low descriptor is closed.
Fix a regression in :mod:`ipaddress` that result of :meth:`hosts`
is empty when the network is constructed by a tuple containing an
integer mask and only 1 bit left for addresses.
Release the GIL during fstat() calls, avoiding hang of all threads when
calling mmap.mmap(), os.urandom(), and random.seed(). Patch by Nir Soffer.
Allow ttk.Treeview.insert to insert iid that has a false boolean value.
Note iid=0 and iid=False would be same.
Patch by Garvit Khatri.
The urllib.robotparser's ``__str__`` representation now includes wildcard
entries and the "Crawl-delay" and "Request-rate" fields. Patch by
Michael Lazar.
End framing at the end of C implementation of :func:`pickle.Pickler.dump`.
Update difflib.mdiff() for PEP 479. Convert an uncaught StopIteration in a
generator into a return-statement.
``random.Random.choice()`` now raises ``IndexError`` for empty sequences
consistently even when called from subclasses without a ``getrandbits()``
implementation.
Fix display of ``<module>`` call in the html produced by ``cgitb.html()``. Patch by Stéphane Blondon.
Fix FD leak in `_SelectorSocketTransport` Patch by Vlad Starostin.
Fixed a crash in the :mod:`parser` module when converting an ST object to a
tree of tuples or lists with ``line_info=False`` and ``col_info=True``.
Fix quoting of the ``Comment`` attribute of :class:`http.cookies.SimpleCookie`.
Fixed crash in the get() method of the :mod:`dbm.ndbm` database object when
it is called with a single argument.
Update error message when constructing invalid inspect.Parameters
Patch by Dong-hee Na.
Fix trailing quotation marks getting deleted when looking up byte/string
literals on pydoc. Patch by Andrés Delfino.
Minor fixes in typing module: add annotations to ``NamedTuple.__new__``,
pass ``*args`` and ``**kwds`` in ``Generic.__new__``. Original PRs by
Paulius Šarka and Chad Dombrova.
Fix race condition with `ReadTransport.resume_reading` in Windows proactor
event loop.
Prevent ``uuid.get_node`` from using a DUID instead of a MAC on Windows.
Patch by Zvi Effron
tempfile._candidate_tempdir_list should consider common TEMP locations
Fixed a bug in the Python implementation of the JSON decoder that prevented
the cache of parsed strings from clearing after finishing the decoding.
Based on patch by c-fos.
Use a better regex when breaking usage into wrappable parts. Avoids bogus
assertion errors from custom metavar strings.
Fix RuntimeError after closing loop that used run_in_executor
Fixed bug where calling write_eof() on a _SelectorSocketTransport after it's
already closed raises AttributeError.
Fix a race condition in SSLProtocol.connection_made() of asyncio.sslproto:
start immediately the handshake instead of using call_soon(). Previously,
data_received() could be called before the handshake started, causing the
handshake to hang or fail.
Fix gather to propagate cancellation of itself even with return_exceptions.
The concatenation (``+``) and repetition (``*``) sequence operations now
raise :exc:`TypeError` instead of :exc:`SystemError` when performed on
:class:`mmap.mmap` objects. Patch by Zackery Spytz.
Datetime instance d with non-None tzinfo, but with d.tzinfo.utcoffset(d)
returning None is now treated as naive by the astimezone() method.
Prevent site.main() exception if PYTHONSTARTUP is set. Patch by Steve Weber.
Ignore test_posix_fallocate failures on BSD platforms that might be due to
running on ZFS.
Fix 2to3 for using with --add-suffix option but without --output-dir
option for relative path to files in current directory.
Add an ``-n`` flag for ``Tools/scripts/pathfix.py`` to disbale automatic
backup creation (files with ``~`` suffix).
Fixed handling directories as arguments in the ``pygettext`` script. Based
on patch by Oleg Krasnikov.
:program:`pygettext.py` now recognizes only literal strings as docstrings
and translatable strings, and rejects bytes literals and f-string expressions.
This is Python version 3.6.5+
=============================
This is Python version 3.6.6 candidate 1
========================================
.. image:: https://travis-ci.org/python/cpython.svg?branch=3.6
:alt: CPython build status on Travis CI
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment