Update PyDoc topics and NEWS blurbs for 3.7.0a1

This commit is contained in:
Ned Deily 2017-09-19 01:01:36 -04:00
parent 380c5fbc6f
commit 450ceea331
643 changed files with 6919 additions and 1751 deletions

File diff suppressed because it is too large Load Diff

6456
Misc/NEWS.d/3.7.0a1.rst Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,2 +0,0 @@
Prevent missing 'getentropy' declaration warning on macOS. Patch by Gareth
Rees.

View File

@ -1,2 +0,0 @@
Remove redundant include search directory option for building outside the
source tree.

View File

@ -1,3 +0,0 @@
A full copy of libffi is no longer bundled for use when building _ctypes on
non-OSX UNIX platforms. An installed copy of libffi is now required when
building _ctypes on such platforms.

View File

@ -1 +0,0 @@
setup.py now detects system libffi with multiarch wrapper.

View File

@ -1,2 +0,0 @@
Fixed build with Estonian locale (python-config and distclean targets in
Makefile). Patch by Arfrever Frehtes Taifersar Arahesis.

View File

@ -1,2 +0,0 @@
Add configure check for siginfo_t.si_band, which Cygwin does not provide.
Patch by Masayuki Yamamoto with review and rebase by Erik Bray.

View File

@ -1,2 +0,0 @@
Fix building extensions modules on Cygwin. Patch by Roumen Petrov, based on
original patch by Jason Tishler.

View File

@ -1,2 +0,0 @@
Fix building the _struct module on Cygwin by passing ``NULL`` instead of
``&PyType_Type`` to PyVarObject_HEAD_INIT. Patch by Masayuki Yamamoto.

View File

@ -1 +0,0 @@
Update Windows build and OS X installers to use OpenSSL 1.0.2j.

View File

@ -1 +0,0 @@
Update Windows build and OS X installers to use SQLite 3.14.2.

View File

@ -1 +0,0 @@
Fix missing extensions modules when cross compiling.

View File

@ -1 +0,0 @@
Rename --with-optimiations to --enable-optimizations.

View File

@ -1,2 +0,0 @@
Fix out-of-tree building on AIX. Patch by Tristan Carel and Michael
Haubenwallner.

View File

@ -1 +0,0 @@
Do not define sys.implementation._multiarch on Android.

View File

@ -1,3 +0,0 @@
Do not add the directory for installing C header files and the directory for
installing object code libraries to the cross compilation search paths.
Original patch by Thomas Petazzoni.

View File

@ -1,2 +0,0 @@
Fix the compilation error that occurs because if_nameindex() is available on
Android API level 24, but the if_nameindex structure is not defined.

View File

@ -1,2 +0,0 @@
lockf() is available on Android API level 24, but the F_LOCK macro is not
defined in android-ndk-r13.

View File

@ -1 +0,0 @@
Added missed names to PC/python3.def.

View File

@ -1 +0,0 @@
Removes hard dependency on hg.exe from PCBuild/build.bat

View File

@ -1 +0,0 @@
Fix implicit declaration of function _setmode. Patch by Masayuki Yamamoto

View File

@ -1 +0,0 @@
Set Android compilation and link flags.

View File

@ -1 +0,0 @@
Remove old Be OS helper scripts.

View File

@ -1,3 +0,0 @@
Prohibit implicit C function declarations: use -Werror=implicit-function-
declaration when possible (GCC and Clang, but it depends on the compiler
version). Patch written by Chi Hsuan Yen.

View File

@ -1 +0,0 @@
Update Windows build and OS X installers to use OpenSSL 1.0.2k.

View File

@ -1,3 +0,0 @@
sys.version and the platform module python_build(), python_branch(), and
python_revision() functions now use git information rather than hg when
building from a repo.

View File

@ -1 +0,0 @@
Fix ``--enable-optimization`` didn't work.

View File

@ -1,2 +0,0 @@
Don't regenerate generated files based on file modification time anymore:
the action is now explicit. Replace ``make touch`` with ``make regen-all``.

View File

@ -1,3 +0,0 @@
Prevent unnecessary rebuilding of Python during ``make test``, ``make
install`` and some other make targets when configured with ``--enable-
optimizations``.

View File

@ -1 +0,0 @@
Fix out-of-tree builds of Python when configured with ``--with--dtrace``.

View File

@ -1,2 +0,0 @@
Add ``--with-assertions`` configure flag to explicitly enable C ``assert()``
checks. Defaults to off. ``--with-pydebug`` implies ``--with-assertions``.

View File

@ -1,2 +0,0 @@
Support the *disabled* marker in Setup files. Extension modules listed after
this marker are not built at all, neither by the Makefile nor by setup.py.

View File

@ -1 +0,0 @@
Locate msbuild.exe on Windows when building rather than vcvarsall.bat

View File

@ -1,2 +0,0 @@
Fix compile error when compiling --without-threads.
Patch by Masayuki Yamamoto.

View File

@ -1 +0,0 @@
Per PEP 11, support for the IRIX operating system was removed.

View File

@ -1,5 +0,0 @@
Remove support for building --without-threads.
This option is not really useful anymore in the 21st century. Removing lots
of conditional paths allows us to simplify the code base, including in
difficult to maintain low-level internal code.

View File

@ -1 +0,0 @@
Allow --with-lto to be used on all builds, not just `make profile-opt`.

View File

@ -1,3 +0,0 @@
Deprecated undocumented functions PyUnicode_AsEncodedObject(),
PyUnicode_AsDecodedObject(), PyUnicode_AsDecodedUnicode() and
PyUnicode_AsEncodedUnicode().

View File

@ -1 +0,0 @@
Compiler warnings are now emitted if use most of deprecated functions.

View File

@ -1,2 +0,0 @@
Private variable _Py_PackageContext is now of type ``const char *`` rather
of ``char *``.

View File

@ -1,3 +0,0 @@
The fields name and doc of structures PyMemberDef, PyGetSetDef,
PyStructSequence_Field, PyStructSequence_Desc, and wrapperbase are now of
type ``const char *`` rather of ``char *``.

View File

@ -1 +0,0 @@
PyUnicode_CompareWithASCIIString() now never raises exceptions.

View File

@ -1,2 +0,0 @@
The index parameters *start* and *end* of PyUnicode_FindChar() are now
adjusted to behave like ``str[start:end]``.

View File

@ -1,3 +0,0 @@
All stable API extensions added after Python 3.2 are now available only when
Py_LIMITED_API is set to the PY_VERSION_HEX value of the minimum Python
version supporting this API.

View File

@ -1,2 +0,0 @@
The result of PyUnicode_AsUTF8AndSize() and PyUnicode_AsUTF8() is now of
type ``const char *`` rather of ``char *``.

View File

@ -1,5 +0,0 @@
Fixed the declaration of some public API functions. PyArg_VaParse() and
PyArg_VaParseTupleAndKeywords() were not available in limited API.
PyArg_ValidateKeywordArguments(), PyArg_UnpackTuple() and Py_BuildValue()
were not available in limited API of version < 3.3 when PY_SSIZE_T_CLEAN is
defined.

View File

@ -1,4 +0,0 @@
Function PySlice_GetIndicesEx() is deprecated and replaced with a macro if
Py_LIMITED_API is not set or set to the value between 0x03050400 and
0x03060000 (not including) or 0x03060100 or higher. Added functions
PySlice_Unpack() and PySlice_AdjustIndices().

View File

@ -1,3 +0,0 @@
The type of results of PyThread_start_new_thread() and
PyThread_get_thread_ident(), and the id parameter of
PyThreadState_SetAsyncExc() changed from "long" to "unsigned long".

View File

@ -1,2 +0,0 @@
Deprecate PyOS_AfterFork() and add PyOS_BeforeFork(),
PyOS_AfterFork_Parent() and PyOS_AfterFork_Child().

View File

@ -1,2 +0,0 @@
PyUnicode_AsWideCharString() now raises a ValueError if the second argument
is NULL and the wchar_t\* string contains null characters.

View File

@ -1,7 +0,0 @@
Remove own implementation for thread-local storage.
CPython has provided the own implementation for thread-local storage (TLS)
on Python/thread.c, it's used in the case which a platform has not supplied
native TLS. However, currently all supported platforms (Windows and pthreads)
have provided native TLS and defined the Py_HAVE_NATIVE_TLS macro with
unconditional in any case.

View File

@ -1,3 +0,0 @@
Added the ``Py_UNREACHABLE()`` macro for code paths which are never expected
to be reached. This and a few other useful macros are now documented in the
C API manual.

View File

@ -1 +0,0 @@
Speed-up method calls: add LOAD_METHOD and CALL_METHOD opcodes.

View File

@ -1,2 +0,0 @@
Fix asynchronous generators aclose() and athrow() to handle
StopAsyncIteration propagation properly.

View File

@ -1 +0,0 @@
Fix a refleak in code that raises DeprecationWarning.

View File

@ -1,2 +0,0 @@
Raise DeprecationWarning when async and await keywords are used as
variable/attribute/class/function name.

View File

@ -1,2 +0,0 @@
Fix dict.pop() for splitted dictionary when trying to remove a "pending key"
(Not yet inserted in split-table). Patch by Xiang Zhang.

View File

@ -1,2 +0,0 @@
Replace Py_MEMCPY with memcpy(). Visual Studio can properly optimize
memcpy().

View File

@ -1,2 +0,0 @@
Fix a regression in zipimport's compile_source(). zipimport should use the
same optimization level as the interpreter.

View File

@ -1 +0,0 @@
Upgrade internal unicode databases to Unicode version 9.0.0.

View File

@ -1 +0,0 @@
Clean up redundant code in long_rshift function. Thanks Oren Milman.

View File

@ -1,2 +0,0 @@
Remove some redundant assignments to ob_size in longobject.c. Thanks Oren
Milman.

View File

@ -1 +0,0 @@
Don't import readline in isolated mode.

View File

@ -1,2 +0,0 @@
Fallback on reading /dev/urandom device when the getrandom() syscall fails
with EPERM, for example when blocked by SECCOMP.

View File

@ -1 +0,0 @@
Now __set_name__ is looked up on the class instead of the instance.

View File

@ -1,2 +0,0 @@
Single var-positional argument of tuple subtype was passed unscathed to the
C-defined function. Now it is converted to exact tuple.

View File

@ -1,2 +0,0 @@
Fix incorrect type in complex(1.0, {2:3}) error message. Patch by Soumya
Sharma.

View File

@ -1,2 +0,0 @@
Fixed misleading error message when ImportError called with invalid keyword
args.

View File

@ -1 +0,0 @@
ImportError.__init__ now resets not specified attributes.

View File

@ -1 +0,0 @@
String constants now interned recursively in tuples and frozensets.

View File

@ -1 +0,0 @@
Fix crash when GC runs during weakref callbacks.

View File

@ -1 +0,0 @@
String constants with null character no longer interned.

View File

@ -1,2 +0,0 @@
Dict reduces possibility of 2nd conflict in hash table when hashes have same
lower bits.

View File

@ -1 +0,0 @@
Fixed possible crash when AST is changed in process of compiling it.

View File

@ -1,2 +0,0 @@
PyType_Ready() now checks that tp_name is not NULL. Original patch by Niklas
Koep.

View File

@ -1,2 +0,0 @@
Resolving special methods of uninitialized type now causes implicit
initialization of the type instead of a fail.

View File

@ -1,3 +0,0 @@
Creating instances of range_iterator by calling range_iterator type now is
disallowed. Calling iter() on range instance is the only way. Patch by Oren
Milman.

View File

@ -1,2 +0,0 @@
The type of long range iterator is now registered as Iterator. Patch by Oren
Milman.

View File

@ -1,2 +0,0 @@
Added sanity checks and tests for PyUnicode_CopyCharacters(). Patch by Xiang
Zhang.

View File

@ -1 +0,0 @@
Added C implementation of asyncio.Future. Original patch by Yury Selivanov.

View File

@ -1 +0,0 @@
Optimize and cleanup dict iteration.

View File

@ -1,2 +0,0 @@
Fixed possible memory leak in _PyTraceback_Add() and exception loss in
PyTraceBack_Here().

View File

@ -1 +0,0 @@
Improved exception reporting for problematic __set_name__ attributes.

View File

@ -1,2 +0,0 @@
Fixed of-by-one error in the peephole optimizer that caused keeping
unreachable code.

View File

@ -1 +0,0 @@
Fixed potential crash in PyUnicode_AsDecodedObject() in debug build.

View File

@ -1 +0,0 @@
dict.update() no longer allocate unnecessary large memory.

View File

@ -1,3 +0,0 @@
Deprecation warning for invalid str and byte escape sequences now prints
better information about where the error occurs. Patch by Serhiy Storchaka
and Eric Smith.

View File

@ -1,2 +0,0 @@
PyDict_SetDefault didn't combine split table when needed. Patch by Xiang
Zhang.

View File

@ -1 +0,0 @@
Optimize iterating split table values. Patch by Xiang Zhang.

View File

@ -1,2 +0,0 @@
Sped up converting int to float by reusing faster bits counting
implementation. Patch by Adrian Wielgosik.

View File

@ -1,2 +0,0 @@
Extra slash no longer added to sys.path components in case of empty compile-
time PYTHONPATH components.

View File

@ -1 +0,0 @@
Improve speed of the STORE_DEREF opcode by 40%.

View File

@ -1,2 +0,0 @@
Fixed crash in Py_DecodeLocale() in debug build on Mac OS X when decode
astral characters. Patch by Xiang Zhang.

View File

@ -1,2 +0,0 @@
Fix not getting the locale's charset upon initializing the interpreter, on
platforms that do not have langinfo.

View File

@ -1,2 +0,0 @@
Fix the set_inheritable() file descriptor method on platforms that do not
have the ioctl FIOCLEX and FIONCLEX commands.

View File

@ -1,3 +0,0 @@
The with-statement now checks for __enter__ before it checks for __exit__.
This gives less confusing error messages when both methods are missing.
Patch by Jonathan Ellington.

View File

@ -1 +0,0 @@
Show sys.version when -V option is supplied twice.

View File

@ -1,2 +0,0 @@
Optimize _PyDict_NewPresized() to create correct size dict. Improve speed of
dict literal with constant keys up to 30%.

View File

@ -1,4 +0,0 @@
Fix error position of the unicode error in ASCII and Latin1 encoders when a
string returned by the error handler contains multiple non-encodable
characters (non-ASCII for the ASCII codec, characters out of the
U+0000-U+00FF range for Latin1).

Some files were not shown because too many files have changed in this diff Show More