This commit is contained in:
Ned Deily 2019-06-18 17:02:54 -04:00
parent 23d9fcb480
commit b26441ee1f
164 changed files with 1702 additions and 398 deletions

View File

@ -18,12 +18,12 @@
/*--start constants--*/
#define PY_MAJOR_VERSION 3
#define PY_MINOR_VERSION 7
#define PY_MICRO_VERSION 3
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_FINAL
#define PY_RELEASE_SERIAL 0
#define PY_MICRO_VERSION 4
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_GAMMA
#define PY_RELEASE_SERIAL 1
/* Version as a string */
#define PY_VERSION "3.7.3+"
#define PY_VERSION "3.7.4rc1"
/*--end constants--*/
/* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.

View File

@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Autogenerated by Sphinx on Tue Mar 12 14:56:48 2019
# Autogenerated by Sphinx on Tue Jun 18 16:49:39 2019
topics = {'assert': 'The "assert" statement\n'
'**********************\n'
'\n'
@ -2025,25 +2025,26 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
'For user-defined classes which do not define "__contains__()" '
'but do\n'
'define "__iter__()", "x in y" is "True" if some value "z" '
'with "x ==\n'
'z" is produced while iterating over "y". If an exception is '
'raised\n'
'during the iteration, it is as if "in" raised that '
'exception.\n'
'define "__iter__()", "x in y" is "True" if some value "z", '
'for which\n'
'the expression "x is z or x == z" is true, is produced while '
'iterating\n'
'over "y". If an exception is raised during the iteration, it '
'is as if\n'
'"in" raised that exception.\n'
'\n'
'Lastly, the old-style iteration protocol is tried: if a class '
'defines\n'
'"__getitem__()", "x in y" is "True" if and only if there is a '
'non-\n'
'negative integer index *i* such that "x == y[i]", and all '
'lower\n'
'integer indices do not raise "IndexError" exception. (If any '
'other\n'
'negative integer index *i* such that "x is y[i] or x == '
'y[i]", and no\n'
'lower integer index raises the "IndexError" exception. (If '
'any other\n'
'exception is raised, it is as if "in" raised that '
'exception).\n'
'\n'
'The operator "not in" is defined to have the inverse true '
'The operator "not in" is defined to have the inverse truth '
'value of\n'
'"in".\n'
'\n'
@ -2051,13 +2052,13 @@ topics = {'assert': 'The "assert" statement\n'
'Identity comparisons\n'
'====================\n'
'\n'
'The operators "is" and "is not" test for object identity: "x '
'is y" is\n'
'true if and only if *x* and *y* are the same object. Object '
'identity\n'
'is determined using the "id()" function. "x is not y" yields '
'the\n'
'inverse truth value. [4]\n',
'The operators "is" and "is not" test for an objects '
'identity: "x is\n'
'y" is true if and only if *x* and *y* are the same object. '
'An\n'
'Objects identity is determined using the "id()" function. '
'"x is not\n'
'y" yields the inverse truth value. [4]\n',
'compound': 'Compound statements\n'
'*******************\n'
'\n'
@ -3301,11 +3302,11 @@ topics = {'assert': 'The "assert" statement\n'
'"str.format()"\n'
' method, to produce a “formatted” string representation '
'of an\n'
' object. The "format_spec" argument is a string that '
' object. The *format_spec* argument is a string that '
'contains a\n'
' description of the formatting options desired. The '
'interpretation\n'
' of the "format_spec" argument is up to the type '
' of the *format_spec* argument is up to the type '
'implementing\n'
' "__format__()", however most classes will either '
'delegate\n'
@ -4361,7 +4362,7 @@ topics = {'assert': 'The "assert" statement\n'
'terminates\n'
'execution of the program, or returns to its interactive main '
'loop. In\n'
'either case, it prints a stack backtrace, except when the '
'either case, it prints a stack traceback, except when the '
'exception is\n'
'"SystemExit".\n'
'\n'
@ -4682,7 +4683,7 @@ topics = {'assert': 'The "assert" statement\n'
'terminates\n'
'execution of the program, or returns to its interactive main '
'loop. In\n'
'either case, it prints a stack backtrace, except when the '
'either case, it prints a stack traceback, except when the '
'exception is\n'
'"SystemExit".\n'
'\n'
@ -5077,7 +5078,7 @@ topics = {'assert': 'The "assert" statement\n'
'Meaning '
'|\n'
' '
'+===========+============================================================+\n'
'|===========|============================================================|\n'
' | "\'<\'" | Forces the field to be left-aligned '
'within the available |\n'
' | | space (this is the default for most '
@ -5126,7 +5127,7 @@ topics = {'assert': 'The "assert" statement\n'
'Meaning '
'|\n'
' '
'+===========+============================================================+\n'
'|===========|============================================================|\n'
' | "\'+\'" | indicates that a sign should be used for '
'both positive as |\n'
' | | well as negative '
@ -5230,7 +5231,7 @@ topics = {'assert': 'The "assert" statement\n'
'Meaning '
'|\n'
' '
'+===========+============================================================+\n'
'|===========|============================================================|\n'
' | "\'s\'" | String format. This is the default type '
'for strings and |\n'
' | | may be '
@ -5250,7 +5251,7 @@ topics = {'assert': 'The "assert" statement\n'
'Meaning '
'|\n'
' '
'+===========+============================================================+\n'
'|===========|============================================================|\n'
' | "\'b\'" | Binary format. Outputs the number in '
'base 2. |\n'
' '
@ -5312,7 +5313,7 @@ topics = {'assert': 'The "assert" statement\n'
'Meaning '
'|\n'
' '
'+===========+============================================================+\n'
'|===========|============================================================|\n'
' | "\'e\'" | Exponent notation. Prints the number in '
'scientific |\n'
' | | notation using the letter e to indicate '
@ -6189,8 +6190,8 @@ topics = {'assert': 'The "assert" statement\n'
'end up importing "pkg.mod". If you execute "from ..subpkg2 import '
'mod"\n'
'from within "pkg.subpkg1" you will import "pkg.subpkg2.mod". The\n'
'specification for relative imports is contained within **PEP '
'328**.\n'
'specification for relative imports is contained in the Package\n'
'Relative Imports section.\n'
'\n'
'"importlib.import_module()" is provided to support applications '
'that\n'
@ -6327,17 +6328,19 @@ topics = {'assert': 'The "assert" statement\n'
'"False" otherwise.\n'
'\n'
'For user-defined classes which do not define "__contains__()" but do\n'
'define "__iter__()", "x in y" is "True" if some value "z" with "x ==\n'
'z" is produced while iterating over "y". If an exception is raised\n'
'during the iteration, it is as if "in" raised that exception.\n'
'define "__iter__()", "x in y" is "True" if some value "z", for which\n'
'the expression "x is z or x == z" is true, is produced while '
'iterating\n'
'over "y". If an exception is raised during the iteration, it is as if\n'
'"in" raised that exception.\n'
'\n'
'Lastly, the old-style iteration protocol is tried: if a class defines\n'
'"__getitem__()", "x in y" is "True" if and only if there is a non-\n'
'negative integer index *i* such that "x == y[i]", and all lower\n'
'integer indices do not raise "IndexError" exception. (If any other\n'
'negative integer index *i* such that "x is y[i] or x == y[i]", and no\n'
'lower integer index raises the "IndexError" exception. (If any other\n'
'exception is raised, it is as if "in" raised that exception).\n'
'\n'
'The operator "not in" is defined to have the inverse true value of\n'
'The operator "not in" is defined to have the inverse truth value of\n'
'"in".\n',
'integers': 'Integer literals\n'
'****************\n'
@ -7018,7 +7021,7 @@ topics = {'assert': 'The "assert" statement\n'
'+-------------------------------------------------+---------------------------------------+\n'
'| Operator | '
'Description |\n'
'+=================================================+=======================================+\n'
'|=================================================|=======================================|\n'
'| "lambda" | '
'Lambda expression |\n'
'+-------------------------------------------------+---------------------------------------+\n'
@ -8002,11 +8005,11 @@ topics = {'assert': 'The "assert" statement\n'
'"str.format()"\n'
' method, to produce a “formatted” string representation of '
'an\n'
' object. The "format_spec" argument is a string that '
' object. The *format_spec* argument is a string that '
'contains a\n'
' description of the formatting options desired. The '
'interpretation\n'
' of the "format_spec" argument is up to the type '
' of the *format_spec* argument is up to the type '
'implementing\n'
' "__format__()", however most classes will either '
'delegate\n'
@ -8768,15 +8771,15 @@ topics = {'assert': 'The "assert" statement\n'
'When a class definition is executed, the following steps '
'occur:\n'
'\n'
'* MRO entries are resolved\n'
'* MRO entries are resolved;\n'
'\n'
'* the appropriate metaclass is determined\n'
'* the appropriate metaclass is determined;\n'
'\n'
'* the class namespace is prepared\n'
'* the class namespace is prepared;\n'
'\n'
'* the class body is executed\n'
'* the class body is executed;\n'
'\n'
'* the class object is created\n'
'* the class object is created.\n'
'\n'
'\n'
'Resolving MRO entries\n'
@ -8806,16 +8809,16 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
'* if no bases and no explicit metaclass are given, then '
'"type()" is\n'
' used\n'
' used;\n'
'\n'
'* if an explicit metaclass is given and it is *not* an '
'instance of\n'
' "type()", then it is used directly as the metaclass\n'
' "type()", then it is used directly as the metaclass;\n'
'\n'
'* if an instance of "type()" is given as the explicit '
'metaclass, or\n'
' bases are defined, then the most derived metaclass is '
'used\n'
'used.\n'
'\n'
'The most derived metaclass is selected from the explicitly '
'specified\n'
@ -8931,7 +8934,7 @@ topics = {'assert': 'The "assert" statement\n'
'with the\n'
' class being defined and the assigned name of that '
'particular\n'
' descriptor; and\n'
' descriptor;\n'
'\n'
'* finally, the "__init_subclass__()" hook is called on the '
'immediate\n'
@ -9030,7 +9033,7 @@ topics = {'assert': 'The "assert" statement\n'
'\n'
'One can implement the generic class syntax as specified by '
'**PEP 484**\n'
'(for example "List[int]") by defining a special method\n'
'(for example "List[int]") by defining a special method:\n'
'\n'
'classmethod object.__class_getitem__(cls, key)\n'
'\n'
@ -10245,7 +10248,7 @@ topics = {'assert': 'The "assert" statement\n'
' | Representation | '
'Description |\n'
' '
'+=========================+===============================+\n'
'|=========================|===============================|\n'
' | "\\n" | Line '
'Feed |\n'
' '
@ -10586,7 +10589,7 @@ topics = {'assert': 'The "assert" statement\n'
'+-------------------+-----------------------------------+---------+\n'
'| Escape Sequence | Meaning | Notes '
'|\n'
'+===================+===================================+=========+\n'
'|===================|===================================|=========|\n'
'| "\\newline" | Backslash and newline ignored '
'| |\n'
'+-------------------+-----------------------------------+---------+\n'
@ -10632,7 +10635,7 @@ topics = {'assert': 'The "assert" statement\n'
'+-------------------+-----------------------------------+---------+\n'
'| Escape Sequence | Meaning | Notes '
'|\n'
'+===================+===================================+=========+\n'
'|===================|===================================|=========|\n'
'| "\\N{name}" | Character named *name* in the | '
'(4) |\n'
'| | Unicode database | '
@ -11263,24 +11266,24 @@ topics = {'assert': 'The "assert" statement\n'
' | Attribute | Meaning '
'| |\n'
' '
'+===========================+=================================+=============+\n'
'|===========================|=================================|=============|\n'
' | "__doc__" | The functions documentation '
'| Writable |\n'
' | | string, or "None" if '
'| |\n'
' | | unavailable; not inherited by '
'| |\n'
' | | subclasses '
' | | subclasses. '
'| |\n'
' '
'+---------------------------+---------------------------------+-------------+\n'
' | "__name__" | The functions name '
' | "__name__" | The functions name. '
'| Writable |\n'
' '
'+---------------------------+---------------------------------+-------------+\n'
' | "__qualname__" | The functions *qualified name* '
' | "__qualname__" | The functions *qualified '
'| Writable |\n'
' | | New in version 3.3. '
' | | name*. New in version 3.3. '
'| |\n'
' '
'+---------------------------+---------------------------------+-------------+\n'
@ -11300,7 +11303,7 @@ topics = {'assert': 'The "assert" statement\n'
'| |\n'
' | | or "None" if no arguments have '
'| |\n'
' | | a default value '
' | | a default value. '
'| |\n'
' '
'+---------------------------+---------------------------------+-------------+\n'
@ -12505,7 +12508,7 @@ topics = {'assert': 'The "assert" statement\n'
'+----------------------------+----------------------------------+------------+\n'
'| Operation | Result '
'| Notes |\n'
'+============================+==================================+============+\n'
'|============================|==================================|============|\n'
'| "x in s" | "True" if an item of *s* is '
'| (1) |\n'
'| | equal to *x*, else "False" '
@ -12734,7 +12737,7 @@ topics = {'assert': 'The "assert" statement\n'
'+--------------------------------+----------------------------------+-----------------------+\n'
'| Operation | '
'Result | Notes |\n'
'+================================+==================================+=======================+\n'
'|================================|==================================|=======================|\n'
'| "s[i] = x" | item *i* of *s* is replaced '
'by | |\n'
'| | '
@ -13188,7 +13191,7 @@ topics = {'assert': 'The "assert" statement\n'
'| Operation | '
'Result | Notes '
'|\n'
'+================================+==================================+=======================+\n'
'|================================|==================================|=======================|\n'
'| "s[i] = x" | item *i* of *s* is '
'replaced by | |\n'
'| | '

1632
Misc/NEWS.d/3.7.4rc1.rst Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +0,0 @@
``python-config --ldflags`` no longer includes flags of the
``LINKFORSHARED`` variable. The ``LINKFORSHARED`` variable must only be used
to build executables.

View File

@ -1,2 +0,0 @@
``make tags`` and ``make TAGS`` now also parse ``Modules/_io/*.c`` and
``Modules/_io/*.h``.

View File

@ -1,5 +0,0 @@
Change the value of ``CLEANBYTE``, ``DEADDYTE`` and ``FORBIDDENBYTE`` internal
constants used by debug hooks on Python memory allocators
(:c:func:`PyMem_SetupDebugHooks` function). Byte patterns ``0xCB``, ``0xDB``
and ``0xFB`` have been replaced with ``0xCD``, ``0xDD`` and ``0xFD`` to use the
same values than Windows CRT debug ``malloc()`` and ``free()``.

View File

@ -1 +0,0 @@
Fix the cast on error in :c:func:`PyLong_AsUnsignedLongLongMask()`.

View File

@ -1 +0,0 @@
The :const:`METH_FASTCALL` calling convention has been documented.

View File

@ -1 +0,0 @@
Prevent a null pointer dereference and resource leakage in ``PyInterpreterState_New()``.

View File

@ -1,2 +0,0 @@
Add missing :c:func:`PyObject_GC_Track` calls in the :mod:`pickle` module.
Patch by Zackery Spytz.

View File

@ -1 +0,0 @@
Added fix for broken symlinks in combination with pathlib

View File

@ -1,2 +0,0 @@
Fix a segfault occuring when sorting a list of heterogeneous values. Patch
contributed by Rémi Lapeyre and Elliot Gorokhovsky.

View File

@ -1,3 +0,0 @@
Fix an unlikely memory leak on conversion from string to float in the function
``_Py_dg_strtod()`` used by ``float(str)``, ``complex(str)``,
:func:`pickle.load`, :func:`marshal.load`, etc.

View File

@ -1,2 +0,0 @@
At Python initialization, the current directory is no longer prepended to
:data:`sys.path` if it has been removed.

View File

@ -1,2 +0,0 @@
Fix bug in parsermodule when parsing a state in a DFA that has two or more
arcs with labels of the same type. Patch by Pablo Galindo.

View File

@ -1 +0,0 @@
Fix a possible double decref in _ctypes.c's ``PyCArrayType_new()``.

View File

@ -1,2 +0,0 @@
Include node names in ``ParserError`` messages, instead of numeric IDs.
Patch by A. Skrobov.

View File

@ -1 +0,0 @@
Fix a possible reference leak in :func:`itertools.count`.

View File

@ -1 +0,0 @@
Fixed TypeError message in classmethoddescr_call.

View File

@ -1 +0,0 @@
Fix a possible double ``PyMem_FREE()`` due to tokenizer.c's ``tok_nextc()``.

View File

@ -1,2 +0,0 @@
Fixed support of the surrogatepass error handler in the UTF-8 incremental
decoder.

View File

@ -1,2 +0,0 @@
Fix running script with encoding cookie and LF line ending
may fail on Windows.

View File

@ -1 +0,0 @@
Fix signed integer overflow in _ctypes.c's ``PyCArrayType_new()``.

View File

@ -1,3 +0,0 @@
pymalloc returns memory blocks aligned by 16 bytes, instead of 8 bytes, on
64-bit platforms to conform x86-64 ABI. Recent compilers assume this alignment
more often. Patch by Inada Naoki.

View File

@ -1,2 +0,0 @@
Fix Python Initialization code on FreeBSD to detect properly when stdin file
descriptor (fd 0) is invalid.

View File

@ -1,2 +0,0 @@
Correct return type for UserList slicing operations. Patch by Michael Blahay,
Erick Cervantes, and vaultah

View File

@ -1,2 +0,0 @@
Avoid caching attributes of classes which type defines mro() to avoid a hard
cache invalidation problem.

View File

@ -1,3 +0,0 @@
A :exc:`SyntaxError` is now raised if a code blocks that will be optimized
away (e.g. if conditions that are always false) contains syntax errors.
Patch by Pablo Galindo.

View File

@ -1,2 +0,0 @@
``PyGC_Head`` structure is aligned to ``long double``. This is needed to
ensure GC-ed objects are aligned properly. Patch by Inada Naoki.

View File

@ -1 +0,0 @@
Fix possible signed integer overflow when handling slices.

View File

@ -1,2 +0,0 @@
Fix a crash when calling a C function with a keyword dict (``f(**kwargs)``)
and changing the dict ``kwargs`` while that function is running.

View File

@ -1,4 +0,0 @@
:c:func:`PyErr_WriteUnraisable` now displays the exception even if
displaying the traceback failed. Moreover, hold a strong reference to
:data:`sys.stderr` while using it. Document that an exception must be set when
calling :c:func:`PyErr_WriteUnraisable`.

View File

@ -1,2 +0,0 @@
Fix possible overflow in ``wrap_lenfunc()`` when
``sizeof(long) < sizeof(Py_ssize_t)`` (e.g., 64-bit Windows).

View File

@ -1 +0,0 @@
Remove errorneous optimization for empty set differences.

View File

@ -1,2 +0,0 @@
Fix a bug in the peephole optimizer that was not treating correctly constant
conditions with binary operators. Patch by Pablo Galindo.

View File

@ -1 +0,0 @@
Added documentation for func factorial to indicate that returns integer values

View File

@ -1 +0,0 @@
Make `codecs.StreamRecoder.writelines` take a list of bytes.

View File

@ -1 +0,0 @@
Add glossary entry for 'magic method'.

View File

@ -1 +0,0 @@
Added the context variable in glossary.

View File

@ -1 +0,0 @@
Enhance the gettext docs. Patch by Éric Araujo

View File

@ -1 +0,0 @@
Explicitly set master_doc variable in conf.py for compliance with Sphinx 2.0

View File

@ -1 +0,0 @@
@typing.type_check_only now allows type stubs to mark functions and classes not available during runtime.

View File

@ -1 +0,0 @@
Add detail to the documentation on the `pty.spawn` function.

View File

@ -1 +0,0 @@
Improve documentation about converting datetime.timedelta to scalars.

View File

@ -1 +0,0 @@
Added Documention for PyInterpreterState_Main().

View File

@ -1,2 +0,0 @@
New documentation translation: `Simplified Chinese
<https://docs.python.org/zh-cn/>`_.

View File

@ -1 +0,0 @@
Add docstring for io.IOBase.writelines().

View File

@ -1 +0,0 @@
Document relative imports

View File

@ -1,2 +0,0 @@
Added C API Documentation for Time_FromTimeAndFold and PyDateTime_FromDateAndTimeAndFold as per PEP 495.
Patch by Edison Abahurire.

View File

@ -1,2 +0,0 @@
What's new now mentions SSLContext.hostname_checks_common_name instead of
SSLContext.host_flags.

View File

@ -1 +0,0 @@
Improve version added references in ``typing`` module - by Anthony Sottile.

View File

@ -1 +0,0 @@
Documented that in :meth:`datetime.datetime.strptime()`, the leading zero in some two-digit formats is optional. Patch by Mike Gleen.

View File

@ -1,2 +0,0 @@
In browser.py, remove extraneous sorting by line number since dictionary was
created in line number order.

View File

@ -1 +0,0 @@
Increase test coverage of idlelib.autocomplete by 30%.

View File

@ -1 +0,0 @@
Add docstrings to IDLE search modules.

View File

@ -1,2 +0,0 @@
For the grep module, add tests for findfiles, refactor findfiles to be a
module-level function, and refactor findfiles to use os.walk.

View File

@ -1,2 +0,0 @@
Remove fgBg param of idlelib.config.GetHighlight(). This param was only used
twice and changed the return type.

View File

@ -1 +0,0 @@
Use dict unpacking in idlelib.

View File

@ -1,2 +0,0 @@
Fix starting IDLE with pyshell. Add idlelib.pyshell alias at top; remove
pyshell alias at bottom. Remove obsolete __name__=='__main__' command.

View File

@ -1 +0,0 @@
When saving a file, call os.fsync() so bits are flushed to e.g. USB drive.

View File

@ -1,2 +0,0 @@
Print any argument other than None or int passed to SystemExit or
sys.exit().

View File

@ -1 +0,0 @@
Make idlelib.run runnable; add test clause.

View File

@ -1,2 +0,0 @@
Replace now redundant .context_use_ps1 with .prompt_last_line. This finishes
change started in bpo-31858.

View File

@ -1,3 +0,0 @@
Add 'Run... Customized' to the Run menu to run a module with customized
settings. Any 'command line arguments' entered are added to sys.argv.
One can suppress the normal Shell main module restart.

View File

@ -1,2 +0,0 @@
Make calltip reminder about '/' meaning positional-only less obtrusive by
only adding it when there is room on the first line.

View File

@ -1,4 +0,0 @@
Adjust "Zoom Height" to individual screens by momemtarily maximizing the
window on first use with a particular screen. Changing screen settings
may invalidate the saved height. While a window is maximized,
"Zoom Height" has no effect.

View File

@ -1,2 +0,0 @@
Properly 'attach' search dialogs to their main window so that they behave
like other dialogs and do not get hidden behind their main window.

View File

@ -1,2 +0,0 @@
Both subprocess connection error messages now refer to the 'Startup failure'
section of the IDLE doc.

View File

@ -1,2 +0,0 @@
``_thread.interrupt_main()`` now avoids setting the Python error status
if the ``SIGINT`` signal is ignored or not handled by Python.

View File

@ -1,2 +0,0 @@
Fix ``setup.py check --restructuredtext`` for
files containing ``include`` directives.

View File

@ -1,3 +0,0 @@
``\r``, ``\0`` and ``\x1a`` (end-of-file on Windows) are now escaped in
protocol 0 pickles of Unicode strings. This allows to load them without loss
from files open in text mode in Python 2.

View File

@ -1,3 +0,0 @@
Added a ``__copy__()`` to ``collections.UserList`` and
``collections.UserDict`` in order to correctly implement shallow copying of
the objects. Patch by Bar Harel.

View File

@ -1,2 +0,0 @@
Added support for ZIP files with disks set to 0. Such files are commonly created by builtin tools on Windows when use ZIP64 extension.
Patch by Francisco Facioni.

View File

@ -1,3 +0,0 @@
:meth:`asyncio.AbstractEventLoop.create_datagram_endpoint`:
Do not connect UDP socket when broadcast is allowed.
This allows to receive replies after a UDP broadcast.

View File

@ -1,2 +0,0 @@
Fix a bug in :class:`codecs.StreamRecoder` where seeking might leave old data in a
buffer and break subsequent read calls. Patch by Ammar Askar.

View File

@ -1,2 +0,0 @@
Fix serialization of messages containing encoded strings when the
policy.linesep is set to a multi-character string. Patch by Jens Troeger.

View File

@ -1,2 +0,0 @@
:class:`wsgiref.handlers.BaseHandler` now handles abrupt client connection
terminations gracefully. Patch by Petter Strandmark.

View File

@ -1,2 +0,0 @@
Don't return deleted attributes when calling dir on a
:class:`unittest.mock.Mock`.

View File

@ -1,2 +0,0 @@
:func:`unittest.mock.mock_open` results now respects the argument of read([size]).
Patch contributed by Rémi Lapeyre.

View File

@ -1 +0,0 @@
QueueHandler.prepare() now makes a copy of the record before modifying and enqueueing it, to avoid affecting other handlers in the chain.

View File

@ -1,3 +0,0 @@
Fix :meth:`asyncio.SelectorEventLoop.subprocess_exec()` leaks file descriptors
if ``Popen`` fails and called with ``stdin=subprocess.PIPE``.
Patch by Niklas Fiekas.

View File

@ -1,2 +0,0 @@
Add support for :func:`classmethod` and :func:`staticmethod` to
:func:`unittest.mock.create_autospec`. Initial patch by Felipe Ochoa.

View File

@ -1,2 +0,0 @@
Clean up code which checked presence of ``os.stat`` / ``os.lstat`` /
``os.chmod`` which are always present. Patch by Anthony Sottile.

View File

@ -1 +0,0 @@
Asyncio: Remove inner callback on outer cancellation in shield

View File

@ -1,4 +0,0 @@
Fix ``CFLAGS`` in ``customize_compiler()`` of ``distutils.sysconfig``: when
the ``CFLAGS`` environment variable is defined, don't override ``CFLAGS``
variable with the ``OPT`` variable anymore. Initial patch written by David
Malcolm.

View File

@ -1,2 +0,0 @@
:mod:`logging` does not silently ignore RecursionError anymore. Patch
contributed by Rémi Lapeyre.

View File

@ -1,5 +0,0 @@
collections.namedtuple() misspelled the name of an attribute. To be
consistent with typing.NamedTuple, the attribute name should have been
"_field_defaults" instead of "_fields_defaults". For backwards
compatibility, both spellings are now created. The misspelled version may
be removed in the future.

View File

@ -1 +0,0 @@
Fix :mod:`asyncio` ssl memory issues caused by circular references

View File

@ -1 +0,0 @@
Errors during writing to a ZIP file no longer prevent to properly close it.

View File

@ -1,5 +0,0 @@
Arbitrary keyword arguments (even with names "self" and "func") can now be
passed to some functions which should accept arbitrary keyword arguments and
pass them to other function (for example partialmethod(), TestCase.addCleanup()
and Profile.runcall()) if the required arguments are passed as positional
arguments.

View File

@ -1 +0,0 @@
If *debuglevel* is set to >0 in :mod:`http.client`, print all values for headers with multiple values for the same header name. Patch by Matt Houglum.

View File

@ -1,6 +0,0 @@
Reinitialize logging.Handler locks in forked child processes instead of
attempting to acquire them all in the parent before forking only to be
released in the child process. The acquire/release pattern was leading to
deadlocks in code that has implemented any form of chained logging handlers
that depend upon one another as the lock acquision order cannot be
guaranteed.

View File

@ -1,2 +0,0 @@
Fix ``isinstance`` check for Mock objects with spec when the code is
executed under tracing. Patch by Karthikeyan Singaravelan.

View File

@ -1 +0,0 @@
Fix :mod:`asyncio` wait() not removing callback if exception

View File

@ -1,5 +0,0 @@
:func:`shutil.which` and :func:`distutils.spawn.find_executable` now use
``os.confstr("CS_PATH")`` if available instead of :data:`os.defpath`, if the
``PATH`` environment variable is not set. Moreover, don't use
``os.confstr("CS_PATH")`` nor :data:`os.defpath` if the ``PATH`` environment
variable is set to an empty string.

View File

@ -1,4 +0,0 @@
Fix :mod:`distutils.sysconfig` if :data:`sys.executable` is ``None`` or an
empty string: use :func:`os.getcwd` to initialize ``project_base``. Fix
also the distutils build command: don't use :data:`sys.executable` if it is
``None`` or an empty string.

View File

@ -1,4 +0,0 @@
The C version of functools.lru_cache() was treating calls with an empty
``**kwargs`` dictionary as being distinct from calls with no keywords at all.
This did not result in an incorrect answer, but it did trigger an unexpected
cache miss.

View File

@ -1,3 +0,0 @@
Fix double exceptions in :class:`wsgiref.handlers.BaseHandler` by calling
its :meth:`~wsgiref.handlers.BaseHandler.close` method only when no
exception is raised.

View File

@ -1,2 +0,0 @@
Fix compilation of ``faulthandler.c`` on HP-UX. Initialize ``stack_t
current_stack`` to zero using ``memset()``.

View File

@ -1,2 +0,0 @@
Fix :class:`~logging.handlers.QueueListener` to call ``queue.task_done()``
upon stopping. Patch by Bar Harel.

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