diff options
643 files changed, 6917 insertions, 1749 deletions
diff --git a/Lib/pydoc_data/topics.py b/Lib/pydoc_data/topics.py index 3579484fd0..8d64ad44c7 100644 --- a/Lib/pydoc_data/topics.py +++ b/Lib/pydoc_data/topics.py @@ -1,7 +1,6 @@ # -*- coding: utf-8 -*- -# Autogenerated by Sphinx on Mon Sep 12 10:47:11 2016 -topics = {'assert': '\n' - 'The "assert" statement\n' +# Autogenerated by Sphinx on Tue Sep 19 00:59:47 2017 +topics = {'assert': 'The "assert" statement\n' '**********************\n' '\n' 'Assert statements are a convenient way to insert debugging ' @@ -39,8 +38,7 @@ topics = {'assert': '\n' 'Assignments to "__debug__" are illegal. The value for the ' 'built-in\n' 'variable is determined when the interpreter starts.\n', - 'assignment': '\n' - 'Assignment statements\n' + 'assignment': 'Assignment statements\n' '*********************\n' '\n' 'Assignment statements are used to (re)bind names to values and ' @@ -405,8 +403,7 @@ topics = {'assert': '\n' 'See also: **PEP 526** - Variable and attribute annotation ' 'syntax\n' ' **PEP 484** - Type hints\n', - 'atom-identifiers': '\n' - 'Identifiers (Names)\n' + 'atom-identifiers': 'Identifiers (Names)\n' '*******************\n' '\n' 'An identifier occurring as an atom is a name. See ' @@ -446,8 +443,7 @@ topics = {'assert': '\n' 'happen. If the class name consists only of underscores, ' 'no\n' 'transformation is done.\n', - 'atom-literals': '\n' - 'Literals\n' + 'atom-literals': 'Literals\n' '********\n' '\n' 'Python supports string and bytes literals and various ' @@ -476,8 +472,7 @@ topics = {'assert': '\n' 'may obtain\n' 'the same object or a different object with the same ' 'value.\n', - 'attribute-access': '\n' - 'Customizing attribute access\n' + 'attribute-access': 'Customizing attribute access\n' '****************************\n' '\n' 'The following methods can be defined to customize the ' @@ -747,23 +742,15 @@ topics = {'assert': '\n' '__slots__\n' '=========\n' '\n' - 'By default, instances of classes have a dictionary for ' - 'attribute\n' - 'storage. This wastes space for objects having very few ' - 'instance\n' - 'variables. The space consumption can become acute when ' - 'creating large\n' - 'numbers of instances.\n' + '*__slots__* allow us to explicitly declare data members ' + '(like\n' + 'properties) and deny the creation of *__dict__* and ' + '*__weakref__*\n' + '(unless explicitly declared in *__slots__* or available ' + 'in a parent.)\n' '\n' - 'The default can be overridden by defining *__slots__* in ' - 'a class\n' - 'definition. The *__slots__* declaration takes a sequence ' - 'of instance\n' - 'variables and reserves just enough space in each ' - 'instance to hold a\n' - 'value for each variable. Space is saved because ' - '*__dict__* is not\n' - 'created for each instance.\n' + 'The space saved over using *__dict__* can be ' + 'significant.\n' '\n' 'object.__slots__\n' '\n' @@ -783,9 +770,9 @@ topics = {'assert': '\n' '\n' '* When inheriting from a class without *__slots__*, the ' '*__dict__*\n' - ' attribute of that class will always be accessible, so ' - 'a *__slots__*\n' - ' definition in the subclass is meaningless.\n' + ' and *__weakref__* attribute of the instances will ' + 'always be\n' + ' accessible.\n' '\n' '* Without a *__dict__* variable, instances cannot be ' 'assigned new\n' @@ -819,13 +806,16 @@ topics = {'assert': '\n' 'the class\n' ' attribute would overwrite the descriptor assignment.\n' '\n' - '* The action of a *__slots__* declaration is limited to ' - 'the class\n' - ' where it is defined. As a result, subclasses will ' - 'have a *__dict__*\n' - ' unless they also define *__slots__* (which must only ' - 'contain names\n' - ' of any *additional* slots).\n' + '* The action of a *__slots__* declaration is not limited ' + 'to the\n' + ' class where it is defined. *__slots__* declared in ' + 'parents are\n' + ' available in child classes. However, child subclasses ' + 'will get a\n' + ' *__dict__* and *__weakref__* unless they also define ' + '*__slots__*\n' + ' (which should only contain names of any *additional* ' + 'slots).\n' '\n' '* If a class defines a slot also defined in a base ' 'class, the\n' @@ -850,9 +840,16 @@ topics = {'assert': '\n' '\n' '* *__class__* assignment works only if both classes have ' 'the same\n' - ' *__slots__*.\n', - 'attribute-references': '\n' - 'Attribute references\n' + ' *__slots__*.\n' + '\n' + '* Multiple inheritance with multiple slotted parent ' + 'classes can be\n' + ' used, but only one parent is allowed to have ' + 'attributes created by\n' + ' slots (the other bases must have empty slot layouts) - ' + 'violations\n' + ' raise "TypeError".\n', + 'attribute-references': 'Attribute references\n' '********************\n' '\n' 'An attribute reference is a primary followed by a ' @@ -875,8 +872,7 @@ topics = {'assert': '\n' 'determined by the object. Multiple evaluations of ' 'the same attribute\n' 'reference may yield different objects.\n', - 'augassign': '\n' - 'Augmented assignment statements\n' + 'augassign': 'Augmented assignment statements\n' '*******************************\n' '\n' 'Augmented assignment is the combination, in a single statement, ' @@ -940,8 +936,7 @@ topics = {'assert': '\n' 'about\n' 'class and instance attributes applies as for regular ' 'assignments.\n', - 'binary': '\n' - 'Binary arithmetic operations\n' + 'binary': 'Binary arithmetic operations\n' '****************************\n' '\n' 'The binary arithmetic operations have the conventional priority\n' @@ -1029,8 +1024,7 @@ topics = {'assert': '\n' 'The "-" (subtraction) operator yields the difference of its ' 'arguments.\n' 'The numeric arguments are first converted to a common type.\n', - 'bitwise': '\n' - 'Binary bitwise operations\n' + 'bitwise': 'Binary bitwise operations\n' '*************************\n' '\n' 'Each of the three bitwise operations has a different priority ' @@ -1050,8 +1044,7 @@ topics = {'assert': '\n' 'The "|" operator yields the bitwise (inclusive) OR of its ' 'arguments,\n' 'which must be integers.\n', - 'bltin-code-objects': '\n' - 'Code Objects\n' + 'bltin-code-objects': 'Code Objects\n' '************\n' '\n' 'Code objects are used by the implementation to ' @@ -1074,8 +1067,7 @@ topics = {'assert': '\n' '\n' 'See The standard type hierarchy for more ' 'information.\n', - 'bltin-ellipsis-object': '\n' - 'The Ellipsis Object\n' + 'bltin-ellipsis-object': 'The Ellipsis Object\n' '*******************\n' '\n' 'This object is commonly used by slicing (see ' @@ -1087,8 +1079,7 @@ topics = {'assert': '\n' '"Ellipsis" singleton.\n' '\n' 'It is written as "Ellipsis" or "...".\n', - 'bltin-null-object': '\n' - 'The Null Object\n' + 'bltin-null-object': 'The Null Object\n' '***************\n' '\n' "This object is returned by functions that don't " @@ -1100,8 +1091,7 @@ topics = {'assert': '\n' 'same singleton.\n' '\n' 'It is written as "None".\n', - 'bltin-type-objects': '\n' - 'Type Objects\n' + 'bltin-type-objects': 'Type Objects\n' '************\n' '\n' 'Type objects represent the various object types. An ' @@ -1113,8 +1103,7 @@ topics = {'assert': '\n' 'all standard built-in types.\n' '\n' 'Types are written like this: "<class \'int\'>".\n', - 'booleans': '\n' - 'Boolean operations\n' + 'booleans': 'Boolean operations\n' '******************\n' '\n' ' or_test ::= and_test | or_test "or" and_test\n' @@ -1163,8 +1152,7 @@ topics = {'assert': '\n' 'its\n' 'argument (for example, "not \'foo\'" produces "False" rather ' 'than "\'\'".)\n', - 'break': '\n' - 'The "break" statement\n' + 'break': 'The "break" statement\n' '*********************\n' '\n' ' break_stmt ::= "break"\n' @@ -1185,8 +1173,7 @@ topics = {'assert': '\n' 'clause, that "finally" clause is executed before really leaving ' 'the\n' 'loop.\n', - 'callable-types': '\n' - 'Emulating callable objects\n' + 'callable-types': 'Emulating callable objects\n' '**************************\n' '\n' 'object.__call__(self[, args...])\n' @@ -1195,8 +1182,7 @@ topics = {'assert': '\n' 'this method\n' ' is defined, "x(arg1, arg2, ...)" is a shorthand for\n' ' "x.__call__(arg1, arg2, ...)".\n', - 'calls': '\n' - 'Calls\n' + 'calls': 'Calls\n' '*****\n' '\n' 'A call calls a callable object (e.g., a *function*) with a ' @@ -1217,7 +1203,8 @@ topics = {'assert': '\n' ' ("," "*" expression | "," ' 'keyword_item)*\n' ' keywords_arguments ::= (keyword_item | "**" expression)\n' - ' ("," keyword_item | "**" expression)*\n' + ' ("," keyword_item | "," "**" ' + 'expression)*\n' ' keyword_item ::= identifier "=" expression\n' '\n' 'An optional trailing comma may be present after the positional and\n' @@ -1316,7 +1303,7 @@ topics = {'assert': '\n' ' 2 1\n' ' >>> f(a=1, *(2,))\n' ' Traceback (most recent call last):\n' - ' File "<stdin>", line 1, in ?\n' + ' File "<stdin>", line 1, in <module>\n' " TypeError: f() got multiple values for keyword argument 'a'\n" ' >>> f(1, *(2,))\n' ' 1 2\n' @@ -1382,8 +1369,7 @@ topics = {'assert': '\n' ' The class must define a "__call__()" method; the effect is then ' 'the\n' ' same as if that method was called.\n', - 'class': '\n' - 'Class definitions\n' + 'class': 'Class definitions\n' '*****************\n' '\n' 'A class definition defines a class object (see section The ' @@ -1469,8 +1455,7 @@ topics = {'assert': '\n' '\n' 'See also: **PEP 3115** - Metaclasses in Python 3 **PEP 3129** -\n' ' Class Decorators\n', - 'comparisons': '\n' - 'Comparisons\n' + 'comparisons': 'Comparisons\n' '***********\n' '\n' 'Unlike C, all comparison operations in Python have the same ' @@ -1623,7 +1608,7 @@ topics = {'assert': '\n' 'restriction that\n' ' ranges do not support order comparison. Equality ' 'comparison across\n' - ' these types results in unequality, and ordering comparison ' + ' these types results in inequality, and ordering comparison ' 'across\n' ' these types raises "TypeError".\n' '\n' @@ -1687,7 +1672,7 @@ topics = {'assert': '\n' 'they\n' ' have equal *(key, value)* pairs. Equality comparison of the ' 'keys and\n' - ' elements enforces reflexivity.\n' + ' values enforces reflexivity.\n' '\n' ' Order comparisons ("<", ">", "<=", and ">=") raise ' '"TypeError".\n' @@ -1762,6 +1747,12 @@ topics = {'assert': '\n' ' to sequences, but not to sets or mappings). See also the\n' ' "total_ordering()" decorator.\n' '\n' + '* The "hash()" result should be consistent with equality. ' + 'Objects\n' + ' that are equal should either have the same hash value, or ' + 'be marked\n' + ' as unhashable.\n' + '\n' 'Python does not enforce these consistency rules. In fact, ' 'the\n' 'not-a-number values are an example for not following these ' @@ -1773,9 +1764,9 @@ topics = {'assert': '\n' '\n' 'The operators "in" and "not in" test for membership. "x in ' 's"\n' - 'evaluates to true if *x* is a member of *s*, and false ' - 'otherwise. "x\n' - 'not in s" returns the negation of "x in s". All built-in ' + 'evaluates to "True" if *x* is a member of *s*, and "False" ' + 'otherwise.\n' + '"x not in s" returns the negation of "x in s". All built-in ' 'sequences\n' 'and set types support this as well as dictionary, for which ' '"in" tests\n' @@ -1786,30 +1777,32 @@ topics = {'assert': '\n' 'for e in\n' 'y)".\n' '\n' - 'For the string and bytes types, "x in y" is true if and only ' - 'if *x* is\n' - 'a substring of *y*. An equivalent test is "y.find(x) != ' - '-1". Empty\n' - 'strings are always considered to be a substring of any other ' - 'string,\n' - 'so """ in "abc"" will return "True".\n' + 'For the string and bytes types, "x in y" is "True" if and ' + 'only if *x*\n' + 'is a substring of *y*. An equivalent test is "y.find(x) != ' + '-1".\n' + 'Empty strings are always considered to be a substring of any ' + 'other\n' + 'string, so """ in "abc"" will return "True".\n' '\n' 'For user-defined classes which define the "__contains__()" ' 'method, "x\n' - 'in y" is true if and only if "y.__contains__(x)" is true.\n' + 'in y" returns "True" if "y.__contains__(x)" returns a true ' + 'value, and\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 == z"\n' - 'is produced while iterating over "y". If an exception is ' + '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' '\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 ' + '"__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' @@ -1833,8 +1826,7 @@ topics = {'assert': '\n' 'is determined using the "id()" function. "x is not y" yields ' 'the\n' 'inverse truth value. [4]\n', - 'compound': '\n' - 'Compound statements\n' + 'compound': 'Compound statements\n' '*******************\n' '\n' 'Compound statements contain (groups of) other statements; they ' @@ -2613,7 +2605,8 @@ topics = {'assert': '\n' 'functions, even if they do not contain "await" or "async" ' 'keywords.\n' '\n' - 'It is a "SyntaxError" to use "yield" expressions in "async def"\n' + 'It is a "SyntaxError" to use "yield from" expressions in "async ' + 'def"\n' 'coroutines.\n' '\n' 'An example of a coroutine function:\n' @@ -2724,8 +2717,7 @@ topics = {'assert': '\n' ' body is transformed into the namespace\'s "__doc__" item ' 'and\n' " therefore the class's *docstring*.\n", - 'context-managers': '\n' - 'With Statement Context Managers\n' + 'context-managers': 'With Statement Context Managers\n' '*******************************\n' '\n' 'A *context manager* is an object that defines the ' @@ -2787,8 +2779,7 @@ topics = {'assert': '\n' ' The specification, background, and examples for the ' 'Python "with"\n' ' statement.\n', - 'continue': '\n' - 'The "continue" statement\n' + 'continue': 'The "continue" statement\n' '************************\n' '\n' ' continue_stmt ::= "continue"\n' @@ -2805,8 +2796,7 @@ topics = {'assert': '\n' '"finally" clause, that "finally" clause is executed before ' 'really\n' 'starting the next loop cycle.\n', - 'conversions': '\n' - 'Arithmetic conversions\n' + 'conversions': 'Arithmetic conversions\n' '**********************\n' '\n' 'When a description of an arithmetic operator below uses the ' @@ -2832,8 +2822,7 @@ topics = {'assert': '\n' "left argument to the '%' operator). Extensions must define " 'their own\n' 'conversion behavior.\n', - 'customization': '\n' - 'Basic customization\n' + 'customization': 'Basic customization\n' '*******************\n' '\n' 'object.__new__(cls[, ...])\n' @@ -2855,11 +2844,11 @@ topics = {'assert': '\n' ' Typical implementations create a new instance of the ' 'class by\n' ' invoking the superclass\'s "__new__()" method using\n' - ' "super(currentclass, cls).__new__(cls[, ...])" with ' - 'appropriate\n' - ' arguments and then modifying the newly-created instance ' - 'as\n' - ' necessary before returning it.\n' + ' "super().__new__(cls[, ...])" with appropriate arguments ' + 'and then\n' + ' modifying the newly-created instance as necessary before ' + 'returning\n' + ' it.\n' '\n' ' If "__new__()" returns an instance of *cls*, then the ' 'new\n' @@ -2894,7 +2883,7 @@ topics = {'assert': '\n' ' any, must explicitly call it to ensure proper ' 'initialization of the\n' ' base class part of the instance; for example:\n' - ' "BaseClass.__init__(self, [args...])".\n' + ' "super().__init__([args...])".\n' '\n' ' Because "__new__()" and "__init__()" work together in ' 'constructing\n' @@ -3043,8 +3032,8 @@ topics = {'assert': '\n' '\n' 'object.__bytes__(self)\n' '\n' - ' Called by "bytes()" to compute a byte-string ' - 'representation of an\n' + ' Called by bytes to compute a byte-string representation ' + 'of an\n' ' object. This should return a "bytes" object.\n' '\n' 'object.__format__(self, format_spec)\n' @@ -3077,6 +3066,11 @@ topics = {'assert': '\n' '"object" itself\n' ' raises a "TypeError" if passed any non-empty string.\n' '\n' + ' Changed in version 3.7: "object.__format__(x, \'\')" is ' + 'now\n' + ' equivalent to "str(x)" rather than "format(str(self), ' + '\'\')".\n' + '\n' 'object.__lt__(self, other)\n' 'object.__le__(self, other)\n' 'object.__eq__(self, other)\n' @@ -3152,15 +3146,18 @@ topics = {'assert': '\n' 'on members\n' ' of hashed collections including "set", "frozenset", and ' '"dict".\n' - ' "__hash__()" should return an integer. The only ' - 'required property\n' + ' "__hash__()" should return an integer. The only required ' + 'property\n' ' is that objects which compare equal have the same hash ' 'value; it is\n' - ' advised to somehow mix together (e.g. using exclusive ' - 'or) the hash\n' - ' values for the components of the object that also play a ' - 'part in\n' - ' comparison of objects.\n' + ' advised to mix together the hash values of the ' + 'components of the\n' + ' object that also play a part in comparison of objects by ' + 'packing\n' + ' them into a tuple and hashing the tuple. Example:\n' + '\n' + ' def __hash__(self):\n' + ' return hash((self.name, self.nick, self.color))\n' '\n' ' Note: "hash()" truncates the value returned from an ' "object's\n" @@ -3211,8 +3208,8 @@ topics = {'assert': '\n' 'attempts to\n' ' retrieve their hash value, and will also be correctly ' 'identified as\n' - ' unhashable when checking "isinstance(obj, ' - 'collections.Hashable)".\n' + ' unhashable when checking "isinstance(obj,\n' + ' collections.abc.Hashable)".\n' '\n' ' If a class that overrides "__eq__()" needs to retain ' 'the\n' @@ -3229,8 +3226,8 @@ topics = {'assert': '\n' 'that\n' ' explicitly raises a "TypeError" would be incorrectly ' 'identified as\n' - ' hashable by an "isinstance(obj, collections.Hashable)" ' - 'call.\n' + ' hashable by an "isinstance(obj, ' + 'collections.abc.Hashable)" call.\n' '\n' ' Note: By default, the "__hash__()" values of str, bytes ' 'and\n' @@ -3272,8 +3269,7 @@ topics = {'assert': '\n' ' neither "__len__()" nor "__bool__()", all its instances ' 'are\n' ' considered true.\n', - 'debugger': '\n' - '"pdb" --- The Python Debugger\n' + 'debugger': '"pdb" --- The Python Debugger\n' '*****************************\n' '\n' '**Source code:** Lib/pdb.py\n' @@ -3360,7 +3356,7 @@ topics = {'assert': '\n' ' >>> import mymodule\n' ' >>> mymodule.test()\n' ' Traceback (most recent call last):\n' - ' File "<stdin>", line 1, in ?\n' + ' File "<stdin>", line 1, in <module>\n' ' File "./mymodule.py", line 4, in test\n' ' test2()\n' ' File "./mymodule.py", line 3, in test2\n' @@ -3702,7 +3698,7 @@ topics = {'assert': '\n' ' end). This is because any time you resume execution (even ' 'with a\n' ' simple next or step), you may encounter another ' - 'breakpoint--which\n' + 'breakpoint—which\n' ' could have its own command list, leading to ambiguities about ' 'which\n' ' list to execute.\n' @@ -3938,8 +3934,7 @@ topics = {'assert': '\n' '[1] Whether a frame is considered to originate in a certain ' 'module\n' ' is determined by the "__name__" in the frame globals.\n', - 'del': '\n' - 'The "del" statement\n' + 'del': 'The "del" statement\n' '*******************\n' '\n' ' del_stmt ::= "del" target_list\n' @@ -3968,8 +3963,7 @@ topics = {'assert': '\n' 'Changed in version 3.2: Previously it was illegal to delete a name\n' 'from the local namespace if it occurs as a free variable in a nested\n' 'block.\n', - 'dict': '\n' - 'Dictionary displays\n' + 'dict': 'Dictionary displays\n' '*******************\n' '\n' 'A dictionary display is a possibly empty series of key/datum pairs\n' @@ -4013,8 +4007,7 @@ topics = {'assert': '\n' 'should be *hashable*, which excludes all mutable objects.) Clashes\n' 'between duplicate keys are not detected; the last datum (textually\n' 'rightmost in the display) stored for a given key value prevails.\n', - 'dynamic-features': '\n' - 'Interaction with dynamic features\n' + 'dynamic-features': 'Interaction with dynamic features\n' '*********************************\n' '\n' 'Name resolution of free variables occurs at runtime, not ' @@ -4027,16 +4020,6 @@ topics = {'assert': '\n' ' i = 42\n' ' f()\n' '\n' - 'There are several cases where Python statements are ' - 'illegal when used\n' - 'in conjunction with nested scopes that contain free ' - 'variables.\n' - '\n' - 'If a variable is referenced in an enclosing scope, it is ' - 'illegal to\n' - 'delete the name. An error will be reported at compile ' - 'time.\n' - '\n' 'The "eval()" and "exec()" functions do not have access ' 'to the full\n' 'environment for resolving names. Names may be resolved ' @@ -4050,8 +4033,7 @@ topics = {'assert': '\n' 'override the global and local namespace. If only one ' 'namespace is\n' 'specified, it is used for both.\n', - 'else': '\n' - 'The "if" statement\n' + 'else': 'The "if" statement\n' '******************\n' '\n' 'The "if" statement is used for conditional execution:\n' @@ -4068,8 +4050,7 @@ topics = {'assert': '\n' '(and no other part of the "if" statement is executed or evaluated).\n' 'If all expressions are false, the suite of the "else" clause, if\n' 'present, is executed.\n', - 'exceptions': '\n' - 'Exceptions\n' + 'exceptions': 'Exceptions\n' '**********\n' '\n' 'Exceptions are a means of breaking out of the normal flow of ' @@ -4145,8 +4126,7 @@ topics = {'assert': '\n' ' these operations is not available at the time the module ' 'is\n' ' compiled.\n', - 'execmodel': '\n' - 'Execution model\n' + 'execmodel': 'Execution model\n' '***************\n' '\n' '\n' @@ -4343,6 +4323,13 @@ topics = {'assert': '\n' 'Builtins and restricted execution\n' '---------------------------------\n' '\n' + '**CPython implementation detail:** Users should not touch\n' + '"__builtins__"; it is strictly an implementation detail. ' + 'Users\n' + 'wanting to override values in the builtins namespace should ' + '"import"\n' + 'the "builtins" module and modify its attributes appropriately.\n' + '\n' 'The builtins namespace associated with the execution of a code ' 'block\n' 'is actually found by looking up the name "__builtins__" in its ' @@ -4355,16 +4342,7 @@ topics = {'assert': '\n' 'in any\n' 'other module, "__builtins__" is an alias for the dictionary of ' 'the\n' - '"builtins" module itself. "__builtins__" can be set to a ' - 'user-created\n' - 'dictionary to create a weak form of restricted execution.\n' - '\n' - '**CPython implementation detail:** Users should not touch\n' - '"__builtins__"; it is strictly an implementation detail. ' - 'Users\n' - 'wanting to override values in the builtins namespace should ' - '"import"\n' - 'the "builtins" module and modify its attributes appropriately.\n' + '"builtins" module itself.\n' '\n' '\n' 'Interaction with dynamic features\n' @@ -4380,14 +4358,6 @@ topics = {'assert': '\n' ' i = 42\n' ' f()\n' '\n' - 'There are several cases where Python statements are illegal ' - 'when used\n' - 'in conjunction with nested scopes that contain free variables.\n' - '\n' - 'If a variable is referenced in an enclosing scope, it is ' - 'illegal to\n' - 'delete the name. An error will be reported at compile time.\n' - '\n' 'The "eval()" and "exec()" functions do not have access to the ' 'full\n' 'environment for resolving names. Names may be resolved in the ' @@ -4477,8 +4447,7 @@ topics = {'assert': '\n' ' these operations is not available at the time the module ' 'is\n' ' compiled.\n', - 'exprlists': '\n' - 'Expression lists\n' + 'exprlists': 'Expression lists\n' '****************\n' '\n' ' expression_list ::= expression ( "," expression )* [","]\n' @@ -4515,8 +4484,7 @@ topics = {'assert': '\n' 'value of that expression. (To create an empty tuple, use an ' 'empty pair\n' 'of parentheses: "()".)\n', - 'floating': '\n' - 'Floating point literals\n' + 'floating': 'Floating point literals\n' '***********************\n' '\n' 'Floating point literals are described by the following lexical\n' @@ -4552,8 +4520,7 @@ topics = {'assert': '\n' 'Changed in version 3.6: Underscores are now allowed for ' 'grouping\n' 'purposes in literals.\n', - 'for': '\n' - 'The "for" statement\n' + 'for': 'The "for" statement\n' '*******************\n' '\n' 'The "for" statement is used to iterate over the elements of a ' @@ -4625,8 +4592,7 @@ topics = {'assert': '\n' '\n' ' for x in a[:]:\n' ' if x < 0: a.remove(x)\n', - 'formatstrings': '\n' - 'Format String Syntax\n' + 'formatstrings': 'Format String Syntax\n' '********************\n' '\n' 'The "str.format()" method and the "Formatter" class share ' @@ -5066,9 +5032,9 @@ topics = {'assert': '\n' 'be formatted\n' 'with the floating point presentation types listed below ' '(except "\'n\'"\n' - 'and None). When doing so, "float()" is used to convert the ' - 'integer to\n' - 'a floating point number before formatting.\n' + 'and "None"). When doing so, "float()" is used to convert ' + 'the integer\n' + 'to a floating point number before formatting.\n' '\n' 'The available presentation types for floating point and ' 'decimal values\n' @@ -5345,8 +5311,7 @@ topics = {'assert': '\n' ' 9 9 11 1001\n' ' 10 A 12 1010\n' ' 11 B 13 1011\n', - 'function': '\n' - 'Function definitions\n' + 'function': 'Function definitions\n' '********************\n' '\n' 'A function definition defines a user-defined function object ' @@ -5515,8 +5480,7 @@ topics = {'assert': '\n' '\n' ' **PEP 3107** - Function Annotations\n' ' The original specification for function annotations.\n', - 'global': '\n' - 'The "global" statement\n' + 'global': 'The "global" statement\n' '**********************\n' '\n' ' global_stmt ::= "global" identifier ("," identifier)*\n' @@ -5547,8 +5511,8 @@ topics = {'assert': '\n' 'change\n' 'the meaning of the program.\n' '\n' - '**Programmer\'s note:** the "global" is a directive to the ' - 'parser. It\n' + '**Programmer\'s note:** "global" is a directive to the parser. ' + 'It\n' 'applies only to code parsed at the same time as the "global"\n' 'statement. In particular, a "global" statement contained in a ' 'string\n' @@ -5560,8 +5524,7 @@ topics = {'assert': '\n' 'code containing the function call. The same applies to the ' '"eval()"\n' 'and "compile()" functions.\n', - 'id-classes': '\n' - 'Reserved classes of identifiers\n' + 'id-classes': 'Reserved classes of identifiers\n' '*******************************\n' '\n' 'Certain classes of identifiers (besides keywords) have ' @@ -5609,8 +5572,7 @@ topics = {'assert': '\n' ' to help avoid name clashes between "private" attributes of ' 'base and\n' ' derived classes. See section Identifiers (Names).\n', - 'identifiers': '\n' - 'Identifiers and keywords\n' + 'identifiers': 'Identifiers and keywords\n' '************************\n' '\n' 'Identifiers (also referred to as *names*) are described by ' @@ -5758,8 +5720,7 @@ topics = {'assert': '\n' ' to help avoid name clashes between "private" attributes of ' 'base and\n' ' derived classes. See section Identifiers (Names).\n', - 'if': '\n' - 'The "if" statement\n' + 'if': 'The "if" statement\n' '******************\n' '\n' 'The "if" statement is used for conditional execution:\n' @@ -5775,8 +5736,7 @@ topics = {'assert': '\n' '(and no other part of the "if" statement is executed or evaluated).\n' 'If all expressions are false, the suite of the "else" clause, if\n' 'present, is executed.\n', - 'imaginary': '\n' - 'Imaginary literals\n' + 'imaginary': 'Imaginary literals\n' '******************\n' '\n' 'Imaginary literals are described by the following lexical ' @@ -5796,8 +5756,7 @@ topics = {'assert': '\n' '\n' ' 3.14j 10.j 10j .001j 1e100j 3.14e-10j ' '3.14_15_93j\n', - 'import': '\n' - 'The "import" statement\n' + 'import': 'The "import" statement\n' '**********************\n' '\n' ' import_stmt ::= "import" module ["as" name] ( "," module ' @@ -6058,13 +6017,13 @@ topics = {'assert': '\n' '\n' ' **PEP 236** - Back to the __future__\n' ' The original proposal for the __future__ mechanism.\n', - 'in': '\n' - 'Membership test operations\n' + 'in': 'Membership test operations\n' '**************************\n' '\n' 'The operators "in" and "not in" test for membership. "x in s"\n' - 'evaluates to true if *x* is a member of *s*, and false otherwise. "x\n' - 'not in s" returns the negation of "x in s". All built-in sequences\n' + 'evaluates to "True" if *x* is a member of *s*, and "False" otherwise.\n' + '"x not in s" returns the negation of "x in s". All built-in ' + 'sequences\n' 'and set types support this as well as dictionary, for which "in" ' 'tests\n' 'whether the dictionary has a given key. For container types such as\n' @@ -6072,30 +6031,29 @@ topics = {'assert': '\n' 'expression "x in y" is equivalent to "any(x is e or x == e for e in\n' 'y)".\n' '\n' - 'For the string and bytes types, "x in y" is true if and only if *x* ' - 'is\n' - 'a substring of *y*. An equivalent test is "y.find(x) != -1". Empty\n' - 'strings are always considered to be a substring of any other string,\n' - 'so """ in "abc"" will return "True".\n' + 'For the string and bytes types, "x in y" is "True" if and only if *x*\n' + 'is a substring of *y*. An equivalent test is "y.find(x) != -1".\n' + 'Empty strings are always considered to be a substring of any other\n' + 'string, so """ in "abc"" will return "True".\n' '\n' 'For user-defined classes which define the "__contains__()" method, "x\n' - 'in y" is true if and only if "y.__contains__(x)" is true.\n' + 'in y" returns "True" if "y.__contains__(x)" returns a true value, and\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 == z"\n' - 'is produced while iterating over "y". If an exception is raised\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' '\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' + '"__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' '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' '"in".\n', - 'integers': '\n' - 'Integer literals\n' + 'integers': 'Integer literals\n' '****************\n' '\n' 'Integer literals are described by the following lexical ' @@ -6141,8 +6099,7 @@ topics = {'assert': '\n' 'Changed in version 3.6: Underscores are now allowed for ' 'grouping\n' 'purposes in literals.\n', - 'lambda': '\n' - 'Lambdas\n' + 'lambda': 'Lambdas\n' '*******\n' '\n' ' lambda_expr ::= "lambda" [parameter_list]: expression\n' @@ -6165,8 +6122,7 @@ topics = {'assert': '\n' 'Note that functions created with lambda expressions cannot ' 'contain\n' 'statements or annotations.\n', - 'lists': '\n' - 'List displays\n' + 'lists': 'List displays\n' '*************\n' '\n' 'A list display is a possibly empty series of expressions enclosed ' @@ -6183,8 +6139,7 @@ topics = {'assert': '\n' 'from left to right and placed into the list object in that order.\n' 'When a comprehension is supplied, the list is constructed from the\n' 'elements resulting from the comprehension.\n', - 'naming': '\n' - 'Naming and binding\n' + 'naming': 'Naming and binding\n' '******************\n' '\n' '\n' @@ -6341,6 +6296,12 @@ topics = {'assert': '\n' 'Builtins and restricted execution\n' '=================================\n' '\n' + '**CPython implementation detail:** Users should not touch\n' + '"__builtins__"; it is strictly an implementation detail. Users\n' + 'wanting to override values in the builtins namespace should ' + '"import"\n' + 'the "builtins" module and modify its attributes appropriately.\n' + '\n' 'The builtins namespace associated with the execution of a code ' 'block\n' 'is actually found by looking up the name "__builtins__" in its ' @@ -6353,15 +6314,7 @@ topics = {'assert': '\n' 'any\n' 'other module, "__builtins__" is an alias for the dictionary of ' 'the\n' - '"builtins" module itself. "__builtins__" can be set to a ' - 'user-created\n' - 'dictionary to create a weak form of restricted execution.\n' - '\n' - '**CPython implementation detail:** Users should not touch\n' - '"__builtins__"; it is strictly an implementation detail. Users\n' - 'wanting to override values in the builtins namespace should ' - '"import"\n' - 'the "builtins" module and modify its attributes appropriately.\n' + '"builtins" module itself.\n' '\n' '\n' 'Interaction with dynamic features\n' @@ -6377,14 +6330,6 @@ topics = {'assert': '\n' ' i = 42\n' ' f()\n' '\n' - 'There are several cases where Python statements are illegal when ' - 'used\n' - 'in conjunction with nested scopes that contain free variables.\n' - '\n' - 'If a variable is referenced in an enclosing scope, it is illegal ' - 'to\n' - 'delete the name. An error will be reported at compile time.\n' - '\n' 'The "eval()" and "exec()" functions do not have access to the ' 'full\n' 'environment for resolving names. Names may be resolved in the ' @@ -6397,8 +6342,7 @@ topics = {'assert': '\n' 'override the global and local namespace. If only one namespace ' 'is\n' 'specified, it is used for both.\n', - 'nonlocal': '\n' - 'The "nonlocal" statement\n' + 'nonlocal': 'The "nonlocal" statement\n' '************************\n' '\n' ' nonlocal_stmt ::= "nonlocal" identifier ("," identifier)*\n' @@ -6429,8 +6373,7 @@ topics = {'assert': '\n' '\n' ' **PEP 3104** - Access to Names in Outer Scopes\n' ' The specification for the "nonlocal" statement.\n', - 'numbers': '\n' - 'Numeric literals\n' + 'numbers': 'Numeric literals\n' '****************\n' '\n' 'There are three types of numeric literals: integers, floating ' @@ -6444,8 +6387,7 @@ topics = {'assert': '\n' 'is actually an expression composed of the unary operator \'"-"\' ' 'and the\n' 'literal "1".\n', - 'numeric-types': '\n' - 'Emulating numeric types\n' + 'numeric-types': 'Emulating numeric types\n' '***********************\n' '\n' 'The following methods can be defined to emulate numeric ' @@ -6621,8 +6563,7 @@ topics = {'assert': '\n' ' "__index__()" is defined "__int__()" should also be ' 'defined, and\n' ' both should return the same value.\n', - 'objects': '\n' - 'Objects, values and types\n' + 'objects': 'Objects, values and types\n' '*************************\n' '\n' "*Objects* are Python's abstraction for data. All data in a " @@ -6750,8 +6691,7 @@ topics = {'assert': '\n' 'created empty lists. (Note that "c = d = []" assigns the same ' 'object\n' 'to both "c" and "d".)\n', - 'operator-summary': '\n' - 'Operator precedence\n' + 'operator-summary': 'Operator precedence\n' '*******************\n' '\n' 'The following table summarizes the operator precedence ' @@ -6812,7 +6752,9 @@ topics = {'assert': '\n' 'Addition and subtraction |\n' '+-------------------------------------------------+---------------------------------------+\n' '| "*", "@", "/", "//", "%" | ' - 'Multiplication, matrix multiplication |\n' + 'Multiplication, matrix |\n' + '| | ' + 'multiplication, division, floor |\n' '| | ' 'division, remainder [5] |\n' '+-------------------------------------------------+---------------------------------------+\n' @@ -6924,8 +6866,7 @@ topics = {'assert': '\n' 'arithmetic\n' ' or bitwise unary operator on its right, that is, ' '"2**-1" is "0.5".\n', - 'pass': '\n' - 'The "pass" statement\n' + 'pass': 'The "pass" statement\n' '********************\n' '\n' ' pass_stmt ::= "pass"\n' @@ -6938,8 +6879,7 @@ topics = {'assert': '\n' ' def f(arg): pass # a function that does nothing (yet)\n' '\n' ' class C: pass # a class with no methods (yet)\n', - 'power': '\n' - 'The power operator\n' + 'power': 'The power operator\n' '******************\n' '\n' 'The power operator binds more tightly than unary operators on its\n' @@ -6973,8 +6913,7 @@ topics = {'assert': '\n' 'Raising a negative number to a fractional power results in a ' '"complex"\n' 'number. (In earlier versions it raised a "ValueError".)\n', - 'raise': '\n' - 'The "raise" statement\n' + 'raise': 'The "raise" statement\n' '*********************\n' '\n' ' raise_stmt ::= "raise" [expression ["from" expression]]\n' @@ -7024,7 +6963,7 @@ topics = {'assert': '\n' ' ...\n' ' Traceback (most recent call last):\n' ' File "<stdin>", line 2, in <module>\n' - ' ZeroDivisionError: int division or modulo by zero\n' + ' ZeroDivisionError: division by zero\n' '\n' ' The above exception was the direct cause of the following ' 'exception:\n' @@ -7046,7 +6985,7 @@ topics = {'assert': '\n' ' ...\n' ' Traceback (most recent call last):\n' ' File "<stdin>", line 2, in <module>\n' - ' ZeroDivisionError: int division or modulo by zero\n' + ' ZeroDivisionError: division by zero\n' '\n' ' During handling of the above exception, another exception ' 'occurred:\n' @@ -7055,12 +6994,31 @@ topics = {'assert': '\n' ' File "<stdin>", line 4, in <module>\n' ' RuntimeError: Something bad happened\n' '\n' + 'Exception chaining can be explicitly suppressed by specifying ' + '"None"\n' + 'in the "from" clause:\n' + '\n' + ' >>> try:\n' + ' ... print(1 / 0)\n' + ' ... except:\n' + ' ... raise RuntimeError("Something bad happened") from None\n' + ' ...\n' + ' Traceback (most recent call last):\n' + ' File "<stdin>", line 4, in <module>\n' + ' RuntimeError: Something bad happened\n' + '\n' 'Additional information on exceptions can be found in section\n' 'Exceptions, and information about handling exceptions is in ' 'section\n' - 'The try statement.\n', - 'return': '\n' - 'The "return" statement\n' + 'The try statement.\n' + '\n' + 'Changed in version 3.3: "None" is now permitted as "Y" in "raise X\n' + 'from Y".\n' + '\n' + 'New in version 3.3: The "__suppress_context__" attribute to ' + 'suppress\n' + 'automatic display of the exception context.\n', + 'return': 'The "return" statement\n' '**********************\n' '\n' ' return_stmt ::= "return" [expression_list]\n' @@ -7087,9 +7045,15 @@ topics = {'assert': '\n' 'generator is done and will cause "StopIteration" to be raised. ' 'The\n' 'returned value (if any) is used as an argument to construct\n' - '"StopIteration" and becomes the "StopIteration.value" attribute.\n', - 'sequence-types': '\n' - 'Emulating container types\n' + '"StopIteration" and becomes the "StopIteration.value" attribute.\n' + '\n' + 'In an asynchronous generator function, an empty "return" ' + 'statement\n' + 'indicates that the asynchronous generator is done and will cause\n' + '"StopAsyncIteration" to be raised. A non-empty "return" statement ' + 'is\n' + 'a syntax error in an asynchronous generator function.\n', + 'sequence-types': 'Emulating container types\n' '*************************\n' '\n' 'The following methods can be defined to implement ' @@ -7114,7 +7078,7 @@ topics = {'assert': '\n' '"update()"\n' "behaving similar to those for Python's standard dictionary " 'objects.\n' - 'The "collections" module provides a "MutableMapping" ' + 'The "collections.abc" module provides a "MutableMapping" ' 'abstract base\n' 'class to help create those methods from a base set of ' '"__getitem__()",\n' @@ -7161,6 +7125,16 @@ topics = {'assert': '\n' ' returns zero is considered to be false in a Boolean ' 'context.\n' '\n' + ' **CPython implementation detail:** In CPython, the ' + 'length is\n' + ' required to be at most "sys.maxsize". If the length is ' + 'larger than\n' + ' "sys.maxsize" some features (such as "len()") may ' + 'raise\n' + ' "OverflowError". To prevent raising "OverflowError" by ' + 'truth value\n' + ' testing, an object must define a "__bool__()" method.\n' + '\n' 'object.__length_hint__(self)\n' '\n' ' Called to implement "operator.length_hint()". Should ' @@ -7310,8 +7284,7 @@ topics = {'assert': '\n' ' iteration protocol via "__getitem__()", see this ' 'section in the\n' ' language reference.\n', - 'shifting': '\n' - 'Shifting operations\n' + 'shifting': 'Shifting operations\n' '*******************\n' '\n' 'The shifting operations have lower priority than the arithmetic\n' @@ -7328,15 +7301,8 @@ topics = {'assert': '\n' 'A right shift by *n* bits is defined as floor division by ' '"pow(2,n)".\n' 'A left shift by *n* bits is defined as multiplication with ' - '"pow(2,n)".\n' - '\n' - 'Note: In the current implementation, the right-hand operand is\n' - ' required to be at most "sys.maxsize". If the right-hand ' - 'operand is\n' - ' larger than "sys.maxsize" an "OverflowError" exception is ' - 'raised.\n', - 'slicings': '\n' - 'Slicings\n' + '"pow(2,n)".\n', + 'slicings': 'Slicings\n' '********\n' '\n' 'A slicing selects a range of items in a sequence object (e.g., ' @@ -7387,8 +7353,7 @@ topics = {'assert': '\n' 'as lower bound, upper bound and stride, respectively, ' 'substituting\n' '"None" for missing expressions.\n', - 'specialattrs': '\n' - 'Special Attributes\n' + 'specialattrs': 'Special Attributes\n' '******************\n' '\n' 'The implementation adds a few special read-only attributes ' @@ -7473,8 +7438,7 @@ topics = {'assert': '\n' '[5] To format only a tuple you should therefore provide a\n' ' singleton tuple whose only element is the tuple to be ' 'formatted.\n', - 'specialnames': '\n' - 'Special method names\n' + 'specialnames': 'Special method names\n' '********************\n' '\n' 'A class can implement certain operations that are invoked by ' @@ -7540,11 +7504,11 @@ topics = {'assert': '\n' ' Typical implementations create a new instance of the ' 'class by\n' ' invoking the superclass\'s "__new__()" method using\n' - ' "super(currentclass, cls).__new__(cls[, ...])" with ' - 'appropriate\n' - ' arguments and then modifying the newly-created instance ' - 'as\n' - ' necessary before returning it.\n' + ' "super().__new__(cls[, ...])" with appropriate arguments ' + 'and then\n' + ' modifying the newly-created instance as necessary before ' + 'returning\n' + ' it.\n' '\n' ' If "__new__()" returns an instance of *cls*, then the ' 'new\n' @@ -7579,7 +7543,7 @@ topics = {'assert': '\n' ' any, must explicitly call it to ensure proper ' 'initialization of the\n' ' base class part of the instance; for example:\n' - ' "BaseClass.__init__(self, [args...])".\n' + ' "super().__init__([args...])".\n' '\n' ' Because "__new__()" and "__init__()" work together in ' 'constructing\n' @@ -7726,8 +7690,8 @@ topics = {'assert': '\n' '\n' 'object.__bytes__(self)\n' '\n' - ' Called by "bytes()" to compute a byte-string ' - 'representation of an\n' + ' Called by bytes to compute a byte-string representation ' + 'of an\n' ' object. This should return a "bytes" object.\n' '\n' 'object.__format__(self, format_spec)\n' @@ -7760,6 +7724,11 @@ topics = {'assert': '\n' 'itself\n' ' raises a "TypeError" if passed any non-empty string.\n' '\n' + ' Changed in version 3.7: "object.__format__(x, \'\')" is ' + 'now\n' + ' equivalent to "str(x)" rather than "format(str(self), ' + '\'\')".\n' + '\n' 'object.__lt__(self, other)\n' 'object.__le__(self, other)\n' 'object.__eq__(self, other)\n' @@ -7835,15 +7804,18 @@ topics = {'assert': '\n' 'on members\n' ' of hashed collections including "set", "frozenset", and ' '"dict".\n' - ' "__hash__()" should return an integer. The only required ' + ' "__hash__()" should return an integer. The only required ' 'property\n' ' is that objects which compare equal have the same hash ' 'value; it is\n' - ' advised to somehow mix together (e.g. using exclusive or) ' - 'the hash\n' - ' values for the components of the object that also play a ' - 'part in\n' - ' comparison of objects.\n' + ' advised to mix together the hash values of the components ' + 'of the\n' + ' object that also play a part in comparison of objects by ' + 'packing\n' + ' them into a tuple and hashing the tuple. Example:\n' + '\n' + ' def __hash__(self):\n' + ' return hash((self.name, self.nick, self.color))\n' '\n' ' Note: "hash()" truncates the value returned from an ' "object's\n" @@ -7893,8 +7865,8 @@ topics = {'assert': '\n' 'attempts to\n' ' retrieve their hash value, and will also be correctly ' 'identified as\n' - ' unhashable when checking "isinstance(obj, ' - 'collections.Hashable)".\n' + ' unhashable when checking "isinstance(obj,\n' + ' collections.abc.Hashable)".\n' '\n' ' If a class that overrides "__eq__()" needs to retain the\n' ' implementation of "__hash__()" from a parent class, the ' @@ -7910,8 +7882,8 @@ topics = {'assert': '\n' 'that\n' ' explicitly raises a "TypeError" would be incorrectly ' 'identified as\n' - ' hashable by an "isinstance(obj, collections.Hashable)" ' - 'call.\n' + ' hashable by an "isinstance(obj, ' + 'collections.abc.Hashable)" call.\n' '\n' ' Note: By default, the "__hash__()" values of str, bytes ' 'and\n' @@ -8221,23 +8193,14 @@ topics = {'assert': '\n' '__slots__\n' '---------\n' '\n' - 'By default, instances of classes have a dictionary for ' - 'attribute\n' - 'storage. This wastes space for objects having very few ' - 'instance\n' - 'variables. The space consumption can become acute when ' - 'creating large\n' - 'numbers of instances.\n' + '*__slots__* allow us to explicitly declare data members ' + '(like\n' + 'properties) and deny the creation of *__dict__* and ' + '*__weakref__*\n' + '(unless explicitly declared in *__slots__* or available in a ' + 'parent.)\n' '\n' - 'The default can be overridden by defining *__slots__* in a ' - 'class\n' - 'definition. The *__slots__* declaration takes a sequence of ' - 'instance\n' - 'variables and reserves just enough space in each instance to ' - 'hold a\n' - 'value for each variable. Space is saved because *__dict__* ' - 'is not\n' - 'created for each instance.\n' + 'The space saved over using *__dict__* can be significant.\n' '\n' 'object.__slots__\n' '\n' @@ -8257,9 +8220,9 @@ topics = {'assert': '\n' '\n' '* When inheriting from a class without *__slots__*, the ' '*__dict__*\n' - ' attribute of that class will always be accessible, so a ' - '*__slots__*\n' - ' definition in the subclass is meaningless.\n' + ' and *__weakref__* attribute of the instances will always ' + 'be\n' + ' accessible.\n' '\n' '* Without a *__dict__* variable, instances cannot be ' 'assigned new\n' @@ -8291,13 +8254,16 @@ topics = {'assert': '\n' 'class\n' ' attribute would overwrite the descriptor assignment.\n' '\n' - '* The action of a *__slots__* declaration is limited to the ' - 'class\n' - ' where it is defined. As a result, subclasses will have a ' - '*__dict__*\n' - ' unless they also define *__slots__* (which must only ' - 'contain names\n' - ' of any *additional* slots).\n' + '* The action of a *__slots__* declaration is not limited to ' + 'the\n' + ' class where it is defined. *__slots__* declared in ' + 'parents are\n' + ' available in child classes. However, child subclasses will ' + 'get a\n' + ' *__dict__* and *__weakref__* unless they also define ' + '*__slots__*\n' + ' (which should only contain names of any *additional* ' + 'slots).\n' '\n' '* If a class defines a slot also defined in a base class, ' 'the\n' @@ -8324,6 +8290,14 @@ topics = {'assert': '\n' 'same\n' ' *__slots__*.\n' '\n' + '* Multiple inheritance with multiple slotted parent classes ' + 'can be\n' + ' used, but only one parent is allowed to have attributes ' + 'created by\n' + ' slots (the other bases must have empty slot layouts) - ' + 'violations\n' + ' raise "TypeError".\n' + '\n' '\n' 'Customizing class creation\n' '==========================\n' @@ -8503,9 +8477,10 @@ topics = {'assert': '\n' 'defined at the\n' 'class scope. Class variables must be accessed through the ' 'first\n' - 'parameter of instance or class methods, and cannot be ' - 'accessed at all\n' - 'from static methods.\n' + 'parameter of instance or class methods, or through the ' + 'implicit\n' + 'lexically scoped "__class__" reference described in the next ' + 'section.\n' '\n' '\n' 'Creating the class object\n' @@ -8535,6 +8510,38 @@ topics = {'assert': '\n' 'passed to the\n' 'method.\n' '\n' + '**CPython implementation detail:** In CPython 3.6 and later, ' + 'the\n' + '"__class__" cell is passed to the metaclass as a ' + '"__classcell__" entry\n' + 'in the class namespace. If present, this must be propagated ' + 'up to the\n' + '"type.__new__" call in order for the class to be ' + 'initialised\n' + 'correctly. Failing to do so will result in a ' + '"DeprecationWarning" in\n' + 'Python 3.6, and a "RuntimeWarning" in the future.\n' + '\n' + 'When using the default metaclass "type", or any metaclass ' + 'that\n' + 'ultimately calls "type.__new__", the following additional\n' + 'customisation steps are invoked after creating the class ' + 'object:\n' + '\n' + '* first, "type.__new__" collects all of the descriptors in ' + 'the class\n' + ' namespace that define a "__set_name__()" method;\n' + '\n' + '* second, all of these "__set_name__" methods are called ' + 'with the\n' + ' class being defined and the assigned name of that ' + 'particular\n' + ' descriptor; and\n' + '\n' + '* finally, the "__init_subclass__()" hook is called on the ' + 'immediate\n' + ' parent of the new class in its method resolution order.\n' + '\n' 'After the class object is created, it is passed to the ' 'class\n' 'decorators included in the class definition (if any) and the ' @@ -8562,7 +8569,7 @@ topics = {'assert': '\n' '\n' 'The potential uses for metaclasses are boundless. Some ideas ' 'that have\n' - 'been explored include logging, interface checking, ' + 'been explored include enum, logging, interface checking, ' 'automatic\n' 'delegation, automatic property creation, proxies, ' 'frameworks, and\n' @@ -8701,7 +8708,7 @@ topics = {'assert': '\n' '"update()"\n' "behaving similar to those for Python's standard dictionary " 'objects.\n' - 'The "collections" module provides a "MutableMapping" ' + 'The "collections.abc" module provides a "MutableMapping" ' 'abstract base\n' 'class to help create those methods from a base set of ' '"__getitem__()",\n' @@ -8747,6 +8754,15 @@ topics = {'assert': '\n' ' returns zero is considered to be false in a Boolean ' 'context.\n' '\n' + ' **CPython implementation detail:** In CPython, the length ' + 'is\n' + ' required to be at most "sys.maxsize". If the length is ' + 'larger than\n' + ' "sys.maxsize" some features (such as "len()") may raise\n' + ' "OverflowError". To prevent raising "OverflowError" by ' + 'truth value\n' + ' testing, an object must define a "__bool__()" method.\n' + '\n' 'object.__length_hint__(self)\n' '\n' ' Called to implement "operator.length_hint()". Should ' @@ -9229,8 +9245,7 @@ topics = {'assert': '\n' 'special method *must* be set on the class object itself in ' 'order to be\n' 'consistently invoked by the interpreter).\n', - 'string-methods': '\n' - 'String Methods\n' + 'string-methods': 'String Methods\n' '**************\n' '\n' 'Strings implement all of the common sequence operations, ' @@ -9467,12 +9482,11 @@ topics = {'assert': '\n' 'characters\n' ' and there is at least one character, false otherwise. ' 'Decimal\n' - ' characters are those from general category "Nd". This ' - 'category\n' - ' includes digit characters, and all characters that can ' - 'be used to\n' - ' form decimal-radix numbers, e.g. U+0660, ARABIC-INDIC ' - 'DIGIT ZERO.\n' + ' characters are those that can be used to form numbers ' + 'in base 10,\n' + ' e.g. U+0660, ARABIC-INDIC DIGIT ZERO. Formally a ' + 'decimal character\n' + ' is a character in the Unicode General Category "Nd".\n' '\n' 'str.isdigit()\n' '\n' @@ -9482,10 +9496,13 @@ topics = {'assert': '\n' 'include decimal\n' ' characters and digits that need special handling, such ' 'as the\n' - ' compatibility superscript digits. Formally, a digit is ' - 'a character\n' - ' that has the property value Numeric_Type=Digit or\n' - ' Numeric_Type=Decimal.\n' + ' compatibility superscript digits. This covers digits ' + 'which cannot\n' + ' be used to form numbers in base 10, like the Kharosthi ' + 'numbers.\n' + ' Formally, a digit is a character that has the property ' + 'value\n' + ' Numeric_Type=Digit or Numeric_Type=Decimal.\n' '\n' 'str.isidentifier()\n' '\n' @@ -9570,13 +9587,13 @@ topics = {'assert': '\n' 'str.join(iterable)\n' '\n' ' Return a string which is the concatenation of the ' - 'strings in the\n' - ' *iterable* *iterable*. A "TypeError" will be raised if ' - 'there are\n' - ' any non-string values in *iterable*, including "bytes" ' - 'objects.\n' - ' The separator between elements is the string providing ' - 'this method.\n' + 'strings in\n' + ' *iterable*. A "TypeError" will be raised if there are ' + 'any non-\n' + ' string values in *iterable*, including "bytes" ' + 'objects. The\n' + ' separator between elements is the string providing this ' + 'method.\n' '\n' 'str.ljust(width[, fillchar])\n' '\n' @@ -9626,7 +9643,7 @@ topics = {'assert': '\n' ' Unicode ordinals (integers) or characters (strings of ' 'length 1) to\n' ' Unicode ordinals, strings (of arbitrary lengths) or ' - 'None.\n' + '"None".\n' ' Character keys will then be converted to ordinals.\n' '\n' ' If there are two arguments, they must be strings of ' @@ -9637,7 +9654,7 @@ topics = {'assert': '\n' 'is a third\n' ' argument, it must be a string, whose characters will be ' 'mapped to\n' - ' None in the result.\n' + ' "None" in the result.\n' '\n' 'str.partition(sep)\n' '\n' @@ -10031,8 +10048,7 @@ topics = {'assert': '\n' " '00042'\n" ' >>> "-42".zfill(5)\n' " '-0042'\n", - 'strings': '\n' - 'String and Bytes literals\n' + 'strings': 'String and Bytes literals\n' '*************************\n' '\n' 'String literals are described by the following lexical ' @@ -10266,8 +10282,7 @@ topics = {'assert': '\n' 'followed by a newline is interpreted as those two characters as ' 'part\n' 'of the literal, *not* as a line continuation.\n', - 'subscriptions': '\n' - 'Subscriptions\n' + 'subscriptions': 'Subscriptions\n' '*************\n' '\n' 'A subscription selects an item of a sequence (string, tuple ' @@ -10324,32 +10339,26 @@ topics = {'assert': '\n' "A string's items are characters. A character is not a " 'separate data\n' 'type but a string of exactly one character.\n', - 'truth': '\n' - 'Truth Value Testing\n' + 'truth': 'Truth Value Testing\n' '*******************\n' '\n' 'Any object can be tested for truth value, for use in an "if" or\n' - '"while" condition or as operand of the Boolean operations below. ' - 'The\n' - 'following values are considered false:\n' - '\n' - '* "None"\n' - '\n' - '* "False"\n' + '"while" condition or as operand of the Boolean operations below.\n' '\n' - '* zero of any numeric type, for example, "0", "0.0", "0j".\n' - '\n' - '* any empty sequence, for example, "\'\'", "()", "[]".\n' + 'By default, an object is considered true unless its class defines\n' + 'either a "__bool__()" method that returns "False" or a "__len__()"\n' + 'method that returns zero, when called with the object. [1] Here ' + 'are\n' + 'most of the built-in objects considered false:\n' '\n' - '* any empty mapping, for example, "{}".\n' + '* constants defined to be false: "None" and "False".\n' '\n' - '* instances of user-defined classes, if the class defines a\n' - ' "__bool__()" or "__len__()" method, when that method returns the\n' - ' integer zero or "bool" value "False". [1]\n' + '* zero of any numeric type: "0", "0.0", "0j", "Decimal(0)",\n' + ' "Fraction(0, 1)"\n' '\n' - 'All other values are considered true --- so objects of many types ' - 'are\n' - 'always true.\n' + '* empty sequences and collections: "\'\'", "()", "[]", "{}", ' + '"set()",\n' + ' "range(0)"\n' '\n' 'Operations and built-in functions that have a Boolean result ' 'always\n' @@ -10357,8 +10366,7 @@ topics = {'assert': '\n' 'otherwise stated. (Important exception: the Boolean operations ' '"or"\n' 'and "and" always return one of their operands.)\n', - 'try': '\n' - 'The "try" statement\n' + 'try': 'The "try" statement\n' '*******************\n' '\n' 'The "try" statement specifies exception handlers and/or cleanup code\n' @@ -10505,8 +10513,7 @@ topics = {'assert': '\n' 'Exceptions, and information on using the "raise" statement to ' 'generate\n' 'exceptions may be found in section The raise statement.\n', - 'types': '\n' - 'The standard type hierarchy\n' + 'types': 'The standard type hierarchy\n' '***************************\n' '\n' 'Below is a list of the types that are built into Python. ' @@ -10706,11 +10713,11 @@ topics = {'assert': '\n' '8-bit\n' ' bytes, represented by integers in the range 0 <= x < 256.\n' ' Bytes literals (like "b\'abc\'") and the built-in ' - 'function\n' - ' "bytes()" can be used to construct bytes objects. Also,\n' - ' bytes objects can be decoded to strings via the ' - '"decode()"\n' - ' method.\n' + '"bytes()"\n' + ' constructor can be used to create bytes objects. Also, ' + 'bytes\n' + ' objects can be decoded to strings via the "decode()" ' + 'method.\n' '\n' ' Mutable sequences\n' ' Mutable sequences can be changed after they are created. ' @@ -10736,7 +10743,7 @@ topics = {'assert': '\n' ' the built-in "bytearray()" constructor. Aside from being\n' ' mutable (and hence unhashable), byte arrays otherwise ' 'provide\n' - ' the same interface and functionality as immutable bytes\n' + ' the same interface and functionality as immutable "bytes"\n' ' objects.\n' '\n' ' The extension module "array" provides an additional example ' @@ -10902,7 +10909,11 @@ topics = {'assert': '\n' '| Read-only |\n' ' | | contain bindings for the ' '| |\n' - " | | function's free variables. " + " | | function's free variables. See " + '| |\n' + ' | | below for information on the ' + '| |\n' + ' | | "cell_contents" attribute. ' '| |\n' ' ' '+---------------------------+---------------------------------+-------------+\n' @@ -10941,6 +10952,9 @@ topics = {'assert': '\n' ' attributes on built-in functions may be supported in the\n' ' future.*\n' '\n' + ' A cell object has the attribute "cell_contents". This can be\n' + ' used to get the value of the cell, as well as set the value.\n' + '\n' " Additional information about a function's definition can be\n" ' retrieved from its code object; see the description of ' 'internal\n' @@ -11064,6 +11078,27 @@ topics = {'assert': '\n' 'statements.\n' ' See also the Coroutine Objects section.\n' '\n' + ' Asynchronous generator functions\n' + ' A function or method which is defined using "async def" and\n' + ' which uses the "yield" statement is called a *asynchronous\n' + ' generator function*. Such a function, when called, returns ' + 'an\n' + ' asynchronous iterator object which can be used in an "async ' + 'for"\n' + ' statement to execute the body of the function.\n' + '\n' + ' Calling the asynchronous iterator\'s "aiterator.__anext__()"\n' + ' method will return an *awaitable* which when awaited will\n' + ' execute until it provides a value using the "yield" ' + 'expression.\n' + ' When the function executes an empty "return" statement or ' + 'falls\n' + ' off the end, a "StopAsyncIteration" exception is raised and ' + 'the\n' + ' asynchronous iterator will have reached the end of the set ' + 'of\n' + ' values to be yielded.\n' + '\n' ' Built-in functions\n' ' A built-in function object is a wrapper around a C function.\n' ' Examples of built-in functions are "len()" and "math.sin()"\n' @@ -11200,14 +11235,14 @@ topics = {'assert': '\n' 'the\n' ' dictionary containing the class\'s namespace; "__bases__" is a ' 'tuple\n' - ' (possibly empty or a singleton) containing the base classes, in ' - 'the\n' - ' order of their occurrence in the base class list; "__doc__" is ' - 'the\n' - " class's documentation string, or None if undefined;\n" - ' "__annotations__" (optional) is a dictionary containing ' - '*variable\n' - ' annotations* collected during class body execution.\n' + ' containing the base classes, in the order of their occurrence ' + 'in\n' + ' the base class list; "__doc__" is the class\'s documentation ' + 'string,\n' + ' or "None" if undefined; "__annotations__" (optional) is a\n' + ' dictionary containing *variable annotations* collected during ' + 'class\n' + ' body execution.\n' '\n' 'Class instances\n' ' A class instance is created by calling a class object (see ' @@ -11363,17 +11398,26 @@ topics = {'assert': '\n' ' bytecode string of the code object).\n' '\n' ' Special writable attributes: "f_trace", if not "None", is a\n' - ' function called at the start of each source code line (this ' - 'is\n' - ' used by the debugger); "f_lineno" is the current line number ' - 'of\n' - ' the frame --- writing to this from within a trace function ' - 'jumps\n' - ' to the given line (only for the bottom-most frame). A ' - 'debugger\n' - ' can implement a Jump command (aka Set Next Statement) by ' + ' function called for various events during code execution ' + '(this\n' + ' is used by the debugger). Normally an event is triggered for\n' + ' each new source line - this can be disabled by setting\n' + ' "f_trace_lines" to "False".\n' + '\n' + ' Implementations *may* allow per-opcode events to be requested ' + 'by\n' + ' setting "f_trace_opcodes" to "True". Note that this may lead ' + 'to\n' + ' undefined interpreter behaviour if exceptions raised by the\n' + ' trace function escape to the function being traced.\n' + '\n' + ' "f_lineno" is the current line number of the frame --- ' 'writing\n' - ' to f_lineno.\n' + ' to this from within a trace function jumps to the given line\n' + ' (only for the bottom-most frame). A debugger can implement ' + 'a\n' + ' Jump command (aka Set Next Statement) by writing to ' + 'f_lineno.\n' '\n' ' Frame objects support one method:\n' '\n' @@ -11487,8 +11531,7 @@ topics = {'assert': '\n' ' under "User-defined methods". Class method objects are ' 'created\n' ' by the built-in "classmethod()" constructor.\n', - 'typesfunctions': '\n' - 'Functions\n' + 'typesfunctions': 'Functions\n' '*********\n' '\n' 'Function objects are created by function definitions. The ' @@ -11505,8 +11548,7 @@ topics = {'assert': '\n' 'different object types.\n' '\n' 'See Function definitions for more information.\n', - 'typesmapping': '\n' - 'Mapping Types --- "dict"\n' + 'typesmapping': 'Mapping Types --- "dict"\n' '************************\n' '\n' 'A *mapping* object maps *hashable* values to arbitrary ' @@ -11863,8 +11905,7 @@ topics = {'assert': '\n' " {'bacon'}\n" " >>> keys ^ {'sausage', 'juice'}\n" " {'juice', 'sausage', 'bacon', 'spam'}\n", - 'typesmethods': '\n' - 'Methods\n' + 'typesmethods': 'Methods\n' '*******\n' '\n' 'Methods are functions that are called using the attribute ' @@ -11921,8 +11962,7 @@ topics = {'assert': '\n' " 'my name is method'\n" '\n' 'See The standard type hierarchy for more information.\n', - 'typesmodules': '\n' - 'Modules\n' + 'typesmodules': 'Modules\n' '*******\n' '\n' 'The only special operation on a module is attribute access: ' @@ -11959,8 +11999,7 @@ topics = {'assert': '\n' 'written as\n' '"<module \'os\' from ' '\'/usr/local/lib/pythonX.Y/os.pyc\'>".\n', - 'typesseq': '\n' - 'Sequence Types --- "list", "tuple", "range"\n' + 'typesseq': 'Sequence Types --- "list", "tuple", "range"\n' '*******************************************\n' '\n' 'There are three basic sequence types: lists, tuples, and range\n' @@ -11993,7 +12032,7 @@ topics = {'assert': '\n' 'comparison operations. The "+" (concatenation) and "*" ' '(repetition)\n' 'operations have the same priority as the corresponding numeric\n' - 'operations.\n' + 'operations. [3]\n' '\n' '+----------------------------+----------------------------------+------------+\n' '| Operation | Result ' @@ -12108,9 +12147,9 @@ topics = {'assert': '\n' '\n' '3. If *i* or *j* is negative, the index is relative to the end ' 'of\n' - ' the string: "len(s) + i" or "len(s) + j" is substituted. But ' - 'note\n' - ' that "-0" is still "0".\n' + ' sequence *s*: "len(s) + i" or "len(s) + j" is substituted. ' + 'But\n' + ' note that "-0" is still "0".\n' '\n' '4. The slice of *s* from *i* to *j* is defined as the sequence ' 'of\n' @@ -12129,12 +12168,17 @@ topics = {'assert': '\n' ' (j-i)/k". In other words, the indices are "i", "i+k", ' '"i+2*k",\n' ' "i+3*k" and so on, stopping when *j* is reached (but never\n' - ' including *j*). If *i* or *j* is greater than "len(s)", use\n' - ' "len(s)". If *i* or *j* are omitted or "None", they become ' - '"end"\n' - ' values (which end depends on the sign of *k*). Note, *k* ' - 'cannot be\n' - ' zero. If *k* is "None", it is treated like "1".\n' + ' including *j*). When *k* is positive, *i* and *j* are ' + 'reduced to\n' + ' "len(s)" if they are greater. When *k* is negative, *i* and ' + '*j* are\n' + ' reduced to "len(s) - 1" if they are greater. If *i* or *j* ' + 'are\n' + ' omitted or "None", they become "end" values (which end ' + 'depends on\n' + ' the sign of *k*). Note, *k* cannot be zero. If *k* is ' + '"None", it\n' + ' is treated like "1".\n' '\n' '6. Concatenating immutable sequences always results in a new\n' ' object. This means that building up a sequence by repeated\n' @@ -12291,8 +12335,8 @@ topics = {'assert': '\n' '+--------------------------------+----------------------------------+-----------------------+\n' '| "s.remove(x)" | remove the first item from ' '*s* | (3) |\n' - '| | where "s[i] == ' - 'x" | |\n' + '| | where "s[i]" is equal to ' + '*x* | |\n' '+--------------------------------+----------------------------------+-----------------------+\n' '| "s.reverse()" | reverses the items of *s* ' 'in | (4) |\n' @@ -12379,7 +12423,7 @@ topics = {'assert': '\n' 'operations.\n' ' Lists also provide the following additional method:\n' '\n' - ' sort(*, key=None, reverse=None)\n' + ' sort(*, key=None, reverse=False)\n' '\n' ' This method sorts the list in place, using only "<" ' 'comparisons\n' @@ -12652,8 +12696,7 @@ topics = {'assert': '\n' ' * The linspace recipe shows how to implement a lazy version ' 'of\n' ' range that suitable for floating point applications.\n', - 'typesseq-mutable': '\n' - 'Mutable Sequence Types\n' + 'typesseq-mutable': 'Mutable Sequence Types\n' '**********************\n' '\n' 'The operations in the following table are defined on ' @@ -12747,8 +12790,8 @@ topics = {'assert': '\n' '+--------------------------------+----------------------------------+-----------------------+\n' '| "s.remove(x)" | remove the first item ' 'from *s* | (3) |\n' - '| | where "s[i] == ' - 'x" | |\n' + '| | where "s[i]" is equal ' + 'to *x* | |\n' '+--------------------------------+----------------------------------+-----------------------+\n' '| "s.reverse()" | reverses the items of ' '*s* in | (4) |\n' @@ -12793,8 +12836,7 @@ topics = {'assert': '\n' 'referenced multiple\n' ' times, as explained for "s * n" under Common Sequence ' 'Operations.\n', - 'unary': '\n' - 'Unary arithmetic and bitwise operations\n' + 'unary': 'Unary arithmetic and bitwise operations\n' '***************************************\n' '\n' 'All unary arithmetic and bitwise operations have the same ' @@ -12816,8 +12858,7 @@ topics = {'assert': '\n' 'In all three cases, if the argument does not have the proper type, ' 'a\n' '"TypeError" exception is raised.\n', - 'while': '\n' - 'The "while" statement\n' + 'while': 'The "while" statement\n' '*********************\n' '\n' 'The "while" statement is used for repeated execution as long as an\n' @@ -12841,8 +12882,7 @@ topics = {'assert': '\n' 'executed in the first suite skips the rest of the suite and goes ' 'back\n' 'to testing the expression.\n', - 'with': '\n' - 'The "with" statement\n' + 'with': 'The "with" statement\n' '********************\n' '\n' 'The "with" statement is used to wrap the execution of a block with\n' @@ -12915,8 +12955,7 @@ topics = {'assert': '\n' ' The specification, background, and examples for the Python ' '"with"\n' ' statement.\n', - 'yield': '\n' - 'The "yield" statement\n' + 'yield': 'The "yield" statement\n' '*********************\n' '\n' ' yield_stmt ::= yield_expression\n' diff --git a/Misc/NEWS.d/3.7.0a1.rst b/Misc/NEWS.d/3.7.0a1.rst new file mode 100644 index 0000000000..005ef437c5 --- /dev/null +++ b/Misc/NEWS.d/3.7.0a1.rst @@ -0,0 +1,6456 @@ +.. bpo: 29781 +.. date: 2017-09-05-15-26-30 +.. nonce: LwYtBP +.. release date: 2017-09-19 +.. section: Security + +SSLObject.version() now correctly returns None when handshake over BIO has +not been performed yet. + +.. + +.. bpo: 29505 +.. date: 2017-08-23-17-02-55 +.. nonce: BL6Yt8 +.. section: Security + +Add fuzz tests for float(str), int(str), unicode(str); for oss-fuzz. + +.. + +.. bpo: 30947 +.. date: 2017-08-16-16-35-59 +.. nonce: iNMmm4 +.. section: Security + +Upgrade libexpat embedded copy from version 2.2.1 to 2.2.3 to get security +fixes. + +.. + +.. bpo: 30730 +.. date: 0347 +.. nonce: rJsyTH +.. original section: Library +.. section: Security + +Prevent environment variables injection in subprocess on Windows. Prevent +passing other environment variables and command arguments. + +.. + +.. bpo: 30694 +.. date: 0344 +.. nonce: WkMWM_ +.. original section: Library +.. section: Security + +Upgrade expat copy from 2.2.0 to 2.2.1 to get fixes of multiple security +vulnerabilities including: CVE-2017-9233 (External entity infinite loop +DoS), CVE-2016-9063 (Integer overflow, re-fix), CVE-2016-0718 (Fix +regression bugs from 2.2.0's fix to CVE-2016-0718) and CVE-2012-0876 +(Counter hash flooding with SipHash). Note: the CVE-2016-5300 (Use os- +specific entropy sources like getrandom) doesn't impact Python, since Python +already gets entropy from the OS to set the expat secret using +``XML_SetHashSalt()``. + +.. + +.. bpo: 30500 +.. date: 0342 +.. nonce: 1VG7R- +.. original section: Library +.. section: Security + +Fix urllib.parse.splithost() to correctly parse fragments. For example, +``splithost('//127.0.0.1#@evil.com/')`` now correctly returns the +``127.0.0.1`` host, instead of treating ``@evil.com`` as the host in an +authentification (``login@host``). + +.. + +.. bpo: 29591 +.. date: 0338 +.. nonce: ExKblw +.. original section: Library +.. section: Security + +Update expat copy from 2.1.1 to 2.2.0 to get fixes of CVE-2016-0718 and +CVE-2016-4472. See https://sourceforge.net/p/expat/bugs/537/ for more +information. + +.. + +.. bpo: 31490 +.. date: 2017-09-16-13-32-35 +.. nonce: r7m2sj +.. section: Core and Builtins + +Fix an assertion failure in `ctypes` class definition, in case the class has +an attribute whose name is specified in ``_anonymous_`` but not in +``_fields_``. Patch by Oren Milman. + +.. + +.. bpo: 31471 +.. date: 2017-09-14-19-47-57 +.. nonce: 0yiA5Q +.. section: Core and Builtins + +Fix an assertion failure in `subprocess.Popen()` on Windows, in case the env +argument has a bad keys() method. Patch by Oren Milman. + +.. + +.. bpo: 31418 +.. date: 2017-09-13-13-03-52 +.. nonce: rS-FlC +.. section: Core and Builtins + +Fix an assertion failure in `PyErr_WriteUnraisable()` in case of an +exception with a bad ``__module__`` attribute. Patch by Oren Milman. + +.. + +.. bpo: 31416 +.. date: 2017-09-11-12-54-35 +.. nonce: 2hlQFd +.. section: Core and Builtins + +Fix assertion failures in case of a bad warnings.filters or +warnings.defaultaction. Patch by Oren Milman. + +.. + +.. bpo: 28411 +.. date: 2017-09-11-09-24-21 +.. nonce: 12SpAm +.. section: Core and Builtins + +Change direct usage of PyInterpreterState.modules to +PyImport_GetModuleDict(). Also introduce more uniformity in other code that +deals with sys.modules. This helps reduce complications when working on +sys.modules. + +.. + +.. bpo: 28411 +.. date: 2017-09-11-09-11-20 +.. nonce: Ax91lz +.. section: Core and Builtins + +Switch to the abstract API when dealing with ``PyInterpreterState.modules``. +This allows later support for all dict subclasses and other Mapping +implementations. Also add a ``PyImport_GetModule()`` function to reduce a +bunch of duplicated code. + +.. + +.. bpo: 31411 +.. date: 2017-09-11-08-50-41 +.. nonce: HZz82I +.. section: Core and Builtins + +Raise a TypeError instead of SystemError in case warnings.onceregistry is +not a dictionary. Patch by Oren Milman. + +.. + +.. bpo: 31344 +.. date: 2017-09-06-20-25-47 +.. nonce: XpFs-q +.. section: Core and Builtins + +For finer control of tracing behaviour when testing the interpreter, two new +frame attributes have been added to control the emission of particular trace +events: ``f_trace_lines`` (``True`` by default) to turn off per-line trace +events; and ``f_trace_opcodes`` (``False`` by default) to turn on per-opcode +trace events. + +.. + +.. bpo: 31373 +.. date: 2017-09-06-15-25-59 +.. nonce: dC4jd4 +.. section: Core and Builtins + +Fix several possible instances of undefined behavior due to floating-point +demotions. + +.. + +.. bpo: 30465 +.. date: 2017-09-06-10-47-29 +.. nonce: oe-3GD +.. section: Core and Builtins + +Location information (``lineno`` and ``col_offset``) in f-strings is now +(mostly) correct. This fixes tools like flake8 from showing warnings on the +wrong line (typically the first line of the file). + +.. + +.. bpo: 30860 +.. date: 2017-09-05-13-47-49 +.. nonce: MROpZw +.. section: Core and Builtins + +Consolidate CPython's global runtime state under a single struct. This +improves discoverability of the runtime state. + +.. + +.. bpo: 31347 +.. date: 2017-09-04-16-35-06 +.. nonce: KDuf2w +.. section: Core and Builtins + +Fix possible undefined behavior in _PyObject_FastCall_Prepend. + +.. + +.. bpo: 31343 +.. date: 2017-09-04-14-57-27 +.. nonce: Kl_fS5 +.. section: Core and Builtins + +Include sys/sysmacros.h for major(), minor(), and makedev(). GNU C libray +plans to remove the functions from sys/types.h. + +.. + +.. bpo: 31291 +.. date: 2017-08-28-11-51-29 +.. nonce: t8QggK +.. section: Core and Builtins + +Fix an assertion failure in `zipimport.zipimporter.get_data` on Windows, +when the return value of ``pathname.replace('/','\\')`` isn't a string. +Patch by Oren Milman. + +.. + +.. bpo: 31271 +.. date: 2017-08-25-20-43-22 +.. nonce: YMduKF +.. section: Core and Builtins + +Fix an assertion failure in the write() method of `io.TextIOWrapper`, when +the encoder doesn't return a bytes object. Patch by Oren Milman. + +.. + +.. bpo: 31243 +.. date: 2017-08-24-13-34-49 +.. nonce: dRJzqR +.. section: Core and Builtins + +Fix a crash in some methods of `io.TextIOWrapper`, when the decoder's state +is invalid. Patch by Oren Milman. + +.. + +.. bpo: 30721 +.. date: 2017-08-18-15-15-20 +.. nonce: Hmc56z +.. section: Core and Builtins + +``print`` now shows correct usage hint for using Python 2 redirection +syntax. Patch by Sanyam Khurana. + +.. + +.. bpo: 31070 +.. date: 2017-08-09-09-40-54 +.. nonce: oDyLiI +.. section: Core and Builtins + +Fix a race condition in importlib _get_module_lock(). + +.. + +.. bpo: 30747 +.. date: 2017-08-08-12-00-29 +.. nonce: g2kZRT +.. section: Core and Builtins + +Add a non-dummy implementation of _Py_atomic_store and _Py_atomic_load on +MSVC. + +.. + +.. bpo: 31095 +.. date: 2017-08-01-18-48-30 +.. nonce: bXWZDb +.. section: Core and Builtins + +Fix potential crash during GC caused by ``tp_dealloc`` which doesn't call +``PyObject_GC_UnTrack()``. + +.. + +.. bpo: 31071 +.. date: 2017-07-31-13-28-53 +.. nonce: P9UBDy +.. section: Core and Builtins + +Avoid masking original TypeError in call with * unpacking when other +arguments are passed. + +.. + +.. bpo: 30978 +.. date: 2017-07-21-07-39-05 +.. nonce: f0jODc +.. section: Core and Builtins + +str.format_map() now passes key lookup exceptions through. Previously any +exception was replaced with a KeyError exception. + +.. + +.. bpo: 30808 +.. date: 2017-07-17-12-12-59 +.. nonce: bA3zOv +.. section: Core and Builtins + +Use _Py_atomic API for concurrency-sensitive signal state. + +.. + +.. bpo: 30876 +.. date: 2017-07-11-06-31-32 +.. nonce: x35jZX +.. section: Core and Builtins + +Relative import from unloaded package now reimports the package instead of +failing with SystemError. Relative import from non-package now fails with +ImportError rather than SystemError. + +.. + +.. bpo: 30703 +.. date: 2017-06-28-21-07-32 +.. nonce: ULCdFp +.. section: Core and Builtins + +Improve signal delivery. + +Avoid using Py_AddPendingCall from signal handler, to avoid calling signal- +unsafe functions. The tests I'm adding here fail without the rest of the +patch, on Linux and OS X. This means our signal delivery logic had defects +(some signals could be lost). + +.. + +.. bpo: 30765 +.. date: 2017-06-26-14-29-50 +.. nonce: Q5iBmf +.. section: Core and Builtins + +Avoid blocking in pthread_mutex_lock() when PyThread_acquire_lock() is asked +not to block. + +.. + +.. bpo: 31161 +.. date: 0470 +.. nonce: FcUAA0 +.. section: Core and Builtins + +Make sure the 'Missing parentheses' syntax error message is only applied to +SyntaxError, not to subclasses. Patch by Martijn Pieters. + +.. + +.. bpo: 30814 +.. date: 0469 +.. nonce: HcYsfM +.. section: Core and Builtins + +Fixed a race condition when import a submodule from a package. + +.. + +.. bpo: 30736 +.. date: 0468 +.. nonce: kA4J9v +.. section: Core and Builtins + +The internal unicodedata database has been upgraded to Unicode 10.0. + +.. + +.. bpo: 30604 +.. date: 0467 +.. nonce: zGPGoX +.. section: Core and Builtins + +Move co_extra_freefuncs from per-thread to per-interpreter to avoid crashes. + +.. + +.. bpo: 30597 +.. date: 0466 +.. nonce: 7erHiP +.. section: Core and Builtins + +``print`` now shows expected input in custom error message when used as a +Python 2 statement. Patch by Sanyam Khurana. + +.. + +.. bpo: 30682 +.. date: 0465 +.. nonce: zZm88E +.. section: Core and Builtins + +Removed a too-strict assertion that failed for certain f-strings, such as +eval("f'\\\n'") and eval("f'\\\r'"). + +.. + +.. bpo: 30501 +.. date: 0464 +.. nonce: BWJByG +.. section: Core and Builtins + +The compiler now produces more optimal code for complex condition +expressions in the "if", "while" and "assert" statement, the "if" +expression, and generator expressions and comprehensions. + +.. + +.. bpo: 28180 +.. date: 0463 +.. nonce: f_IHor +.. section: Core and Builtins + +Implement PEP 538 (legacy C locale coercion). This means that when a +suitable coercion target locale is available, both the core interpreter and +locale-aware C extensions will assume the use of UTF-8 as the default text +encoding, rather than ASCII. + +.. + +.. bpo: 30486 +.. date: 0462 +.. nonce: KZi3nB +.. section: Core and Builtins + +Allows setting cell values for __closure__. Patch by Lisa Roach. + +.. + +.. bpo: 30537 +.. date: 0461 +.. nonce: sGC27r +.. section: Core and Builtins + +itertools.islice now accepts integer-like objects (having an __index__ +method) as start, stop, and slice arguments + +.. + +.. bpo: 25324 +.. date: 0460 +.. nonce: l12VjO +.. section: Core and Builtins + +Tokens needed for parsing in Python moved to C. ``COMMENT``, ``NL`` and +``ENCODING``. This way the tokens and tok_names in the token module don't +get changed when you import the tokenize module. + +.. + +.. bpo: 29104 +.. date: 0459 +.. nonce: u26yCx +.. section: Core and Builtins + +Fixed parsing backslashes in f-strings. + +.. + +.. bpo: 27945 +.. date: 0458 +.. nonce: p29r3O +.. section: Core and Builtins + +Fixed various segfaults with dict when input collections are mutated during +searching, inserting or comparing. Based on patches by Duane Griffin and +Tim Mitchell. + +.. + +.. bpo: 25794 +.. date: 0457 +.. nonce: xfPwqm +.. section: Core and Builtins + +Fixed type.__setattr__() and type.__delattr__() for non-interned attribute +names. Based on patch by Eryk Sun. + +.. + +.. bpo: 30039 +.. date: 0456 +.. nonce: e0u4DG +.. section: Core and Builtins + +If a KeyboardInterrupt happens when the interpreter is in the middle of +resuming a chain of nested 'yield from' or 'await' calls, it's now correctly +delivered to the innermost frame. + +.. + +.. bpo: 28974 +.. date: 0455 +.. nonce: jVewS0 +.. section: Core and Builtins + +``object.__format__(x, '')`` is now equivalent to ``str(x)`` rather than +``format(str(self), '')``. + +.. + +.. bpo: 30024 +.. date: 0454 +.. nonce: kSOlED +.. section: Core and Builtins + +Circular imports involving absolute imports with binding a submodule to a +name are now supported. + +.. + +.. bpo: 12414 +.. date: 0453 +.. nonce: T9ix8O +.. section: Core and Builtins + +sys.getsizeof() on a code object now returns the sizes which includes the +code struct and sizes of objects which it references. Patch by Dong-hee Na. + +.. + +.. bpo: 29839 +.. date: 0452 +.. nonce: rUmfay +.. section: Core and Builtins + +len() now raises ValueError rather than OverflowError if __len__() returned +a large negative integer. + +.. + +.. bpo: 11913 +.. date: 0451 +.. nonce: 5uiMX9 +.. section: Core and Builtins + +README.rst is now included in the list of distutils standard READMEs and +therefore included in source distributions. + +.. + +.. bpo: 29914 +.. date: 0450 +.. nonce: nqFSRR +.. section: Core and Builtins + +Fixed default implementations of __reduce__ and __reduce_ex__(). +object.__reduce__() no longer takes arguments, object.__reduce_ex__() now +requires one argument. + +.. + +.. bpo: 29949 +.. date: 0449 +.. nonce: DevGPS +.. section: Core and Builtins + +Fix memory usage regression of set and frozenset object. + +.. + +.. bpo: 29935 +.. date: 0448 +.. nonce: vgjdJo +.. section: Core and Builtins + +Fixed error messages in the index() method of tuple, list and deque when +pass indices of wrong type. + +.. + +.. bpo: 29816 +.. date: 0447 +.. nonce: 0H75Nl +.. section: Core and Builtins + +Shift operation now has less opportunity to raise OverflowError. ValueError +always is raised rather than OverflowError for negative counts. Shifting +zero with non-negative count always returns zero. + +.. + +.. bpo: 24821 +.. date: 0446 +.. nonce: 4DINGV +.. section: Core and Builtins + +Fixed the slowing down to 25 times in the searching of some unlucky Unicode +characters. + +.. + +.. bpo: 29102 +.. date: 0445 +.. nonce: AW4YPj +.. section: Core and Builtins + +Add a unique ID to PyInterpreterState. This makes it easier to identify +each subinterpreter. + +.. + +.. bpo: 29894 +.. date: 0444 +.. nonce: Vev6t- +.. section: Core and Builtins + +The deprecation warning is emitted if __complex__ returns an instance of a +strict subclass of complex. In a future versions of Python this can be an +error. + +.. + +.. bpo: 29859 +.. date: 0443 +.. nonce: Z1MLcA +.. section: Core and Builtins + +Show correct error messages when any of the pthread_* calls in +thread_pthread.h fails. + +.. + +.. bpo: 29849 +.. date: 0442 +.. nonce: hafvBD +.. section: Core and Builtins + +Fix a memory leak when an ImportError is raised during from import. + +.. + +.. bpo: 28856 +.. date: 0441 +.. nonce: AFRmo4 +.. section: Core and Builtins + +Fix an oversight that %b format for bytes should support objects follow the +buffer protocol. + +.. + +.. bpo: 29723 +.. date: 0440 +.. nonce: M5omgP +.. section: Core and Builtins + +The ``sys.path[0]`` initialization change for bpo-29139 caused a regression +by revealing an inconsistency in how sys.path is initialized when executing +``__main__`` from a zipfile, directory, or other import location. The +interpreter now consistently avoids ever adding the import location's parent +directory to ``sys.path``, and ensures no other ``sys.path`` entries are +inadvertently modified when inserting the import location named on the +command line. + +.. + +.. bpo: 29568 +.. date: 0439 +.. nonce: 3EtOC- +.. section: Core and Builtins + +Escaped percent "%%" in the format string for classic string formatting no +longer allows any characters between two percents. + +.. + +.. bpo: 29714 +.. date: 0438 +.. nonce: z-BhVd +.. section: Core and Builtins + +Fix a regression that bytes format may fail when containing zero bytes +inside. + +.. + +.. bpo: 29695 +.. date: 0437 +.. nonce: z75xXa +.. section: Core and Builtins + +bool(), float(), list() and tuple() no longer take keyword arguments. The +first argument of int() can now be passes only as positional argument. + +.. + +.. bpo: 28893 +.. date: 0436 +.. nonce: WTKnpj +.. section: Core and Builtins + +Set correct __cause__ for errors about invalid awaitables returned from +__aiter__ and __anext__. + +.. + +.. bpo: 28876 +.. date: 0435 +.. nonce: cU-sGT +.. section: Core and Builtins + +``bool(range)`` works even if ``len(range)`` raises :exc:`OverflowError`. + +.. + +.. bpo: 29683 +.. date: 0434 +.. nonce: G5iS-P +.. section: Core and Builtins + +Fixes to memory allocation in _PyCode_SetExtra. Patch by Brian Coleman. + +.. + +.. bpo: 29684 +.. date: 0433 +.. nonce: wTgEoh +.. section: Core and Builtins + +Fix minor regression of PyEval_CallObjectWithKeywords. It should raise +TypeError when kwargs is not a dict. But it might cause segv when args=NULL +and kwargs is not a dict. + +.. + +.. bpo: 28598 +.. date: 0432 +.. nonce: QxbzQn +.. section: Core and Builtins + +Support __rmod__ for subclasses of str being called before str.__mod__. +Patch by Martijn Pieters. + +.. + +.. bpo: 29607 +.. date: 0431 +.. nonce: 7NvBA1 +.. section: Core and Builtins + +Fix stack_effect computation for CALL_FUNCTION_EX. Patch by Matthieu +Dartiailh. + +.. + +.. bpo: 29602 +.. date: 0430 +.. nonce: qyyskC +.. section: Core and Builtins + +Fix incorrect handling of signed zeros in complex constructor for complex +subclasses and for inputs having a __complex__ method. Patch by Serhiy +Storchaka. + +.. + +.. bpo: 29347 +.. date: 0429 +.. nonce: 1RPPGN +.. section: Core and Builtins + +Fixed possibly dereferencing undefined pointers when creating weakref +objects. + +.. + +.. bpo: 29463 +.. date: 0428 +.. nonce: h2bg8A +.. section: Core and Builtins + +Add ``docstring`` field to Module, ClassDef, FunctionDef, and +AsyncFunctionDef ast nodes. docstring is not first stmt in their body +anymore. It affects ``co_firstlineno`` and ``co_lnotab`` of code object for +module and class. + +.. + +.. bpo: 29438 +.. date: 0427 +.. nonce: IKxD6I +.. section: Core and Builtins + +Fixed use-after-free problem in key sharing dict. + +.. + +.. bpo: 29546 +.. date: 0426 +.. nonce: PS1I1T +.. section: Core and Builtins + +Set the 'path' and 'name' attribute on ImportError for ``from ... import +...``. + +.. + +.. bpo: 29546 +.. date: 0425 +.. nonce: O1rmG_ +.. section: Core and Builtins + +Improve from-import error message with location + +.. + +.. bpo: 29478 +.. date: 0424 +.. nonce: rTQ-qy +.. section: Core and Builtins + +If max_line_length=None is specified while using the Compat32 policy, it is +no longer ignored. Patch by Mircea Cosbuc. + +.. + +.. bpo: 29319 +.. date: 0423 +.. nonce: KLDUZf +.. section: Core and Builtins + +Prevent RunMainFromImporter overwriting sys.path[0]. + +.. + +.. bpo: 29337 +.. date: 0422 +.. nonce: bjX8AE +.. section: Core and Builtins + +Fixed possible BytesWarning when compare the code objects. Warnings could be +emitted at compile time. + +.. + +.. bpo: 29327 +.. date: 0421 +.. nonce: XXQarW +.. section: Core and Builtins + +Fixed a crash when pass the iterable keyword argument to sorted(). + +.. + +.. bpo: 29034 +.. date: 0420 +.. nonce: 7-uEDT +.. section: Core and Builtins + +Fix memory leak and use-after-free in os module (path_converter). + +.. + +.. bpo: 29159 +.. date: 0419 +.. nonce: gEn_kP +.. section: Core and Builtins + +Fix regression in bytes(x) when x.__index__() raises Exception. + +.. + +.. bpo: 29049 +.. date: 0418 +.. nonce: KpVXBw +.. section: Core and Builtins + +Call _PyObject_GC_TRACK() lazily when calling Python function. Calling +function is up to 5% faster. + +.. + +.. bpo: 28927 +.. date: 0417 +.. nonce: 9fxf6y +.. section: Core and Builtins + +bytes.fromhex() and bytearray.fromhex() now ignore all ASCII whitespace, not +only spaces. Patch by Robert Xiao. + +.. + +.. bpo: 28932 +.. date: 0416 +.. nonce: QnLx8A +.. section: Core and Builtins + +Do not include <sys/random.h> if it does not exist. + +.. + +.. bpo: 25677 +.. date: 0415 +.. nonce: RWhZrb +.. section: Core and Builtins + +Correct the positioning of the syntax error caret for indented blocks. Based +on patch by Michael Layzell. + +.. + +.. bpo: 29000 +.. date: 0414 +.. nonce: K6wQ-3 +.. section: Core and Builtins + +Fixed bytes formatting of octals with zero padding in alternate form. + +.. + +.. bpo: 18896 +.. date: 0413 +.. nonce: Pqe0bg +.. section: Core and Builtins + +Python function can now have more than 255 parameters. +collections.namedtuple() now supports tuples with more than 255 elements. + +.. + +.. bpo: 28596 +.. date: 0412 +.. nonce: snIJRd +.. section: Core and Builtins + +The preferred encoding is UTF-8 on Android. Patch written by Chi Hsuan Yen. + +.. + +.. bpo: 22257 +.. date: 0411 +.. nonce: 2a8zxB +.. section: Core and Builtins + +Clean up interpreter startup (see PEP 432). + +.. + +.. bpo: 26919 +.. date: 0410 +.. nonce: Cm7MSa +.. section: Core and Builtins + +On Android, operating system data is now always encoded/decoded to/from +UTF-8, instead of the locale encoding to avoid inconsistencies with +os.fsencode() and os.fsdecode() which are already using UTF-8. + +.. + +.. bpo: 28991 +.. date: 0409 +.. nonce: lGA0FK +.. section: Core and Builtins + +functools.lru_cache() was susceptible to an obscure reentrancy bug +triggerable by a monkey-patched len() function. + +.. + +.. bpo: 28147 +.. date: 0408 +.. nonce: CnK_xf +.. section: Core and Builtins + +Fix a memory leak in split-table dictionaries: setattr() must not convert +combined table into split table. Patch written by INADA Naoki. + +.. + +.. bpo: 28739 +.. date: 0407 +.. nonce: w1fvhk +.. section: Core and Builtins + +f-string expressions are no longer accepted as docstrings and by +ast.literal_eval() even if they do not include expressions. + +.. + +.. bpo: 28512 +.. date: 0406 +.. nonce: i-pv6d +.. section: Core and Builtins + +Fixed setting the offset attribute of SyntaxError by +PyErr_SyntaxLocationEx() and PyErr_SyntaxLocationObject(). + +.. + +.. bpo: 28918 +.. date: 0405 +.. nonce: SFVuPz +.. section: Core and Builtins + +Fix the cross compilation of xxlimited when Python has been built with +Py_DEBUG defined. + +.. + +.. bpo: 23722 +.. date: 0404 +.. nonce: e8BH5h +.. section: Core and Builtins + +Rather than silently producing a class that doesn't support zero-argument +``super()`` in methods, failing to pass the new ``__classcell__`` namespace +entry up to ``type.__new__`` now results in a ``DeprecationWarning`` and a +class that supports zero-argument ``super()``. + +.. + +.. bpo: 28797 +.. date: 0403 +.. nonce: _A0_Z5 +.. section: Core and Builtins + +Modifying the class __dict__ inside the __set_name__ method of a descriptor +that is used inside that class no longer prevents calling the __set_name__ +method of other descriptors. + +.. + +.. bpo: 28799 +.. date: 0402 +.. nonce: cP6V1N +.. section: Core and Builtins + +Remove the ``PyEval_GetCallStats()`` function and deprecate the untested and +undocumented ``sys.callstats()`` function. Remove the ``CALL_PROFILE`` +special build: use the :func:`sys.setprofile` function, :mod:`cProfile` or +:mod:`profile` to profile function calls. + +.. + +.. bpo: 12844 +.. date: 0401 +.. nonce: pdr3gY +.. section: Core and Builtins + +More than 255 arguments can now be passed to a function. + +.. + +.. bpo: 28782 +.. date: 0400 +.. nonce: foJV_E +.. section: Core and Builtins + +Fix a bug in the implementation ``yield from`` when checking if the next +instruction is YIELD_FROM. Regression introduced by WORDCODE (issue #26647). + +.. + +.. bpo: 28774 +.. date: 0399 +.. nonce: cEehAr +.. section: Core and Builtins + +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). + +.. + +.. bpo: 28731 +.. date: 0398 +.. nonce: oNF59u +.. section: Core and Builtins + +Optimize _PyDict_NewPresized() to create correct size dict. Improve speed of +dict literal with constant keys up to 30%. + +.. + +.. bpo: 28532 +.. date: 0397 +.. nonce: KEYJny +.. section: Core and Builtins + +Show sys.version when -V option is supplied twice. + +.. + +.. bpo: 27100 +.. date: 0396 +.. nonce: poVjXq +.. section: Core and Builtins + +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. + +.. + +.. bpo: 28746 +.. date: 0395 +.. nonce: r5MXdB +.. section: Core and Builtins + +Fix the set_inheritable() file descriptor method on platforms that do not +have the ioctl FIOCLEX and FIONCLEX commands. + +.. + +.. bpo: 26920 +.. date: 0394 +.. nonce: 1URwGb +.. section: Core and Builtins + +Fix not getting the locale's charset upon initializing the interpreter, on +platforms that do not have langinfo. + +.. + +.. bpo: 28648 +.. date: 0393 +.. nonce: z7B52W +.. section: Core and Builtins + +Fixed crash in Py_DecodeLocale() in debug build on Mac OS X when decode +astral characters. Patch by Xiang Zhang. + +.. + +.. bpo: 28665 +.. date: 0392 +.. nonce: v4nx86 +.. section: Core and Builtins + +Improve speed of the STORE_DEREF opcode by 40%. + +.. + +.. bpo: 19398 +.. date: 0391 +.. nonce: RYbEGH +.. section: Core and Builtins + +Extra slash no longer added to sys.path components in case of empty compile- +time PYTHONPATH components. + +.. + +.. bpo: 28621 +.. date: 0390 +.. nonce: eCD7n- +.. section: Core and Builtins + +Sped up converting int to float by reusing faster bits counting +implementation. Patch by Adrian Wielgosik. + +.. + +.. bpo: 28580 +.. date: 0389 +.. nonce: 8bqBmG +.. section: Core and Builtins + +Optimize iterating split table values. Patch by Xiang Zhang. + +.. + +.. bpo: 28583 +.. date: 0388 +.. nonce: F-QAx1 +.. section: Core and Builtins + +PyDict_SetDefault didn't combine split table when needed. Patch by Xiang +Zhang. + +.. + +.. bpo: 28128 +.. date: 0387 +.. nonce: Lc2sFu +.. section: Core and Builtins + +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. + +.. + +.. bpo: 28509 +.. date: 0386 +.. nonce: _Fa4Uq +.. section: Core and Builtins + +dict.update() no longer allocate unnecessary large memory. + +.. + +.. bpo: 28426 +.. date: 0385 +.. nonce: E_quyK +.. section: Core and Builtins + +Fixed potential crash in PyUnicode_AsDecodedObject() in debug build. + +.. + +.. bpo: 28517 +.. date: 0384 +.. nonce: ExPkm9 +.. section: Core and Builtins + +Fixed of-by-one error in the peephole optimizer that caused keeping +unreachable code. + +.. + +.. bpo: 28214 +.. date: 0383 +.. nonce: 6ECJox +.. section: Core and Builtins + +Improved exception reporting for problematic __set_name__ attributes. + +.. + +.. bpo: 23782 +.. date: 0382 +.. nonce: lonDzj +.. section: Core and Builtins + +Fixed possible memory leak in _PyTraceback_Add() and exception loss in +PyTraceBack_Here(). + +.. + +.. bpo: 28183 +.. date: 0381 +.. nonce: MJZeNd +.. section: Core and Builtins + +Optimize and cleanup dict iteration. + +.. + +.. bpo: 26081 +.. date: 0380 +.. nonce: _x5vjl +.. section: Core and Builtins + +Added C implementation of asyncio.Future. Original patch by Yury Selivanov. + +.. + +.. bpo: 28379 +.. date: 0379 +.. nonce: DuXlco +.. section: Core and Builtins + +Added sanity checks and tests for PyUnicode_CopyCharacters(). Patch by Xiang +Zhang. + +.. + +.. bpo: 28376 +.. date: 0378 +.. nonce: oPD-5D +.. section: Core and Builtins + +The type of long range iterator is now registered as Iterator. Patch by Oren +Milman. + +.. + +.. bpo: 28376 +.. date: 0377 +.. nonce: yTEhEo +.. section: Core and Builtins + +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. + +.. + +.. bpo: 26906 +.. date: 0376 +.. nonce: YBjcwI +.. section: Core and Builtins + +Resolving special methods of uninitialized type now causes implicit +initialization of the type instead of a fail. + +.. + +.. bpo: 18287 +.. date: 0375 +.. nonce: k6jffS +.. section: Core and Builtins + +PyType_Ready() now checks that tp_name is not NULL. Original patch by Niklas +Koep. + +.. + +.. bpo: 24098 +.. date: 0374 +.. nonce: XqlP_1 +.. section: Core and Builtins + +Fixed possible crash when AST is changed in process of compiling it. + +.. + +.. bpo: 28201 +.. date: 0373 +.. nonce: GWUxAy +.. section: Core and Builtins + +Dict reduces possibility of 2nd conflict in hash table when hashes have same +lower bits. + +.. + +.. bpo: 28350 +.. date: 0372 +.. nonce: 8M5Eg9 +.. section: Core and Builtins + +String constants with null character no longer interned. + +.. + +.. bpo: 26617 +.. date: 0371 +.. nonce: Gh5LvN +.. section: Core and Builtins + +Fix crash when GC runs during weakref callbacks. + +.. + +.. bpo: 27942 +.. date: 0370 +.. nonce: ZGuhns +.. section: Core and Builtins + +String constants now interned recursively in tuples and frozensets. + +.. + +.. bpo: 28289 +.. date: 0369 +.. nonce: l1kHlV +.. section: Core and Builtins + +ImportError.__init__ now resets not specified attributes. + +.. + +.. bpo: 21578 +.. date: 0368 +.. nonce: GI1bhj +.. section: Core and Builtins + +Fixed misleading error message when ImportError called with invalid keyword +args. + +.. + +.. bpo: 28203 +.. date: 0367 +.. nonce: LRn5vp +.. section: Core and Builtins + +Fix incorrect type in complex(1.0, {2:3}) error message. Patch by Soumya +Sharma. + +.. + +.. bpo: 28086 +.. date: 0366 +.. nonce: JsQPMQ +.. section: Core and Builtins + +Single var-positional argument of tuple subtype was passed unscathed to the +C-defined function. Now it is converted to exact tuple. + +.. + +.. bpo: 28214 +.. date: 0365 +.. nonce: zQF8Em +.. section: Core and Builtins + +Now __set_name__ is looked up on the class instead of the instance. + +.. + +.. bpo: 27955 +.. date: 0364 +.. nonce: HC4pZ4 +.. section: Core and Builtins + +Fallback on reading /dev/urandom device when the getrandom() syscall fails +with EPERM, for example when blocked by SECCOMP. + +.. + +.. bpo: 28192 +.. date: 0363 +.. nonce: eR6stU +.. section: Core and Builtins + +Don't import readline in isolated mode. + +.. + +.. bpo: 27441 +.. date: 0362 +.. nonce: scPKax +.. section: Core and Builtins + +Remove some redundant assignments to ob_size in longobject.c. Thanks Oren +Milman. + +.. + +.. bpo: 27222 +.. date: 0361 +.. nonce: 74PvFk +.. section: Core and Builtins + +Clean up redundant code in long_rshift function. Thanks Oren Milman. + +.. + +.. bpo: 0 +.. date: 0360 +.. nonce: 9EbOiD +.. section: Core and Builtins + +Upgrade internal unicode databases to Unicode version 9.0.0. + +.. + +.. bpo: 28131 +.. date: 0359 +.. nonce: owq0wW +.. section: Core and Builtins + +Fix a regression in zipimport's compile_source(). zipimport should use the +same optimization level as the interpreter. + +.. + +.. bpo: 28126 +.. date: 0358 +.. nonce: Qf6-uQ +.. section: Core and Builtins + +Replace Py_MEMCPY with memcpy(). Visual Studio can properly optimize +memcpy(). + +.. + +.. bpo: 28120 +.. date: 0357 +.. nonce: e5xc1i +.. section: Core and Builtins + +Fix dict.pop() for splitted dictionary when trying to remove a "pending key" +(Not yet inserted in split-table). Patch by Xiang Zhang. + +.. + +.. bpo: 26182 +.. date: 0356 +.. nonce: jYlqTO +.. section: Core and Builtins + +Raise DeprecationWarning when async and await keywords are used as +variable/attribute/class/function name. + +.. + +.. bpo: 26182 +.. date: 0355 +.. nonce: a8JXK2 +.. section: Core and Builtins + +Fix a refleak in code that raises DeprecationWarning. + +.. + +.. bpo: 28721 +.. date: 0354 +.. nonce: BO9BUF +.. section: Core and Builtins + +Fix asynchronous generators aclose() and athrow() to handle +StopAsyncIteration propagation properly. + +.. + +.. bpo: 26110 +.. date: 0353 +.. nonce: KRaID6 +.. section: Core and Builtins + +Speed-up method calls: add LOAD_METHOD and CALL_METHOD opcodes. + +.. + +.. bpo: 31499 +.. date: 2017-09-18-10-57-04 +.. nonce: BydYhf +.. section: Library + +xml.etree: Fix a crash when a parser is part of a reference cycle. + +.. + +.. bpo: 31482 +.. date: 2017-09-16-01-53-11 +.. nonce: 39s5dS +.. section: Library + +``random.seed()`` now works with bytes in version=1 + +.. + +.. bpo: 28556 +.. date: 2017-09-14-11-02-56 +.. nonce: EUOiYs +.. section: Library + +typing.get_type_hints now finds the right globalns for classes and modules +by default (when no ``globalns`` was specified by the caller). + +.. + +.. bpo: 28556 +.. date: 2017-09-13-23-27-39 +.. nonce: UmTQvv +.. section: Library + +Speed improvements to the ``typing`` module. Original PRs by Ivan +Levkivskyi and Mitar. + +.. + +.. bpo: 31544 +.. date: 2017-09-13-19-55-35 +.. nonce: beTh6t +.. section: Library + +The C accelerator module of ElementTree ignored exceptions raised when +looking up TreeBuilder target methods in XMLParser(). + +.. + +.. bpo: 31234 +.. date: 2017-09-13-18-05-56 +.. nonce: lGkcPg +.. section: Library + +socket.create_connection() now fixes manually a reference cycle: clear the +variable storing the last exception on success. + +.. + +.. bpo: 31457 +.. date: 2017-09-13-13-33-39 +.. nonce: bIVBtI +.. section: Library + +LoggerAdapter objects can now be nested. + +.. + +.. bpo: 31431 +.. date: 2017-09-13-07-37-20 +.. nonce: dj994R +.. section: Library + +SSLContext.check_hostname now automatically sets SSLContext.verify_mode to +ssl.CERT_REQUIRED instead of failing with a ValueError. + +.. + +.. bpo: 31233 +.. date: 2017-09-13-02-17-11 +.. nonce: r-IPIu +.. section: Library + +socketserver.ThreadingMixIn now keeps a list of non-daemonic threads to wait +until all these threads complete in server_close(). + +.. + +.. bpo: 28638 +.. date: 2017-09-08-14-31-15 +.. nonce: lfbVyH +.. section: Library + +Changed the implementation strategy for collections.namedtuple() to +substantially reduce the use of exec() in favor of precomputed methods. As a +result, the *verbose* parameter and *_source* attribute are no longer +supported. The benefits include 1) having a smaller memory footprint for +applications using multiple named tuples, 2) faster creation of the named +tuple class (approx 4x to 6x depending on how it is measured), and 3) minor +speed-ups for instance creation using __new__, _make, and _replace. (The +primary patch contributor is Jelle Zijlstra with further improvements by +INADA Naoki, Serhiy Storchaka, and Raymond Hettinger.) + +.. + +.. bpo: 31400 +.. date: 2017-09-08-14-19-57 +.. nonce: YOTPKi +.. section: Library + +Improves SSL error handling to avoid losing error numbers. + +.. + +.. bpo: 27629 +.. date: 2017-09-07-12-15-56 +.. nonce: 7xJXEy +.. section: Library + +Make return types of SSLContext.wrap_bio() and SSLContext.wrap_socket() +customizable. + +.. + +.. bpo: 28958 +.. date: 2017-09-06-19-41-01 +.. nonce: x4-K5F +.. section: Library + +ssl.SSLContext() now uses OpenSSL error information when a context cannot be +instantiated. + +.. + +.. bpo: 28182 +.. date: 2017-09-06-18-49-16 +.. nonce: hRP8Bk +.. section: Library + +The SSL module now raises SSLCertVerificationError when OpenSSL fails to +verify the peer's certificate. The exception contains more information about +the error. + +.. + +.. bpo: 27340 +.. date: 2017-09-06-06-50-41 +.. nonce: GgekV5 +.. section: Library + +SSLSocket.sendall() now uses memoryview to create slices of data. This fixes +support for all bytes-like object. It is also more efficient and avoids +costly copies. + +.. + +.. bpo: 14191 +.. date: 2017-09-05-17-43-00 +.. nonce: vhh2xx +.. section: Library + +A new function ``argparse.ArgumentParser.parse_intermixed_args`` provides +the ability to parse command lines where there user intermixes options and +positional arguments. + +.. + +.. bpo: 31178 +.. date: 2017-09-05-14-55-28 +.. nonce: JrSFo7 +.. section: Library + +Fix string concatenation bug in rare error path in the subprocess module + +.. + +.. bpo: 31350 +.. date: 2017-09-05-10-30-48 +.. nonce: dXJ-7N +.. section: Library + +Micro-optimize :func:`asyncio._get_running_loop` to become up to 10% faster. + +.. + +.. bpo: 31170 +.. date: 2017-09-04-23-41-35 +.. nonce: QGmJ1t +.. section: Library + +expat: Update libexpat from 2.2.3 to 2.2.4. Fix copying of partial +characters for UTF-8 input (libexpat bug 115): +https://github.com/libexpat/libexpat/issues/115 + +.. + +.. bpo: 29136 +.. date: 2017-09-04-16-39-49 +.. nonce: vSn1oR +.. section: Library + +Add TLS 1.3 cipher suites and OP_NO_TLSv1_3. + +.. + +.. bpo: 1198569 +.. date: 2017-09-04-10-53-06 +.. nonce: vhh2nY +.. section: Library + +``string.Template`` subclasses can optionally define ``braceidpattern`` if +they want to specify different placeholder patterns inside and outside the +braces. If None (the default) it falls back to ``idpattern``. + +.. + +.. bpo: 31326 +.. date: 2017-09-01-18-48-06 +.. nonce: TB05tV +.. section: Library + +concurrent.futures.ProcessPoolExecutor.shutdown() now explicitly closes the +call queue. Moreover, shutdown(wait=True) now also join the call queue +thread, to prevent leaking a dangling thread. + +.. + +.. bpo: 27144 +.. date: 2017-08-30-11-26-14 +.. nonce: PEDJsE +.. section: Library + +The ``map()`` and ``as_completed()`` iterators in ``concurrent.futures`` now +avoid keeping a reference to yielded objects. + +.. + +.. bpo: 31281 +.. date: 2017-08-29-07-14-14 +.. nonce: DcFyNs +.. section: Library + +Fix ``fileinput.FileInput(files, inplace=True)`` when ``files`` contain +``pathlib.Path`` objects. + +.. + +.. bpo: 10746 +.. date: 2017-08-28-13-01-05 +.. nonce: nmAvfu +.. section: Library + +Fix ctypes producing wrong PEP 3118 type codes for integer types. + +.. + +.. bpo: 27584 +.. date: 2017-08-24-14-03-14 +.. nonce: r11JHZ +.. section: Library + +``AF_VSOCK`` has been added to the socket interface which allows +communication between virtual machines and their host. + +.. + +.. bpo: 22536 +.. date: 2017-08-23 +.. nonce: _narf_ +.. section: Library + +The subprocess module now sets the filename when FileNotFoundError is raised +on POSIX systems due to the executable or cwd not being found. + +.. + +.. bpo: 29741 +.. date: 2017-08-23-00-31-32 +.. nonce: EBn_DM +.. section: Library + +Update some methods in the _pyio module to also accept integer types. Patch +by Oren Milman. + +.. + +.. bpo: 31249 +.. date: 2017-08-22-12-44-48 +.. nonce: STPbb9 +.. section: Library + +concurrent.futures: WorkItem.run() used by ThreadPoolExecutor now breaks a +reference cycle between an exception object and the WorkItem object. + +.. + +.. bpo: 31247 +.. date: 2017-08-21-17-50-27 +.. nonce: 8S3zJp +.. section: Library + +xmlrpc.server now explicitly breaks reference cycles when using +sys.exc_info() in code handling exceptions. + +.. + +.. bpo: 23835 +.. date: 2017-08-21-16-06-19 +.. nonce: da_4Kz +.. section: Library + +configparser: reading defaults in the ``ConfigParser()`` constructor is now +using ``read_dict()``, making its behavior consistent with the rest of the +parser. Non-string keys and values in the defaults dictionary are now being +implicitly converted to strings. Patch by James Tocknell. + +.. + +.. bpo: 31238 +.. date: 2017-08-21-12-31-53 +.. nonce: Gg0LRH +.. section: Library + +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. + +.. + +.. bpo: 5001 +.. date: 2017-08-18-17-16-38 +.. nonce: gwnthq +.. section: Library + +Many asserts in `multiprocessing` are now more informative, and some error +types have been changed to more specific ones. + +.. + +.. bpo: 31109 +.. date: 2017-08-17-20-29-45 +.. nonce: 7qtC64 +.. section: Library + +Convert zipimport to use Argument Clinic. + +.. + +.. bpo: 30102 +.. date: 2017-08-16-21-14-31 +.. nonce: 1sPqmc +.. section: Library + +The ssl and hashlib modules now call OPENSSL_add_all_algorithms_noconf() on +OpenSSL < 1.1.0. The function detects CPU features and enables optimizations +on some CPU architectures such as POWER8. Patch is based on research from +Gustavo Serra Scalet. + +.. + +.. bpo: 18966 +.. date: 2017-08-16-20-28-06 +.. nonce: mjHWk2 +.. section: Library + +Non-daemonic threads created by a multiprocessing.Process are now joined on +child exit. + +.. + +.. bpo: 31183 +.. date: 2017-08-13-09-17-01 +.. nonce: -2_YGj +.. section: Library + +`dis` now works with asynchronous generator and coroutine objects. Patch by +George Collins based on diagnosis by Luciano Ramalho. + +.. + +.. bpo: 5001 +.. date: 2017-08-12-09-25-55 +.. nonce: huQi2Y +.. section: Library + +There are a number of uninformative asserts in the `multiprocessing` module, +as noted in issue 5001. This change fixes two of the most potentially +problematic ones, since they are in error-reporting code, in the +`multiprocessing.managers.convert_to_error` function. (It also makes more +informative a ValueError message.) The only potentially problematic change +is that the AssertionError is now a TypeError; however, this should also +help distinguish it from an AssertionError being *reported* by the +function/its caller (such as in issue 31169). - Patch by Allen W. Smith +(drallensmith on github). + +.. + +.. bpo: 31185 +.. date: 2017-08-11-19-30-00 +.. nonce: i6TPgL +.. section: Library + +Fixed miscellaneous errors in asyncio speedup module. + +.. + +.. bpo: 31151 +.. date: 2017-08-10-13-20-02 +.. nonce: 730VBI +.. section: Library + +socketserver.ForkingMixIn.server_close() now waits until all child processes +completed to prevent leaking zombie processes. + +.. + +.. bpo: 31072 +.. date: 2017-08-09-13-45-23 +.. nonce: NLXDPV +.. section: Library + +Add an ``include_file`` parameter to ``zipapp.create_archive()`` + +.. + +.. bpo: 24700 +.. date: 2017-08-08-15-14-34 +.. nonce: 44mvNV +.. section: Library + +Optimize array.array comparison. It is now from 10x up to 70x faster when +comparing arrays holding values of the same integer type. + +.. + +.. bpo: 31135 +.. date: 2017-08-08-14-44-37 +.. nonce: HH94xR +.. section: Library + +ttk: fix the destroy() method of LabeledScale and OptionMenu classes. Call +the parent destroy() method even if the used attribute doesn't exist. The +LabeledScale.destroy() method now also explicitly clears label and scale +attributes to help the garbage collector to destroy all widgets. + +.. + +.. bpo: 31107 +.. date: 2017-08-02-12-48-15 +.. nonce: 1t2hn5 +.. section: Library + +Fix `copyreg._slotnames()` mangled attribute calculation for classes whose +name begins with an underscore. Patch by Shane Harvey. + +.. + +.. bpo: 31080 +.. date: 2017-08-01-18-26-55 +.. nonce: 2CFVCO +.. section: Library + +Allow `logging.config.fileConfig` to accept kwargs and/or args. + +.. + +.. bpo: 30897 +.. date: 2017-08-01-15-56-50 +.. nonce: OuT1-Y +.. section: Library + +``pathlib.Path`` objects now include an ``is_mount()`` method (only +implemented on POSIX). This is similar to ``os.path.ismount(p)``. Patch by +Cooper Ry Lees. + +.. + +.. bpo: 31061 +.. date: 2017-08-01-09-32-58 +.. nonce: husAYX +.. section: Library + +Fixed a crash when using asyncio and threads. + +.. + +.. bpo: 30987 +.. date: 2017-07-30-22-00-12 +.. nonce: 228rW0 +.. section: Library + +Added support for CAN ISO-TP protocol in the socket module. + +.. + +.. bpo: 30522 +.. date: 2017-07-30-10-07-58 +.. nonce: gAX1N- +.. section: Library + +Added a ``setStream`` method to ``logging.StreamHandler`` to allow the +stream to be set after creation. + +.. + +.. bpo: 30502 +.. date: 2017-07-27-11-33-58 +.. nonce: GJlfU8 +.. section: Library + +Fix handling of long oids in ssl. Based on patch by Christian Heimes. + +.. + +.. bpo: 5288 +.. date: 2017-07-26-13-18-29 +.. nonce: o_xEGj +.. section: Library + +Support tzinfo objects with sub-minute offsets. + +.. + +.. bpo: 30919 +.. date: 2017-07-23-11-33-10 +.. nonce: 5dYRru +.. section: Library + +Fix shared memory performance regression in multiprocessing in 3.x. + +Shared memory used anonymous memory mappings in 2.x, while 3.x mmaps actual +files. Try to be careful to do as little disk I/O as possible. + +.. + +.. bpo: 26732 +.. date: 2017-07-22-12-12-42 +.. nonce: lYLWBH +.. section: Library + +Fix too many fds in processes started with the "forkserver" method. + +A child process would inherit as many fds as the number of still-running +children. + +.. + +.. bpo: 29403 +.. date: 2017-07-20-02-29-49 +.. nonce: 3RinCV +.. section: Library + +Fix ``unittest.mock``'s autospec to not fail on method-bound builtin +functions. Patch by Aaron Gallagher. + +.. + +.. bpo: 30961 +.. date: 2017-07-18-23-47-51 +.. nonce: 064jz0 +.. section: Library + +Fix decrementing a borrowed reference in tracemalloc. + +.. + +.. bpo: 19896 +.. date: 2017-07-18-13-24-50 +.. nonce: -S0IWu +.. section: Library + +Fix multiprocessing.sharedctypes to recognize typecodes ``'q'`` and ``'Q'``. + +.. + +.. bpo: 30946 +.. date: 2017-07-17-12-32-47 +.. nonce: DUo-uA +.. section: Library + +Remove obsolete code in readline module for platforms where GNU readline is +older than 2.1 or where select() is not available. + +.. + +.. bpo: 25684 +.. date: 2017-07-17-11-35-00 +.. nonce: usELVx +.. section: Library + +Change ``ttk.OptionMenu`` radiobuttons to be unique across instances of +``OptionMenu``. + +.. + +.. bpo: 30886 +.. date: 2017-07-10-12-14-22 +.. nonce: nqQj34 +.. section: Library + +Fix multiprocessing.Queue.join_thread(): it now waits until the thread +completes, even if the thread was started by the same process which created +the queue. + +.. + +.. bpo: 29854 +.. date: 2017-07-07-02-18-57 +.. nonce: J8wKb_ +.. section: Library + +Fix segfault in readline when using readline's history-size option. Patch +by Nir Soffer. + +.. + +.. bpo: 30794 +.. date: 2017-07-04-22-00-20 +.. nonce: qFwozm +.. section: Library + +Added multiprocessing.Process.kill method to terminate using the SIGKILL +signal on Unix. + +.. + +.. bpo: 30319 +.. date: 2017-07-04-13-48-21 +.. nonce: hg_3TX +.. section: Library + +socket.close() now ignores ECONNRESET error. + +.. + +.. bpo: 30828 +.. date: 2017-07-04-13-10-52 +.. nonce: CLvEvV +.. section: Library + +Fix out of bounds write in `asyncio.CFuture.remove_done_callback()`. + +.. + +.. bpo: 30302 +.. date: 2017-06-30-23-05-47 +.. nonce: itwK_k +.. section: Library + +Use keywords in the ``repr`` of ``datetime.timedelta``. + +.. + +.. bpo: 30807 +.. date: 2017-06-29-22-04-44 +.. nonce: sLtjY- +.. section: Library + +signal.setitimer() may disable the timer when passed a tiny value. + +Tiny values (such as 1e-6) are valid non-zero values for setitimer(), which +is specified as taking microsecond-resolution intervals. However, on some +platform, our conversion routine could convert 1e-6 into a zero interval, +therefore disabling the timer instead of (re-)scheduling it. + +.. + +.. bpo: 30441 +.. date: 2017-06-29-14-25-14 +.. nonce: 3Wh9kc +.. section: Library + +Fix bug when modifying os.environ while iterating over it + +.. + +.. bpo: 29585 +.. date: 2017-06-29-00-17-38 +.. nonce: x2V0my +.. section: Library + +Avoid importing ``sysconfig`` from ``site`` to improve startup speed. Python +startup is about 5% faster on Linux and 30% faster on macOS. + +.. + +.. bpo: 29293 +.. date: 2017-06-29-00-07-22 +.. nonce: Z6WZjD +.. section: Library + +Add missing parameter "n" on multiprocessing.Condition.notify(). + +The doc claims multiprocessing.Condition behaves like threading.Condition, +but its notify() method lacked the optional "n" argument (to specify the +number of sleepers to wake up) that threading.Condition.notify() accepts. + +.. + +.. bpo: 30532 +.. date: 2017-06-26-11-01-59 +.. nonce: qTeL1o +.. section: Library + +Fix email header value parser dropping folding white space in certain cases. + +.. + +.. bpo: 30596 +.. date: 2017-06-24-18-55-58 +.. nonce: VhB8iG +.. section: Library + +Add a ``close()`` method to ``multiprocessing.Process``. + +.. + +.. bpo: 9146 +.. date: 2017-05-24-00-00-00 +.. nonce: pinky_ +.. section: Library + +Fix a segmentation fault in _hashopenssl when standard hash functions such +as md5 are not available in the linked OpenSSL library. As in some special +FIPS-140 build environments. + +.. + +.. bpo: 29169 +.. date: 0352 +.. nonce: 8ypApm +.. section: Library + +Update zlib to 1.2.11. + +.. + +.. bpo: 30119 +.. date: 0351 +.. nonce: 4UMLNh +.. section: Library + +ftplib.FTP.putline() now throws ValueError on commands that contains CR or +LF. Patch by Dong-hee Na. + +.. + +.. bpo: 30879 +.. date: 0350 +.. nonce: N3KI-o +.. section: Library + +os.listdir() and os.scandir() now emit bytes names when called with bytes- +like argument. + +.. + +.. bpo: 30746 +.. date: 0349 +.. nonce: 7drQI0 +.. section: Library + +Prohibited the '=' character in environment variable names in +``os.putenv()`` and ``os.spawn*()``. + +.. + +.. bpo: 30664 +.. date: 0348 +.. nonce: oyqiUl +.. section: Library + +The description of a unittest subtest now preserves the order of keyword +arguments of TestCase.subTest(). + +.. + +.. bpo: 21071 +.. date: 0346 +.. nonce: Sw37rs +.. section: Library + +struct.Struct.format type is now :class:`str` instead of :class:`bytes`. + +.. + +.. bpo: 29212 +.. date: 0345 +.. nonce: HmTdef +.. section: Library + +Fix concurrent.futures.thread.ThreadPoolExecutor threads to have a non +repr() based thread name by default when no thread_name_prefix is supplied. +They will now identify themselves as "ThreadPoolExecutor-y_n". + +.. + +.. bpo: 29755 +.. date: 0343 +.. nonce: diQcY_ +.. section: Library + +Fixed the lgettext() family of functions in the gettext module. They now +always return bytes. + +.. + +.. bpo: 30616 +.. date: 0341 +.. nonce: I2mDTz +.. section: Library + +Functional API of enum allows to create empty enums. Patched by Dong-hee Na + +.. + +.. bpo: 30038 +.. date: 0340 +.. nonce: vb4DWk +.. section: Library + +Fix race condition between signal delivery and wakeup file descriptor. Patch +by Nathaniel Smith. + +.. + +.. bpo: 23894 +.. date: 0339 +.. nonce: k2pADV +.. section: Library + +lib2to3 now recognizes ``rb'...'`` and ``f'...'`` strings. + +.. + +.. bpo: 24744 +.. date: 0337 +.. nonce: NKxUj3 +.. section: Library + +pkgutil.walk_packages function now raises ValueError if *path* is a string. +Patch by Sanyam Khurana. + +.. + +.. bpo: 24484 +.. date: 0336 +.. nonce: vFem8K +.. section: Library + +Avoid race condition in multiprocessing cleanup. + +.. + +.. bpo: 30589 +.. date: 0335 +.. nonce: xyZGM0 +.. section: Library + +Fix multiprocessing.Process.exitcode to return the opposite of the signal +number when the process is killed by a signal (instead of 255) when using +the "forkserver" method. + +.. + +.. bpo: 28994 +.. date: 0334 +.. nonce: 9vzun1 +.. section: Library + +The traceback no longer displayed for SystemExit raised in a callback +registered by atexit. + +.. + +.. bpo: 30508 +.. date: 0333 +.. nonce: wNWRS2 +.. section: Library + +Don't log exceptions if Task/Future "cancel()" method was called. + +.. + +.. bpo: 30645 +.. date: 0332 +.. nonce: xihJ4Y +.. section: Library + +Fix path calculation in `imp.load_package()`, fixing it for cases when a +package is only shipped with bytecodes. Patch by Alexandru Ardelean. + +.. + +.. bpo: 11822 +.. date: 0331 +.. nonce: GQmKw3 +.. section: Library + +The dis.dis() function now is able to disassemble nested code objects. + +.. + +.. bpo: 30624 +.. date: 0330 +.. nonce: g5oVSn +.. section: Library + +selectors does not take KeyboardInterrupt and SystemExit into account, +leaving a fd in a bad state in case of error. Patch by Giampaolo Rodola'. + +.. + +.. bpo: 30595 +.. date: 0329 +.. nonce: d0nRRA +.. section: Library + +multiprocessing.Queue.get() with a timeout now polls its reader in non- +blocking mode if it succeeded to acquire the lock but the acquire took +longer than the timeout. + +.. + +.. bpo: 28556 +.. date: 0328 +.. nonce: mESP7G +.. section: Library + +Updates to typing module: Add generic AsyncContextManager, add support for +ContextManager on all versions. Original PRs by Jelle Zijlstra and Ivan +Levkivskyi + +.. + +.. bpo: 30605 +.. date: 0327 +.. nonce: XqGz1r +.. section: Library + +re.compile() no longer raises a BytesWarning when compiling a bytes instance +with misplaced inline modifier. Patch by Roy Williams. + +.. + +.. bpo: 29870 +.. date: 0326 +.. nonce: p960Ih +.. section: Library + +Fix ssl sockets leaks when connection is aborted in asyncio/ssl +implementation. Patch by Michaël Sghaïer. + +.. + +.. bpo: 29743 +.. date: 0325 +.. nonce: en2P4s +.. section: Library + +Closing transport during handshake process leaks open socket. Patch by +Nikolay Kim + +.. + +.. bpo: 27585 +.. date: 0324 +.. nonce: 0Ugqqu +.. section: Library + +Fix waiter cancellation in asyncio.Lock. Patch by Mathieu Sornay. + +.. + +.. bpo: 30014 +.. date: 0323 +.. nonce: x7Yx6o +.. section: Library + +modify() method of poll(), epoll() and devpoll() based classes of selectors +module is around 10% faster. Patch by Giampaolo Rodola'. + +.. + +.. bpo: 30418 +.. date: 0322 +.. nonce: EwISQm +.. section: Library + +On Windows, subprocess.Popen.communicate() now also ignore EINVAL on +stdin.write() if the child process is still running but closed the pipe. + +.. + +.. bpo: 30463 +.. date: 0321 +.. nonce: CdOuSl +.. section: Library + +Addded empty __slots__ to abc.ABC. This allows subclassers to deny __dict__ +and __weakref__ creation. Patch by Aaron Hall. + +.. + +.. bpo: 30520 +.. date: 0320 +.. nonce: VYzaSn +.. section: Library + +Loggers are now pickleable. + +.. + +.. bpo: 30557 +.. date: 0319 +.. nonce: uykrLf +.. section: Library + +faulthandler now correctly filters and displays exception codes on Windows + +.. + +.. bpo: 30526 +.. date: 0318 +.. nonce: 7zTG30 +.. section: Library + +Add TextIOWrapper.reconfigure() and a TextIOWrapper.write_through attribute. + +.. + +.. bpo: 30245 +.. date: 0317 +.. nonce: Xoa_8Y +.. section: Library + +Fix possible overflow when organize struct.pack_into error message. Patch +by Yuan Liu. + +.. + +.. bpo: 30378 +.. date: 0316 +.. nonce: R_19_5 +.. section: Library + +Fix the problem that logging.handlers.SysLogHandler cannot handle IPv6 +addresses. + +.. + +.. bpo: 16500 +.. date: 0315 +.. nonce: 9ypo9k +.. section: Library + +Allow registering at-fork handlers. + +.. + +.. bpo: 30470 +.. date: 0314 +.. nonce: wAYhUc +.. section: Library + +Deprecate invalid ctypes call protection on Windows. Patch by Mariatta +Wijaya. + +.. + +.. bpo: 30414 +.. date: 0313 +.. nonce: jGl1Lb +.. section: Library + +multiprocessing.Queue._feed background running thread do not break from main +loop on exception. + +.. + +.. bpo: 30003 +.. date: 0312 +.. nonce: BOl9HE +.. section: Library + +Fix handling escape characters in HZ codec. Based on patch by Ma Lin. + +.. + +.. bpo: 30149 +.. date: 0311 +.. nonce: hE649r +.. section: Library + +inspect.signature() now supports callables with variable-argument parameters +wrapped with partialmethod. Patch by Dong-hee Na. + +.. + +.. bpo: 30436 +.. date: 0310 +.. nonce: b3zqE7 +.. section: Library + +importlib.find_spec() raises ModuleNotFoundError instead of AttributeError +if the specified parent module is not a package (i.e. lacks a __path__ +attribute). + +.. + +.. bpo: 30301 +.. date: 0309 +.. nonce: ywOkjN +.. section: Library + +Fix AttributeError when using SimpleQueue.empty() under *spawn* and +*forkserver* start methods. + +.. + +.. bpo: 30375 +.. date: 0308 +.. nonce: 9c8qM7 +.. section: Library + +Warnings emitted when compile a regular expression now always point to the +line in the user code. Previously they could point into inners of the re +module if emitted from inside of groups or conditionals. + +.. + +.. bpo: 30329 +.. date: 0307 +.. nonce: EuT36N +.. section: Library + +imaplib and poplib now catch the Windows socket WSAEINVAL error (code 10022) +on shutdown(SHUT_RDWR): An invalid operation was attempted. This error +occurs sometimes on SSL connections. + +.. + +.. bpo: 29196 +.. date: 0306 +.. nonce: qBq9eB +.. section: Library + +Removed previously deprecated in Python 2.4 classes Plist, Dict and +_InternalDict in the plistlib module. Dict values in the result of +functions readPlist() and readPlistFromBytes() are now normal dicts. You no +longer can use attribute access to access items of these dictionaries. + +.. + +.. bpo: 9850 +.. date: 0305 +.. nonce: c6SMxt +.. section: Library + +The :mod:`macpath` is now deprecated and will be removed in Python 3.8. + +.. + +.. bpo: 30299 +.. date: 0304 +.. nonce: O-5d4A +.. section: Library + +Compiling regular expression in debug mode on CPython now displays the +compiled bytecode in human readable form. + +.. + +.. bpo: 30048 +.. date: 0303 +.. nonce: ELRx8R +.. section: Library + +Fixed ``Task.cancel()`` can be ignored when the task is running coroutine +and the coroutine returned without any more ``await``. + +.. + +.. bpo: 30266 +.. date: 0302 +.. nonce: YJzHAH +.. section: Library + +contextlib.AbstractContextManager now supports anti-registration by setting +__enter__ = None or __exit__ = None, following the pattern introduced in +bpo-25958. Patch by Jelle Zijlstra. + +.. + +.. bpo: 30340 +.. date: 0301 +.. nonce: kvtGm- +.. section: Library + +Enhanced regular expressions optimization. This increased the performance of +matching some patterns up to 25 times. + +.. + +.. bpo: 30298 +.. date: 0300 +.. nonce: ZN-bWo +.. section: Library + +Weaken the condition of deprecation warnings for inline modifiers. Now +allowed several subsequential inline modifiers at the start of the pattern +(e.g. ``'(?i)(?s)...'``). In verbose mode whitespaces and comments now are +allowed before and between inline modifiers (e.g. ``'(?x) (?i) (?s)...'``). + +.. + +.. bpo: 30285 +.. date: 0299 +.. nonce: s1vpsO +.. section: Library + +Optimized case-insensitive matching and searching of regular expressions. + +.. + +.. bpo: 29990 +.. date: 0298 +.. nonce: HWV6KE +.. section: Library + +Fix range checking in GB18030 decoder. Original patch by Ma Lin. + +.. + +.. bpo: 29979 +.. date: 0297 +.. nonce: jGBMyE +.. section: Library + +rewrite cgi.parse_multipart, reusing the FieldStorage class and making its +results consistent with those of FieldStorage for multipart/form-data +requests. Patch by Pierre Quentel. + +.. + +.. bpo: 30243 +.. date: 0296 +.. nonce: RHQt0v +.. section: Library + +Removed the __init__ methods of _json's scanner and encoder. Misusing them +could cause memory leaks or crashes. Now scanner and encoder objects are +completely initialized in the __new__ methods. + +.. + +.. bpo: 30215 +.. date: 0295 +.. nonce: SY8738 +.. section: Library + +Compiled regular expression objects with the re.LOCALE flag no longer depend +on the locale at compile time. Only the locale at matching time affects the +result of matching. + +.. + +.. bpo: 30185 +.. date: 0294 +.. nonce: Tiu1n8 +.. section: Library + +Avoid KeyboardInterrupt tracebacks in forkserver helper process when Ctrl-C +is received. + +.. + +.. bpo: 30103 +.. date: 0293 +.. nonce: mmPjf5 +.. section: Library + +binascii.b2a_uu() and uu.encode() now support using ``'`'`` as zero instead +of space. + +.. + +.. bpo: 28556 +.. date: 0292 +.. nonce: 51gjbP +.. section: Library + +Various updates to typing module: add typing.NoReturn type, use +WrapperDescriptorType, minor bug-fixes. Original PRs by Jim Fasarakis- +Hilliard and Ivan Levkivskyi. + +.. + +.. bpo: 30205 +.. date: 0291 +.. nonce: BsxO34 +.. section: Library + +Fix getsockname() for unbound AF_UNIX sockets on Linux. + +.. + +.. bpo: 30228 +.. date: 0290 +.. nonce: nF8Ov4 +.. section: Library + +The seek() and tell() methods of io.FileIO now set the internal seekable +attribute to avoid one syscall on open() (in buffered or text mode). + +.. + +.. bpo: 30190 +.. date: 0289 +.. nonce: 5E7Hyb +.. section: Library + +unittest's assertAlmostEqual and assertNotAlmostEqual provide a better +message in case of failure which includes the difference between left and +right arguments. (patch by Giampaolo Rodola') + +.. + +.. bpo: 30101 +.. date: 0288 +.. nonce: hxUqSL +.. section: Library + +Add support for curses.A_ITALIC. + +.. + +.. bpo: 29822 +.. date: 0287 +.. nonce: G7dX13 +.. section: Library + +inspect.isabstract() now works during __init_subclass__. Patch by Nate +Soares. + +.. + +.. bpo: 29960 +.. date: 0286 +.. nonce: g0wr3r +.. section: Library + +Preserve generator state when _random.Random.setstate() raises an exception. +Patch by Bryan Olson. + +.. + +.. bpo: 30070 +.. date: 0285 +.. nonce: XM_B41 +.. section: Library + +Fixed leaks and crashes in errors handling in the parser module. + +.. + +.. bpo: 22352 +.. date: 0284 +.. nonce: gIQ5qC +.. section: Library + +Column widths in the output of dis.dis() are now adjusted for large line +numbers and instruction offsets. + +.. + +.. bpo: 30061 +.. date: 0283 +.. nonce: 2w_dX9 +.. section: Library + +Fixed crashes in IOBase methods __next__() and readlines() when readline() +or __next__() respectively return non-sizeable object. Fixed possible other +errors caused by not checking results of PyObject_Size(), PySequence_Size(), +or PyMapping_Size(). + +.. + +.. bpo: 30218 +.. date: 0282 +.. nonce: ab5oIg +.. section: Library + +Fix PathLike support for shutil.unpack_archive. Patch by Jelle Zijlstra. + +.. + +.. bpo: 10076 +.. date: 0281 +.. nonce: qCnwly +.. section: Library + +Compiled regular expression and match objects in the re module now support +copy.copy() and copy.deepcopy() (they are considered atomic). + +.. + +.. bpo: 30068 +.. date: 0280 +.. nonce: n4q47r +.. section: Library + +_io._IOBase.readlines will check if it's closed first when hint is present. + +.. + +.. bpo: 29694 +.. date: 0279 +.. nonce: LWKxb1 +.. section: Library + +Fixed race condition in pathlib mkdir with flags parents=True. Patch by +Armin Rigo. + +.. + +.. bpo: 29692 +.. date: 0278 +.. nonce: oyWrAE +.. section: Library + +Fixed arbitrary unchaining of RuntimeError exceptions in +contextlib.contextmanager. Patch by Siddharth Velankar. + +.. + +.. bpo: 26187 +.. date: 0277 +.. nonce: aViyiR +.. section: Library + +Test that sqlite3 trace callback is not called multiple times when schema is +changing. Indirectly fixed by switching to use sqlite3_prepare_v2() in +bpo-9303. Patch by Aviv Palivoda. + +.. + +.. bpo: 30017 +.. date: 0276 +.. nonce: cKBuhU +.. section: Library + +Allowed calling the close() method of the zip entry writer object multiple +times. Writing to a closed writer now always produces a ValueError. + +.. + +.. bpo: 29998 +.. date: 0275 +.. nonce: poeIKD +.. section: Library + +Pickling and copying ImportError now preserves name and path attributes. + +.. + +.. bpo: 29995 +.. date: 0274 +.. nonce: b3mOqx +.. section: Library + +re.escape() now escapes only regex special characters. + +.. + +.. bpo: 29962 +.. date: 0273 +.. nonce: r-ibsN +.. section: Library + +Add math.remainder operation, implementing remainder as specified in IEEE +754. + +.. + +.. bpo: 29649 +.. date: 0272 +.. nonce: 2eIxQ8 +.. section: Library + +Improve struct.pack_into() exception messages for problems with the buffer +size and offset. Patch by Andrew Nester. + +.. + +.. bpo: 29654 +.. date: 0271 +.. nonce: xRFPge +.. section: Library + +Support If-Modified-Since HTTP header (browser cache). Patch by Pierre +Quentel. + +.. + +.. bpo: 29931 +.. date: 0270 +.. nonce: tfcTwK +.. section: Library + +Fixed comparison check for ipaddress.ip_interface objects. Patch by Sanjay +Sundaresan. + +.. + +.. bpo: 29953 +.. date: 0269 +.. nonce: Q1hSt- +.. section: Library + +Fixed memory leaks in the replace() method of datetime and time objects when +pass out of bound fold argument. + +.. + +.. bpo: 29942 +.. date: 0268 +.. nonce: CsGNuT +.. section: Library + +Fix a crash in itertools.chain.from_iterable when encountering long runs of +empty iterables. + +.. + +.. bpo: 10030 +.. date: 0267 +.. nonce: ZdhU3k +.. section: Library + +Sped up reading encrypted ZIP files by 2 times. + +.. + +.. bpo: 29204 +.. date: 0266 +.. nonce: 8Hbqn2 +.. section: Library + +Element.getiterator() and the html parameter of XMLParser() were deprecated +only in the documentation (since Python 3.2 and 3.4 correspondintly). Now +using them emits a deprecation warning. + +.. + +.. bpo: 27863 +.. date: 0265 +.. nonce: pPYHHI +.. section: Library + +Fixed multiple crashes in ElementTree caused by race conditions and wrong +types. + +.. + +.. bpo: 25996 +.. date: 0264 +.. nonce: L2_giP +.. section: Library + +Added support of file descriptors in os.scandir() on Unix. os.fwalk() is +sped up by 2 times by using os.scandir(). + +.. + +.. bpo: 28699 +.. date: 0263 +.. nonce: wZztZP +.. section: Library + +Fixed a bug in pools in multiprocessing.pool that raising an exception at +the very first of an iterable may swallow the exception or make the program +hang. Patch by Davin Potts and Xiang Zhang. + +.. + +.. bpo: 23890 +.. date: 0262 +.. nonce: GCFAAZ +.. section: Library + +unittest.TestCase.assertRaises() now manually breaks a reference cycle to +not keep objects alive longer than expected. + +.. + +.. bpo: 29901 +.. date: 0261 +.. nonce: QdgMvW +.. section: Library + +The zipapp module now supports general path-like objects, not just +pathlib.Path. + +.. + +.. bpo: 25803 +.. date: 0260 +.. nonce: CPDR0W +.. section: Library + +Avoid incorrect errors raised by Path.mkdir(exist_ok=True) when the OS gives +priority to errors such as EACCES over EEXIST. + +.. + +.. bpo: 29861 +.. date: 0259 +.. nonce: t2ZoRK +.. section: Library + +Release references to tasks, their arguments and their results as soon as +they are finished in multiprocessing.Pool. + +.. + +.. bpo: 19930 +.. date: 0258 +.. nonce: QCjO6A +.. section: Library + +The mode argument of os.makedirs() no longer affects the file permission +bits of newly-created intermediate-level directories. + +.. + +.. bpo: 29884 +.. date: 0257 +.. nonce: kWXR8W +.. section: Library + +faulthandler: Restore the old sigaltstack during teardown. Patch by +Christophe Zeitouny. + +.. + +.. bpo: 25455 +.. date: 0256 +.. nonce: ZsahHN +.. section: Library + +Fixed crashes in repr of recursive buffered file-like objects. + +.. + +.. bpo: 29800 +.. date: 0255 +.. nonce: d2xASa +.. section: Library + +Fix crashes in partial.__repr__ if the keys of partial.keywords are not +strings. Patch by Michael Seifert. + +.. + +.. bpo: 8256 +.. date: 0254 +.. nonce: jAwGQH +.. section: Library + +Fixed possible failing or crashing input() if attributes "encoding" or +"errors" of sys.stdin or sys.stdout are not set or are not strings. + +.. + +.. bpo: 28692 +.. date: 0253 +.. nonce: CDt-Gb +.. section: Library + +Using non-integer value for selecting a plural form in gettext is now +deprecated. + +.. + +.. bpo: 26121 +.. date: 0252 +.. nonce: LX-pQA +.. section: Library + +Use C library implementation for math functions erf() and erfc(). + +.. + +.. bpo: 29619 +.. date: 0251 +.. nonce: WIGVxO +.. section: Library + +os.stat() and os.DirEntry.inode() now convert inode (st_ino) using unsigned +integers. + +.. + +.. bpo: 28298 +.. date: 0250 +.. nonce: PNOPsT +.. section: Library + +Fix a bug that prevented array 'Q', 'L' and 'I' from accepting big intables +(objects that have __int__) as elements. + +.. + +.. bpo: 29645 +.. date: 0249 +.. nonce: XCxTHM +.. section: Library + +Speed up importing the webbrowser module. webbrowser.register() is now +thread-safe. + +.. + +.. bpo: 28231 +.. date: 0248 +.. nonce: MG1X09 +.. section: Library + +The zipfile module now accepts path-like objects for external paths. + +.. + +.. bpo: 26915 +.. date: 0247 +.. nonce: qShJZO +.. section: Library + +index() and count() methods of collections.abc.Sequence now check identity +before checking equality when do comparisons. + +.. + +.. bpo: 28682 +.. date: 0246 +.. nonce: hUxdej +.. section: Library + +Added support for bytes paths in os.fwalk(). + +.. + +.. bpo: 29728 +.. date: 0245 +.. nonce: 37jMwb +.. section: Library + +Add new :data:`socket.TCP_NOTSENT_LOWAT` (Linux 3.12) constant. Patch by +Nathaniel J. Smith. + +.. + +.. bpo: 29623 +.. date: 0244 +.. nonce: D3-NP2 +.. section: Library + +Allow use of path-like object as a single argument in ConfigParser.read(). +Patch by David Ellis. + +.. + +.. bpo: 9303 +.. date: 0243 +.. nonce: kDZRSd +.. section: Library + +Migrate sqlite3 module to _v2 API. Patch by Aviv Palivoda. + +.. + +.. bpo: 28963 +.. date: 0242 +.. nonce: tPl8dq +.. section: Library + +Fix out of bound iteration in asyncio.Future.remove_done_callback +implemented in C. + +.. + +.. bpo: 29704 +.. date: 0241 +.. nonce: WHbx27 +.. section: Library + +asyncio.subprocess.SubprocessStreamProtocol no longer closes before all +pipes are closed. + +.. + +.. bpo: 29271 +.. date: 0240 +.. nonce: y8Vj2v +.. section: Library + +Fix Task.current_task and Task.all_tasks implemented in C to accept None +argument as their pure Python implementation. + +.. + +.. bpo: 29703 +.. date: 0239 +.. nonce: ZdsPCR +.. section: Library + +Fix asyncio to support instantiation of new event loops in child processes. + +.. + +.. bpo: 29615 +.. date: 0238 +.. nonce: OpFKzg +.. section: Library + +SimpleXMLRPCDispatcher no longer chains KeyError (or any other exception) to +exception(s) raised in the dispatched methods. Patch by Petr Motejlek. + +.. + +.. bpo: 7769 +.. date: 0237 +.. nonce: xGRJWh +.. section: Library + +Method register_function() of xmlrpc.server.SimpleXMLRPCDispatcher and its +subclasses can now be used as a decorator. + +.. + +.. bpo: 29376 +.. date: 0236 +.. nonce: rrJhJy +.. section: Library + +Fix assertion error in threading._DummyThread.is_alive(). + +.. + +.. bpo: 28624 +.. date: 0235 +.. nonce: 43TJib +.. section: Library + +Add a test that checks that cwd parameter of Popen() accepts PathLike +objects. Patch by Sayan Chowdhury. + +.. + +.. bpo: 28518 +.. date: 0234 +.. nonce: o-Q2Nw +.. section: Library + +Start a transaction implicitly before a DML statement. Patch by Aviv +Palivoda. + +.. + +.. bpo: 29742 +.. date: 0233 +.. nonce: 8hqfEO +.. section: Library + +get_extra_info() raises exception if get called on closed ssl transport. +Patch by Nikolay Kim. + +.. + +.. bpo: 16285 +.. date: 0232 +.. nonce: 4f5gbp +.. section: Library + +urrlib.parse.quote is now based on RFC 3986 and hence includes '~' in the +set of characters that is not quoted by default. Patch by Christian Theune +and Ratnadeep Debnath. + +.. + +.. bpo: 29532 +.. date: 0231 +.. nonce: YCwVQn +.. section: Library + +Altering a kwarg dictionary passed to functools.partial() no longer affects +a partial object after creation. + +.. + +.. bpo: 29110 +.. date: 0230 +.. nonce: wmE-_T +.. section: Library + +Fix file object leak in aifc.open() when file is given as a filesystem path +and is not in valid AIFF format. Patch by Anthony Zhang. + +.. + +.. bpo: 22807 +.. date: 0229 +.. nonce: VmoSkZ +.. section: Library + +Add uuid.SafeUUID and uuid.UUID.is_safe to relay information from the +platform about whether generated UUIDs are generated with a multiprocessing +safe method. + +.. + +.. bpo: 29576 +.. date: 0228 +.. nonce: F-b8_5 +.. section: Library + +Improve some deprecations in importlib. Some deprecated methods now emit +DeprecationWarnings and have better descriptive messages. + +.. + +.. bpo: 29534 +.. date: 0227 +.. nonce: Ug3HPU +.. section: Library + +Fixed different behaviour of Decimal.from_float() for _decimal and +_pydecimal. Thanks Andrew Nester. + +.. + +.. bpo: 10379 +.. date: 0226 +.. nonce: mRlZsT +.. section: Library + +locale.format_string now supports the 'monetary' keyword argument, and +locale.format is deprecated. + +.. + +.. bpo: 29851 +.. date: 0225 +.. nonce: jqs_5s +.. section: Library + +importlib.reload() now raises ModuleNotFoundError if the module lacks a +spec. + +.. + +.. bpo: 28556 +.. date: 0224 +.. nonce: p6967e +.. section: Library + +Various updates to typing module: typing.Counter, typing.ChainMap, improved +ABC caching, etc. Original PRs by Jelle Zijlstra, Ivan Levkivskyi, Manuel +Krebber, and Łukasz Langa. + +.. + +.. bpo: 29100 +.. date: 0223 +.. nonce: LAAERS +.. section: Library + +Fix datetime.fromtimestamp() regression introduced in Python 3.6.0: check +minimum and maximum years. + +.. + +.. bpo: 29416 +.. date: 0222 +.. nonce: KJGyI_ +.. section: Library + +Prevent infinite loop in pathlib.Path.mkdir + +.. + +.. bpo: 29444 +.. date: 0221 +.. nonce: cEwgmk +.. section: Library + +Fixed out-of-bounds buffer access in the group() method of the match object. +Based on patch by WGH. + +.. + +.. bpo: 29377 +.. date: 0220 +.. nonce: 4AvSrC +.. section: Library + +Add WrapperDescriptorType, MethodWrapperType, and MethodDescriptorType +built-in types to types module. Original patch by Manuel Krebber. + +.. + +.. bpo: 29218 +.. date: 0219 +.. nonce: -Qoti0 +.. section: Library + +Unused install_misc command is now removed. It has been documented as +unused since 2000. Patch by Eric N. Vander Weele. + +.. + +.. bpo: 29368 +.. date: 0218 +.. nonce: nTtA_V +.. section: Library + +The extend() method is now called instead of the append() method when +unpickle collections.deque and other list-like objects. This can speed up +unpickling to 2 times. + +.. + +.. bpo: 29338 +.. date: 0217 +.. nonce: EpvQJl +.. section: Library + +The help of a builtin or extension class now includes the constructor +signature if __text_signature__ is provided for the class. + +.. + +.. bpo: 29335 +.. date: 0216 +.. nonce: _KC7IK +.. section: Library + +Fix subprocess.Popen.wait() when the child process has exited to a stopped +instead of terminated state (ex: when under ptrace). + +.. + +.. bpo: 29290 +.. date: 0215 +.. nonce: XBqptF +.. section: Library + +Fix a regression in argparse that help messages would wrap at non-breaking +spaces. + +.. + +.. bpo: 28735 +.. date: 0214 +.. nonce: admHLO +.. section: Library + +Fixed the comparison of mock.MagickMock with mock.ANY. + +.. + +.. bpo: 29197 +.. date: 0213 +.. nonce: sZssFZ +.. section: Library + +Removed deprecated function ntpath.splitunc(). + +.. + +.. bpo: 29210 +.. date: 0212 +.. nonce: y1UHWf +.. section: Library + +Removed support of deprecated argument "exclude" in tarfile.TarFile.add(). + +.. + +.. bpo: 29219 +.. date: 0211 +.. nonce: kxui7t +.. section: Library + +Fixed infinite recursion in the repr of uninitialized ctypes.CDLL instances. + +.. + +.. bpo: 29192 +.. date: 0210 +.. nonce: mY31H8 +.. section: Library + +Removed deprecated features in the http.cookies module. + +.. + +.. bpo: 29193 +.. date: 0209 +.. nonce: CgcjEx +.. section: Library + +A format string argument for string.Formatter.format() is now positional- +only. + +.. + +.. bpo: 29195 +.. date: 0208 +.. nonce: vK5LjU +.. section: Library + +Removed support of deprecated undocumented keyword arguments in methods of +regular expression objects. + +.. + +.. bpo: 28969 +.. date: 0207 +.. nonce: j3HJYO +.. section: Library + +Fixed race condition in C implementation of functools.lru_cache. KeyError +could be raised when cached function with full cache was simultaneously +called from differen threads with the same uncached arguments. + +.. + +.. bpo: 20804 +.. date: 0206 +.. nonce: XyZhvi +.. section: Library + +The unittest.mock.sentinel attributes now preserve their identity when they +are copied or pickled. + +.. + +.. bpo: 29142 +.. date: 0205 +.. nonce: xo6kAv +.. section: Library + +In urllib.request, suffixes in no_proxy environment variable with leading +dots could match related hostnames again (e.g. .b.c matches a.b.c). Patch by +Milan Oberkirch. + +.. + +.. bpo: 28961 +.. date: 0204 +.. nonce: Rt93vg +.. section: Library + +Fix unittest.mock._Call helper: don't ignore the name parameter anymore. +Patch written by Jiajun Huang. + +.. + +.. bpo: 15812 +.. date: 0203 +.. nonce: R1U-Ec +.. section: Library + +inspect.getframeinfo() now correctly shows the first line of a context. +Patch by Sam Breese. + +.. + +.. bpo: 28985 +.. date: 0202 +.. nonce: TMWJFg +.. section: Library + +Update authorizer constants in sqlite3 module. Patch by Dingyuan Wang. + +.. + +.. bpo: 29079 +.. date: 0201 +.. nonce: g4YLix +.. section: Library + +Prevent infinite loop in pathlib.resolve() on Windows + +.. + +.. bpo: 13051 +.. date: 0200 +.. nonce: YzC1Te +.. section: Library + +Fixed recursion errors in large or resized curses.textpad.Textbox. Based on +patch by Tycho Andersen. + +.. + +.. bpo: 9770 +.. date: 0199 +.. nonce: WJJnwP +.. section: Library + +curses.ascii predicates now work correctly with negative integers. + +.. + +.. bpo: 28427 +.. date: 0198 +.. nonce: vUd-va +.. section: Library + +old keys should not remove new values from WeakValueDictionary when +collecting from another thread. + +.. + +.. bpo: 28923 +.. date: 0197 +.. nonce: naVULD +.. section: Library + +Remove editor artifacts from Tix.py. + +.. + +.. bpo: 28871 +.. date: 0196 +.. nonce: cPMXCJ +.. section: Library + +Fixed a crash when deallocate deep ElementTree. + +.. + +.. bpo: 19542 +.. date: 0195 +.. nonce: 5tCkaK +.. section: Library + +Fix bugs in WeakValueDictionary.setdefault() and WeakValueDictionary.pop() +when a GC collection happens in another thread. + +.. + +.. bpo: 20191 +.. date: 0194 +.. nonce: Q7uZCS +.. section: Library + +Fixed a crash in resource.prlimit() when passing a sequence that doesn't own +its elements as limits. + +.. + +.. bpo: 16255 +.. date: 0193 +.. nonce: p2YA85 +.. section: Library + +subprocess.Popen uses /system/bin/sh on Android as the shell, instead of +/bin/sh. + +.. + +.. bpo: 28779 +.. date: 0192 +.. nonce: t-mjED +.. section: Library + +multiprocessing.set_forkserver_preload() would crash the forkserver process +if a preloaded module instantiated some multiprocessing objects such as +locks. + +.. + +.. bpo: 26937 +.. date: 0191 +.. nonce: c9kgiA +.. section: Library + +The chown() method of the tarfile.TarFile class does not fail now when the +grp module cannot be imported, as for example on Android platforms. + +.. + +.. bpo: 28847 +.. date: 0190 +.. nonce: GiWd9w +.. section: Library + +dbm.dumb now supports reading read-only files and no longer writes the index +file when it is not changed. A deprecation warning is now emitted if the +index file is missed and recreated in the 'r' and 'w' modes (will be an +error in future Python releases). + +.. + +.. bpo: 27030 +.. date: 0189 +.. nonce: GoGlFH +.. section: Library + +Unknown escapes consisting of ``'\'`` and an ASCII letter in re.sub() +replacement templates regular expressions now are errors. + +.. + +.. bpo: 28835 +.. date: 0188 +.. nonce: iWBYH7 +.. section: Library + +Fix a regression introduced in warnings.catch_warnings(): call +warnings.showwarning() if it was overridden inside the context manager. + +.. + +.. bpo: 27172 +.. date: 0187 +.. nonce: mVKfLT +.. section: Library + +To assist with upgrades from 2.7, the previously documented deprecation of +``inspect.getfullargspec()`` has been reversed. This decision may be +revisited again after the Python 2.7 branch is no longer officially +supported. + +.. + +.. bpo: 28740 +.. date: 0186 +.. nonce: rY8kz- +.. section: Library + +Add sys.getandroidapilevel(): return the build time API version of Android +as an integer. Function only available on Android. + +.. + +.. bpo: 26273 +.. date: 0185 +.. nonce: ilNIWN +.. section: Library + +Add new :data:`socket.TCP_CONGESTION` (Linux 2.6.13) and +:data:`socket.TCP_USER_TIMEOUT` (Linux 2.6.37) constants. Patch written by +Omar Sandoval. + +.. + +.. bpo: 28752 +.. date: 0184 +.. nonce: Q-4oRE +.. section: Library + +Restored the __reduce__() methods of datetime objects. + +.. + +.. bpo: 28727 +.. date: 0183 +.. nonce: ubZP_b +.. section: Library + +Regular expression patterns, _sre.SRE_Pattern objects created by +re.compile(), become comparable (only x==y and x!=y operators). This change +should fix the issue #18383: don't duplicate warning filters when the +warnings module is reloaded (thing usually only done in unit tests). + +.. + +.. bpo: 20572 +.. date: 0182 +.. nonce: NCRmvz +.. section: Library + +Remove the subprocess.Popen.wait endtime parameter. It was deprecated in +3.4 and undocumented prior to that. + +.. + +.. bpo: 25659 +.. date: 0181 +.. nonce: lE2IlT +.. section: Library + +In ctypes, prevent a crash calling the from_buffer() and from_buffer_copy() +methods on abstract classes like Array. + +.. + +.. bpo: 28548 +.. date: 0180 +.. nonce: IeNrnG +.. section: Library + +In the "http.server" module, parse the protocol version if possible, to +avoid using HTTP 0.9 in some error responses. + +.. + +.. bpo: 19717 +.. date: 0179 +.. nonce: HXCAIz +.. section: Library + +Makes Path.resolve() succeed on paths that do not exist. Patch by Vajrasky +Kok + +.. + +.. bpo: 28563 +.. date: 0178 +.. nonce: iweEiw +.. section: Library + +Fixed possible DoS and arbitrary code execution when handle plural form +selections in the gettext module. The expression parser now supports exact +syntax supported by GNU gettext. + +.. + +.. bpo: 28387 +.. date: 0177 +.. nonce: 1clJu7 +.. section: Library + +Fixed possible crash in _io.TextIOWrapper deallocator when the garbage +collector is invoked in other thread. Based on patch by Sebastian Cufre. + +.. + +.. bpo: 27517 +.. date: 0176 +.. nonce: 1CYM8A +.. section: Library + +LZMA compressor and decompressor no longer raise exceptions if given empty +data twice. Patch by Benjamin Fogle. + +.. + +.. bpo: 28549 +.. date: 0175 +.. nonce: ShnM2y +.. section: Library + +Fixed segfault in curses's addch() with ncurses6. + +.. + +.. bpo: 28449 +.. date: 0174 +.. nonce: 5JK6ES +.. section: Library + +tarfile.open() with mode "r" or "r:" now tries to open a tar file with +compression before trying to open it without compression. Otherwise it had +50% chance failed with ignore_zeros=True. + +.. + +.. bpo: 23262 +.. date: 0173 +.. nonce: 6EVB7N +.. section: Library + +The webbrowser module now supports Firefox 36+ and derived browsers. Based +on patch by Oleg Broytman. + +.. + +.. bpo: 24241 +.. date: 0172 +.. nonce: y7N12p +.. section: Library + +The webbrowser in an X environment now prefers using the default browser +directly. Also, the webbrowser register() function now has a documented +'preferred' argument, to specify browsers to be returned by get() with no +arguments. Patch by David Steele + +.. + +.. bpo: 27939 +.. date: 0171 +.. nonce: mTfADV +.. section: Library + +Fixed bugs in tkinter.ttk.LabeledScale and tkinter.Scale caused by +representing the scale as float value internally in Tk. tkinter.IntVar now +works if float value is set to underlying Tk variable. + +.. + +.. bpo: 28255 +.. date: 0170 +.. nonce: G3iOPm +.. section: Library + +calendar.TextCalendar.prweek() no longer prints a space after a weeks's +calendar. calendar.TextCalendar.pryear() no longer prints redundant newline +after a year's calendar. Based on patch by Xiang Zhang. + +.. + +.. bpo: 28255 +.. date: 0169 +.. nonce: fHNZu0 +.. section: Library + +calendar.TextCalendar.prmonth() no longer prints a space at the start of new +line after printing a month's calendar. Patch by Xiang Zhang. + +.. + +.. bpo: 20491 +.. date: 0168 +.. nonce: ObgnQ2 +.. section: Library + +The textwrap.TextWrapper class now honors non-breaking spaces. Based on +patch by Kaarle Ritvanen. + +.. + +.. bpo: 28353 +.. date: 0167 +.. nonce: sKGbLL +.. section: Library + +os.fwalk() no longer fails on broken links. + +.. + +.. bpo: 28430 +.. date: 0166 +.. nonce: 4MiEYT +.. section: Library + +Fix iterator of C implemented asyncio.Future doesn't accept non-None value +is passed to it.send(val). + +.. + +.. bpo: 27025 +.. date: 0165 +.. nonce: foAViS +.. section: Library + +Generated names for Tkinter widgets now start by the "!" prefix for +readability. + +.. + +.. bpo: 25464 +.. date: 0164 +.. nonce: HDUTCu +.. section: Library + +Fixed HList.header_exists() in tkinter.tix module by addin a workaround to +Tix library bug. + +.. + +.. bpo: 28488 +.. date: 0163 +.. nonce: TgO112 +.. section: Library + +shutil.make_archive() no longer adds entry "./" to ZIP archive. + +.. + +.. bpo: 25953 +.. date: 0162 +.. nonce: EKKJAQ +.. section: Library + +re.sub() now raises an error for invalid numerical group reference in +replacement template even if the pattern is not found in the string. Error +message for invalid group reference now includes the group index and the +position of the reference. Based on patch by SilentGhost. + +.. + +.. bpo: 28469 +.. date: 0161 +.. nonce: QZW1Np +.. section: Library + +timeit now uses the sequence 1, 2, 5, 10, 20, 50,... instead of 1, 10, +100,... for autoranging. + +.. + +.. bpo: 28115 +.. date: 0160 +.. nonce: 4FIjIE +.. section: Library + +Command-line interface of the zipfile module now uses argparse. Added +support of long options. + +.. + +.. bpo: 18219 +.. date: 0159 +.. nonce: 1ANQN1 +.. section: Library + +Optimize csv.DictWriter for large number of columns. Patch by Mariatta +Wijaya. + +.. + +.. bpo: 28448 +.. date: 0158 +.. nonce: 5bduWe +.. section: Library + +Fix C implemented asyncio.Future didn't work on Windows. + +.. + +.. bpo: 23214 +.. date: 0157 +.. nonce: -4Q5Z7 +.. section: Library + +In the "io" module, the argument to BufferedReader and BytesIO's read1() +methods is now optional and can be -1, matching the BufferedIOBase +specification. + +.. + +.. bpo: 28480 +.. date: 0156 +.. nonce: 9lHw6m +.. section: Library + +Fix error building socket module when multithreading is disabled. + +.. + +.. bpo: 28240 +.. date: 0155 +.. nonce: hqzQvS +.. section: Library + +timeit: remove ``-c/--clock`` and ``-t/--time`` command line options which +were deprecated since Python 3.3. + +.. + +.. bpo: 28240 +.. date: 0154 +.. nonce: IwQMgd +.. section: Library + +timeit now repeats the benchmarks 5 times instead of only 3 to make +benchmarks more reliable. + +.. + +.. bpo: 28240 +.. date: 0153 +.. nonce: cXljq- +.. section: Library + +timeit autorange now uses a single loop iteration if the benchmark takes +less than 10 seconds, instead of 10 iterations. "python3 -m timeit -s +'import time' 'time.sleep(1)'" now takes 4 seconds instead of 40 seconds. + +.. + +.. bpo: 0 +.. date: 0152 +.. nonce: 5Y0ngw +.. section: Library + +Distutils.sdist now looks for README and setup.py files with case +sensitivity. This behavior matches that found in Setuptools 6.0 and later. +See `setuptools 100 <https://github.com/pypa/setuptools/issues/100>`_ for +rationale. + +.. + +.. bpo: 24452 +.. date: 0151 +.. nonce: pVsjt0 +.. section: Library + +Make webbrowser support Chrome on Mac OS X. Patch by Ned Batchelder. + +.. + +.. bpo: 20766 +.. date: 0150 +.. nonce: 4kvCzx +.. section: Library + +Fix references leaked by pdb in the handling of SIGINT handlers. + +.. + +.. bpo: 27998 +.. date: 0149 +.. nonce: CPhy4H +.. section: Library + +Fixed bytes path support in os.scandir() on Windows. Patch by Eryk Sun. + +.. + +.. bpo: 28317 +.. date: 0148 +.. nonce: LgHleA +.. section: Library + +The disassembler now decodes FORMAT_VALUE argument. + +.. + +.. bpo: 28380 +.. date: 0147 +.. nonce: jKPMzH +.. section: Library + +unittest.mock Mock autospec functions now properly support assert_called, +assert_not_called, and assert_called_once. + +.. + +.. bpo: 28229 +.. date: 0146 +.. nonce: BKAxcS +.. section: Library + +lzma module now supports pathlib. + +.. + +.. bpo: 28321 +.. date: 0145 +.. nonce: bQ-IIX +.. section: Library + +Fixed writing non-BMP characters with binary format in plistlib. + +.. + +.. bpo: 28225 +.. date: 0144 +.. nonce: 6N28nu +.. section: Library + +bz2 module now supports pathlib. Initial patch by Ethan Furman. + +.. + +.. bpo: 28227 +.. date: 0143 +.. nonce: 7lUz8i +.. section: Library + +gzip now supports pathlib. Patch by Ethan Furman. + +.. + +.. bpo: 28332 +.. date: 0142 +.. nonce: Ed8fNk +.. section: Library + +Deprecated silent truncations in socket.htons and socket.ntohs. Original +patch by Oren Milman. + +.. + +.. bpo: 27358 +.. date: 0141 +.. nonce: t288Iv +.. section: Library + +Optimized merging var-keyword arguments and improved error message when +passing a non-mapping as a var-keyword argument. + +.. + +.. bpo: 28257 +.. date: 0140 +.. nonce: SVD_IH +.. section: Library + +Improved error message when passing a non-iterable as a var-positional +argument. Added opcode BUILD_TUPLE_UNPACK_WITH_CALL. + +.. + +.. bpo: 28322 +.. date: 0139 +.. nonce: l9hzap +.. section: Library + +Fixed possible crashes when unpickle itertools objects from incorrect pickle +data. Based on patch by John Leitch. + +.. + +.. bpo: 28228 +.. date: 0138 +.. nonce: 1qBwdM +.. section: Library + +imghdr now supports pathlib. + +.. + +.. bpo: 28226 +.. date: 0137 +.. nonce: nMXiwU +.. section: Library + +compileall now supports pathlib. + +.. + +.. bpo: 28314 +.. date: 0136 +.. nonce: N7YrkN +.. section: Library + +Fix function declaration (C flags) for the getiterator() method of +xml.etree.ElementTree.Element. + +.. + +.. bpo: 28148 +.. date: 0135 +.. nonce: Flzndx +.. section: Library + +Stop using localtime() and gmtime() in the time module. + +Introduced platform independent _PyTime_localtime API that is similar to +POSIX localtime_r, but available on all platforms. Patch by Ed Schouten. + +.. + +.. bpo: 28253 +.. date: 0134 +.. nonce: aLfmhe +.. section: Library + +Fixed calendar functions for extreme months: 0001-01 and 9999-12. + +Methods itermonthdays() and itermonthdays2() are reimplemented so that they +don't call itermonthdates() which can cause datetime.date under/overflow. + +.. + +.. bpo: 28275 +.. date: 0133 +.. nonce: EhWIsz +.. section: Library + +Fixed possible use after free in the decompress() methods of the +LZMADecompressor and BZ2Decompressor classes. Original patch by John Leitch. + +.. + +.. bpo: 27897 +.. date: 0132 +.. nonce: I0Ppmx +.. section: Library + +Fixed possible crash in sqlite3.Connection.create_collation() if pass +invalid string-like object as a name. Patch by Xiang Zhang. + +.. + +.. bpo: 18844 +.. date: 0131 +.. nonce: fQsEdn +.. section: Library + +random.choices() now has k as a keyword-only argument to improve the +readability of common cases and come into line with the signature used in +other languages. + +.. + +.. bpo: 18893 +.. date: 0130 +.. nonce: osiX5c +.. section: Library + +Fix invalid exception handling in Lib/ctypes/macholib/dyld.py. Patch by +Madison May. + +.. + +.. bpo: 27611 +.. date: 0129 +.. nonce: A_ArH_ +.. section: Library + +Fixed support of default root window in the tkinter.tix module. Added the +master parameter in the DisplayStyle constructor. + +.. + +.. bpo: 27348 +.. date: 0128 +.. nonce: tDx7Vw +.. section: Library + +In the traceback module, restore the formatting of exception messages like +"Exception: None". This fixes a regression introduced in 3.5a2. + +.. + +.. bpo: 25651 +.. date: 0127 +.. nonce: 3UhyPo +.. section: Library + +Allow falsy values to be used for msg parameter of subTest(). + +.. + +.. bpo: 27778 +.. date: 0126 +.. nonce: Yyo1aP +.. section: Library + +Fix a memory leak in os.getrandom() when the getrandom() is interrupted by a +signal and a signal handler raises a Python exception. + +.. + +.. bpo: 28200 +.. date: 0125 +.. nonce: 4IEbr7 +.. section: Library + +Fix memory leak on Windows in the os module (fix path_converter() function). + +.. + +.. bpo: 25400 +.. date: 0124 +.. nonce: d9Qn0E +.. section: Library + +RobotFileParser now correctly returns default values for crawl_delay and +request_rate. Initial patch by Peter Wirtz. + +.. + +.. bpo: 27932 +.. date: 0123 +.. nonce: mtgl-6 +.. section: Library + +Prevent memory leak in win32_ver(). + +.. + +.. bpo: 0 +.. date: 0122 +.. nonce: iPpjqX +.. section: Library + +Fix UnboundLocalError in socket._sendfile_use_sendfile. + +.. + +.. bpo: 28075 +.. date: 0121 +.. nonce: aLiUs9 +.. section: Library + +Check for ERROR_ACCESS_DENIED in Windows implementation of os.stat(). Patch +by Eryk Sun. + +.. + +.. bpo: 22493 +.. date: 0120 +.. nonce: Mv_hZf +.. section: Library + +Warning message emitted by using inline flags in the middle of regular +expression now contains a (truncated) regex pattern. Patch by Tim Graham. + +.. + +.. bpo: 25270 +.. date: 0119 +.. nonce: jrZruM +.. section: Library + +Prevent codecs.escape_encode() from raising SystemError when an empty +bytestring is passed. + +.. + +.. bpo: 28181 +.. date: 0118 +.. nonce: NGc4Yv +.. section: Library + +Get antigravity over HTTPS. Patch by Kaartic Sivaraam. + +.. + +.. bpo: 25895 +.. date: 0117 +.. nonce: j92qoQ +.. section: Library + +Enable WebSocket URL schemes in urllib.parse.urljoin. Patch by Gergely Imreh +and Markus Holtermann. + +.. + +.. bpo: 28114 +.. date: 0116 +.. nonce: gmFXsA +.. section: Library + +Fix a crash in parse_envlist() when env contains byte strings. Patch by Eryk +Sun. + +.. + +.. bpo: 27599 +.. date: 0115 +.. nonce: itvm8T +.. section: Library + +Fixed buffer overrun in binascii.b2a_qp() and binascii.a2b_qp(). + +.. + +.. bpo: 27906 +.. date: 0114 +.. nonce: TBBXrv +.. section: Library + +Fix socket accept exhaustion during high TCP traffic. Patch by Kevin Conway. + +.. + +.. bpo: 28174 +.. date: 0113 +.. nonce: CV1UdI +.. section: Library + +Handle when SO_REUSEPORT isn't properly supported. Patch by Seth Michael +Larson. + +.. + +.. bpo: 26654 +.. date: 0112 +.. nonce: XtzTE9 +.. section: Library + +Inspect functools.partial in asyncio.Handle.__repr__. Patch by iceboy. + +.. + +.. bpo: 26909 +.. date: 0111 +.. nonce: ASiakT +.. section: Library + +Fix slow pipes IO in asyncio. Patch by INADA Naoki. + +.. + +.. bpo: 28176 +.. date: 0110 +.. nonce: sU8R6L +.. section: Library + +Fix callbacks race in asyncio.SelectorLoop.sock_connect. + +.. + +.. bpo: 27759 +.. date: 0109 +.. nonce: qpMDGq +.. section: Library + +Fix selectors incorrectly retain invalid file descriptors. Patch by Mark +Williams. + +.. + +.. bpo: 28325 +.. date: 0108 +.. nonce: wAHmnK +.. section: Library + +Remove vestigial MacOS 9 macurl2path module and its tests. + +.. + +.. bpo: 28368 +.. date: 0107 +.. nonce: n594X4 +.. section: Library + +Refuse monitoring processes if the child watcher has no loop attached. Patch +by Vincent Michel. + +.. + +.. bpo: 28369 +.. date: 0106 +.. nonce: 8DTANe +.. section: Library + +Raise RuntimeError when transport's FD is used with add_reader, add_writer, +etc. + +.. + +.. bpo: 28370 +.. date: 0105 +.. nonce: 18jBuZ +.. section: Library + +Speedup asyncio.StreamReader.readexactly. Patch by Коренберг Марк. + +.. + +.. bpo: 28371 +.. date: 0104 +.. nonce: U9Zqdk +.. section: Library + +Deprecate passing asyncio.Handles to run_in_executor. + +.. + +.. bpo: 28372 +.. date: 0103 +.. nonce: njcIPk +.. section: Library + +Fix asyncio to support formatting of non-python coroutines. + +.. + +.. bpo: 28399 +.. date: 0102 +.. nonce: QKIqRX +.. section: Library + +Remove UNIX socket from FS before binding. Patch by Коренберг Марк. + +.. + +.. bpo: 27972 +.. date: 0101 +.. nonce: ZK-GFm +.. section: Library + +Prohibit Tasks to await on themselves. + +.. + +.. bpo: 24142 +.. date: 0100 +.. nonce: IrZnFs +.. section: Library + +Reading a corrupt config file left configparser in an invalid state. +Original patch by Florian Höch. + +.. + +.. bpo: 29581 +.. date: 0099 +.. nonce: gHCrxP +.. section: Library + +ABCMeta.__new__ now accepts ``**kwargs``, allowing abstract base classes to +use keyword parameters in __init_subclass__. Patch by Nate Soares. + +.. + +.. bpo: 25532 +.. date: 0098 +.. nonce: ey4Yez +.. section: Library + +inspect.unwrap() will now only try to unwrap an object +sys.getrecursionlimit() times, to protect against objects which create a new +object on every attribute access. + +.. + +.. bpo: 30177 +.. date: 0097 +.. nonce: JGIJNL +.. section: Library + +path.resolve(strict=False) no longer cuts the path after the first element +not present in the filesystem. Patch by Antoine Pietri. + +.. + +.. bpo: 31294 +.. date: 2017-09-07-20-49-09 +.. nonce: WgI18w +.. section: Documentation + +Fix incomplete code snippet in the ZeroMQSocketListener and +ZeroMQSocketHandler examples and adapt them to Python 3. + +.. + +.. bpo: 21649 +.. date: 2017-09-06-10-11-57 +.. nonce: EUvqA9 +.. section: Documentation + +Add RFC 7525 and Mozilla server side TLS links to SSL documentation. + +.. + +.. bpo: 31128 +.. date: 2017-08-31 +.. nonce: uoa3cr +.. section: Documentation + +Allow the pydoc server to bind to arbitrary hostnames. + +.. + +.. bpo: 30803 +.. date: 2017-07-29-14-55-50 +.. nonce: 6hutqQ +.. section: Documentation + +Clarify doc on truth value testing. Original patch by Peter Thomassen. + +.. + +.. bpo: 30176 +.. date: 0060 +.. nonce: VivmCg +.. section: Documentation + +Add missing attribute related constants in curses documentation. + +.. + +.. bpo: 30052 +.. date: 0059 +.. nonce: TpmpaF +.. section: Documentation + +the link targets for :func:`bytes` and :func:`bytearray` are now their +respective type definitions, rather than the corresponding builtin function +entries. Use :ref:`bytes <func-bytes>` and :ref:`bytearray <func-bytearray>` +to reference the latter. + +In order to ensure this and future cross-reference updates are applied +automatically, the daily documentation builds now disable the default output +caching features in Sphinx. + +.. + +.. bpo: 26985 +.. date: 0058 +.. nonce: NB5_9S +.. section: Documentation + +Add missing info of code object in inspect documentation. + +.. + +.. bpo: 19824 +.. date: 0057 +.. nonce: We9an6 +.. section: Documentation + +Improve the documentation for, and links to, template strings by emphasizing +their utility for internationalization, and by clarifying some usage +constraints. (See also: bpo-20314, bpo-12518) + +.. + +.. bpo: 28929 +.. date: 0056 +.. nonce: Md7kb0 +.. section: Documentation + +Link the documentation to its source file on GitHub. + +.. + +.. bpo: 25008 +.. date: 0055 +.. nonce: CeIzyU +.. section: Documentation + +Document smtpd.py as effectively deprecated and add a pointer to aiosmtpd, a +third-party asyncio-based replacement. + +.. + +.. bpo: 26355 +.. date: 0054 +.. nonce: SDq_8Y +.. section: Documentation + +Add canonical header link on each page to corresponding major version of the +documentation. Patch by Matthias Bussonnier. + +.. + +.. bpo: 29349 +.. date: 0053 +.. nonce: PjSo-t +.. section: Documentation + +Fix Python 2 syntax in code for building the documentation. + +.. + +.. bpo: 23722 +.. date: 0052 +.. nonce: nFjY3C +.. section: Documentation + +The data model reference and the porting section in the 3.6 What's New guide +now cover the additional ``__classcell__`` handling needed for custom +metaclasses to fully support PEP 487 and zero-argument ``super()``. + +.. + +.. bpo: 28513 +.. date: 0051 +.. nonce: L3joAz +.. section: Documentation + +Documented command-line interface of zipfile. + +.. + +.. bpo: 29639 +.. date: 2017-09-08-15-59-07 +.. nonce: yIZecp +.. section: Tests + +test.support.HOST is now "localhost", a new HOSTv4 constant has been added +for your ``127.0.0.1`` needs, similar to the existing HOSTv6 constant. + +.. + +.. bpo: 31320 +.. date: 2017-09-05-14-23-35 +.. nonce: JRDHx7 +.. section: Tests + +Silence traceback in test_ssl + +.. + +.. bpo: 31346 +.. date: 2017-09-04-16-21-18 +.. nonce: xni1VR +.. section: Tests + +Prefer PROTOCOL_TLS_CLIENT and PROTOCOL_TLS_SERVER protocols for SSLContext. + +.. + +.. bpo: 25674 +.. date: 2017-09-04-13-03-55 +.. nonce: whVTXh +.. section: Tests + +Remove sha256.tbs-internet.com ssl test + +.. + +.. bpo: 30715 +.. date: 2017-07-25-15-27-44 +.. nonce: Sp7bTF +.. section: Tests + +Address ALPN callback changes for OpenSSL 1.1.0f. The latest version behaves +like OpenSSL 1.0.2 and no longer aborts handshake. + +.. + +.. bpo: 30822 +.. date: 2017-07-20-14-29-54 +.. nonce: X0wREo +.. section: Tests + +regrtest: Exclude tzdata from regrtest --all. When running the test suite +using --use=all / -u all, exclude tzdata since it makes test_datetime too +slow (15-20 min on some buildbots) which then times out on some buildbots. +Fix also regrtest command line parser to allow passing -u extralargefile to +run test_zipfile64. + +.. + +.. bpo: 30695 +.. date: 2017-06-30-11-20-20 +.. nonce: lo7FQX +.. section: Tests + +Add the `set_nomemory(start, stop)` and `remove_mem_hooks()` functions to +the _testcapi module. + +.. + +.. bpo: 30357 +.. date: 0012 +.. nonce: n4CPEa +.. section: Tests + +test_thread: setUp() now uses support.threading_setup() and +support.threading_cleanup() to wait until threads complete to avoid random +side effects on following tests. Initial patch written by Grzegorz Grzywacz. + +.. + +.. bpo: 30197 +.. date: 0011 +.. nonce: c5wRfu +.. section: Tests + +Enhanced functions swap_attr() and swap_item() in the test.support module. +They now work when delete replaced attribute or item inside the with +statement. The old value of the attribute or item (or None if it doesn't +exist) now will be assigned to the target of the "as" clause, if there is +one. + +.. + +.. bpo: 24932 +.. date: 0010 +.. nonce: XLTzvR +.. section: Tests + +Use proper command line parsing in _testembed + +.. + +.. bpo: 28950 +.. date: 0009 +.. nonce: 1W8Glo +.. section: Tests + +Disallow -j0 to be combined with -T/-l in regrtest command line arguments. + +.. + +.. bpo: 28683 +.. date: 0008 +.. nonce: Fp-Hdq +.. section: Tests + +Fix the tests that bind() a unix socket and raise PermissionError on Android +for a non-root user. + +.. + +.. bpo: 26936 +.. date: 0007 +.. nonce: XSZSVS +.. section: Tests + +Fix the test_socket failures on Android - getservbyname(), getservbyport() +and getaddrinfo() are broken on some Android API levels. + +.. + +.. bpo: 28666 +.. date: 0006 +.. nonce: RtTk-4 +.. section: Tests + +Now test.support.rmtree is able to remove unwritable or unreadable +directories. + +.. + +.. bpo: 23839 +.. date: 0005 +.. nonce: zsT_L9 +.. section: Tests + +Various caches now are cleared before running every test file. + +.. + +.. bpo: 26944 +.. date: 0004 +.. nonce: ChZ_BO +.. section: Tests + +Fix test_posix for Android where 'id -G' is entirely wrong or missing the +effective gid. + +.. + +.. bpo: 28409 +.. date: 0003 +.. nonce: Q2IlxJ +.. section: Tests + +regrtest: fix the parser of command line arguments. + +.. + +.. bpo: 28217 +.. date: 0002 +.. nonce: Y37OKV +.. section: Tests + +Adds _testconsole module to test console input. + +.. + +.. bpo: 26939 +.. date: 0001 +.. nonce: 7j_W5R +.. section: Tests + +Add the support.setswitchinterval() function to fix test_functools hanging +on the Android armv7 qemu emulator. + +.. + +.. bpo: 31354 +.. date: 2017-09-08-11-48-11 +.. nonce: 4f-VJK +.. section: Build + +Allow --with-lto to be used on all builds, not just `make profile-opt`. + +.. + +.. bpo: 31370 +.. date: 2017-09-06-23-14-08 +.. nonce: -j4kN4 +.. section: Build + +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. + +.. + +.. bpo: 31341 +.. date: 2017-09-04-14-43-46 +.. nonce: XLuZFk +.. section: Build + +Per PEP 11, support for the IRIX operating system was removed. + +.. + +.. bpo: 30854 +.. date: 2017-07-05-16-54-59 +.. nonce: sPADRI +.. section: Build + +Fix compile error when compiling --without-threads. Patch by Masayuki +Yamamoto. + +.. + +.. bpo: 30687 +.. date: 0050 +.. nonce: 8mqHnu +.. section: Build + +Locate msbuild.exe on Windows when building rather than vcvarsall.bat + +.. + +.. bpo: 20210 +.. date: 0049 +.. nonce: MN_n-r +.. section: Build + +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. + +.. + +.. bpo: 29941 +.. date: 0048 +.. nonce: ylh45A +.. section: Build + +Add ``--with-assertions`` configure flag to explicitly enable C ``assert()`` +checks. Defaults to off. ``--with-pydebug`` implies ``--with-assertions``. + +.. + +.. bpo: 28787 +.. date: 0047 +.. nonce: vhH_6a +.. section: Build + +Fix out-of-tree builds of Python when configured with ``--with--dtrace``. + +.. + +.. bpo: 29243 +.. date: 0046 +.. nonce: WDK4hT +.. section: Build + +Prevent unnecessary rebuilding of Python during ``make test``, ``make +install`` and some other make targets when configured with ``--enable- +optimizations``. + +.. + +.. bpo: 23404 +.. date: 0045 +.. nonce: PdYVWg +.. section: Build + +Don't regenerate generated files based on file modification time anymore: +the action is now explicit. Replace ``make touch`` with ``make regen-all``. + +.. + +.. bpo: 29643 +.. date: 0044 +.. nonce: 4WLIJQ +.. section: Build + +Fix ``--enable-optimization`` didn't work. + +.. + +.. bpo: 27593 +.. date: 0043 +.. nonce: v87xEr +.. section: Build + +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. + +.. + +.. bpo: 29572 +.. date: 0042 +.. nonce: iZ1XKK +.. section: Build + +Update Windows build and OS X installers to use OpenSSL 1.0.2k. + +.. + +.. bpo: 27659 +.. date: 0041 +.. nonce: i8UzRC +.. section: Build + +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. + +.. + +.. bpo: 29384 +.. date: 0040 +.. nonce: v3IqBE +.. section: Build + +Remove old Be OS helper scripts. + +.. + +.. bpo: 26851 +.. date: 0039 +.. nonce: R5243g +.. section: Build + +Set Android compilation and link flags. + +.. + +.. bpo: 28768 +.. date: 0038 +.. nonce: b9_a6E +.. section: Build + +Fix implicit declaration of function _setmode. Patch by Masayuki Yamamoto + +.. + +.. bpo: 29080 +.. date: 0037 +.. nonce: b3qLQT +.. section: Build + +Removes hard dependency on hg.exe from PCBuild/build.bat + +.. + +.. bpo: 23903 +.. date: 0036 +.. nonce: JXJ889 +.. section: Build + +Added missed names to PC/python3.def. + +.. + +.. bpo: 28762 +.. date: 0035 +.. nonce: Ru0YN_ +.. section: Build + +lockf() is available on Android API level 24, but the F_LOCK macro is not +defined in android-ndk-r13. + +.. + +.. bpo: 28538 +.. date: 0034 +.. nonce: FqtN7v +.. section: Build + +Fix the compilation error that occurs because if_nameindex() is available on +Android API level 24, but the if_nameindex structure is not defined. + +.. + +.. bpo: 20211 +.. date: 0033 +.. nonce: gpNptI +.. section: Build + +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. + +.. + +.. bpo: 28849 +.. date: 0032 +.. nonce: AzRRF5 +.. section: Build + +Do not define sys.implementation._multiarch on Android. + +.. + +.. bpo: 10656 +.. date: 0031 +.. nonce: pR8FFU +.. section: Build + +Fix out-of-tree building on AIX. Patch by Tristan Carel and Michael +Haubenwallner. + +.. + +.. bpo: 26359 +.. date: 0030 +.. nonce: CLz6qy +.. section: Build + +Rename --with-optimiations to --enable-optimizations. + +.. + +.. bpo: 28444 +.. date: 0029 +.. nonce: zkc9nT +.. section: Build + +Fix missing extensions modules when cross compiling. + +.. + +.. bpo: 28208 +.. date: 0028 +.. nonce: DtoP1i +.. section: Build + +Update Windows build and OS X installers to use SQLite 3.14.2. + +.. + +.. bpo: 28248 +.. date: 0027 +.. nonce: KY_-en +.. section: Build + +Update Windows build and OS X installers to use OpenSSL 1.0.2j. + +.. + +.. bpo: 21124 +.. date: 0026 +.. nonce: 1bbArU +.. section: Build + +Fix building the _struct module on Cygwin by passing ``NULL`` instead of +``&PyType_Type`` to PyVarObject_HEAD_INIT. Patch by Masayuki Yamamoto. + +.. + +.. bpo: 13756 +.. date: 0025 +.. nonce: sslhpC +.. section: Build + +Fix building extensions modules on Cygwin. Patch by Roumen Petrov, based on +original patch by Jason Tishler. + +.. + +.. bpo: 21085 +.. date: 0024 +.. nonce: 2VvyUF +.. section: Build + +Add configure check for siginfo_t.si_band, which Cygwin does not provide. +Patch by Masayuki Yamamoto with review and rebase by Erik Bray. + +.. + +.. bpo: 28258 +.. date: 0023 +.. nonce: iKtAHd +.. section: Build + +Fixed build with Estonian locale (python-config and distclean targets in +Makefile). Patch by Arfrever Frehtes Taifersar Arahesis. + +.. + +.. bpo: 26661 +.. date: 0022 +.. nonce: Z_HNbs +.. section: Build + +setup.py now detects system libffi with multiarch wrapper. + +.. + +.. bpo: 27979 +.. date: 0021 +.. nonce: fR0KgM +.. section: Build + +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. + +.. + +.. bpo: 15819 +.. date: 0020 +.. nonce: QVDr3E +.. section: Build + +Remove redundant include search directory option for building outside the +source tree. + +.. + +.. bpo: 28676 +.. date: 0019 +.. nonce: Wxf6Ds +.. section: Build + +Prevent missing 'getentropy' declaration warning on macOS. Patch by Gareth +Rees. + +.. + +.. bpo: 31392 +.. date: 2017-09-07-20-09-04 +.. nonce: h92bWF +.. section: Windows + +Update Windows build to use OpenSSL 1.1.0f + +.. + +.. bpo: 30389 +.. date: 2017-09-06-17-14-54 +.. nonce: 9Dizrx +.. section: Windows + +Adds detection of Visual Studio 2017 to distutils on Windows. + +.. + +.. bpo: 31358 +.. date: 2017-09-05-19-46-52 +.. nonce: n1Fjxc +.. section: Windows + +zlib is no longer bundled in the CPython source, instead it is downloaded on +demand just like bz2, lzma, OpenSSL, Tcl/Tk, and SQLite. + +.. + +.. bpo: 31340 +.. date: 2017-09-04-13-19-05 +.. nonce: MbkzLi +.. section: Windows + +Change to building with MSVC v141 (included with Visual Studio 2017) + +.. + +.. bpo: 30581 +.. date: 2017-08-04-10-05-19 +.. nonce: OQhR7l +.. section: Windows + +os.cpu_count() now returns the correct number of processors on Windows when +the number of logical processors is greater than 64. + +.. + +.. bpo: 30916 +.. date: 2017-07-15-00-40-12 +.. nonce: BpCrro +.. section: Windows + +Pre-build OpenSSL, Tcl and Tk and include the binaries in the build. + +.. + +.. bpo: 30731 +.. date: 2017-07-13-11-22-53 +.. nonce: nmMDwI +.. section: Windows + +Add a missing xmlns to python.manifest so that it matches the schema. + +.. + +.. bpo: 30291 +.. date: 2017-06-28-03-20-48 +.. nonce: zBpOl6 +.. section: Windows + +Allow requiring 64-bit interpreters from py.exe using -64 suffix. +Contributed by Steve (Gadget) Barnes. + +.. + +.. bpo: 30362 +.. date: 2017-06-28-03-08-22 +.. nonce: XxeVMB +.. section: Windows + +Adds list options (-0, -0p) to py.exe launcher. Contributed by Steve Barnes. + +.. + +.. bpo: 23451 +.. date: 2017-06-27-07-04-06 +.. nonce: bl_QOB +.. section: Windows + +Fix socket deprecation warnings in socketmodule.c. Patch by Segev Finer. + +.. + +.. bpo: 30450 +.. date: 0088 +.. nonce: qsaK8y +.. section: Windows + +The build process on Windows no longer depends on Subversion, instead +pulling external code from GitHub via a Python script. If Python 3.6 is not +found on the system (via ``py -3.6``), NuGet is used to download a copy of +32-bit Python. + +.. + +.. bpo: 29579 +.. date: 0087 +.. nonce: 07B-FQ +.. section: Windows + +Removes readme.txt from the installer. + +.. + +.. bpo: 25778 +.. date: 0086 +.. nonce: 8uKJ82 +.. section: Windows + +winreg does not truncate string correctly (Patch by Eryk Sun) + +.. + +.. bpo: 28896 +.. date: 0085 +.. nonce: qOcBBL +.. section: Windows + +Deprecate WindowsRegistryFinder and disable it by default + +.. + +.. bpo: 28522 +.. date: 0084 +.. nonce: XHMQa7 +.. section: Windows + +Fixes mishandled buffer reallocation in getpathp.c + +.. + +.. bpo: 28402 +.. date: 0083 +.. nonce: v9zETJ +.. section: Windows + +Adds signed catalog files for stdlib on Windows. + +.. + +.. bpo: 28333 +.. date: 0082 +.. nonce: KnpeO4 +.. section: Windows + +Enables Unicode for ps1/ps2 and input() prompts. (Patch by Eryk Sun) + +.. + +.. bpo: 28251 +.. date: 0081 +.. nonce: tR_AFs +.. section: Windows + +Improvements to help manuals on Windows. + +.. + +.. bpo: 28110 +.. date: 0080 +.. nonce: cnkP5F +.. section: Windows + +launcher.msi has different product codes between 32-bit and 64-bit + +.. + +.. bpo: 28161 +.. date: 0079 +.. nonce: hF91LI +.. section: Windows + +Opening CON for write access fails + +.. + +.. bpo: 28162 +.. date: 0078 +.. nonce: 3FHPVD +.. section: Windows + +WindowsConsoleIO readall() fails if first line starts with Ctrl+Z + +.. + +.. bpo: 28163 +.. date: 0077 +.. nonce: -DUgJw +.. section: Windows + +WindowsConsoleIO fileno() passes wrong flags to _open_osfhandle + +.. + +.. bpo: 28164 +.. date: 0076 +.. nonce: 5MfN0J +.. section: Windows + +_PyIO_get_console_type fails for various paths + +.. + +.. bpo: 28137 +.. date: 0075 +.. nonce: C1uvzY +.. section: Windows + +Renames Windows path file to ._pth + +.. + +.. bpo: 28138 +.. date: 0074 +.. nonce: pNdv64 +.. section: Windows + +Windows ._pth file should allow import site + +.. + +.. bpo: 31493 +.. date: 2017-09-16-23-43-39 +.. nonce: nmHMCR +.. section: IDLE + +IDLE code context -- fix code update and font update timers. + +Canceling timers prevents a warning message when test_idle completes. + +.. + +.. bpo: 31488 +.. date: 2017-09-16-01-21-20 +.. nonce: 0rtXIT +.. section: IDLE + +IDLE - Update non-key options in former extension classes. When applying +configdialog changes, call .reload for each feature class. Change ParenMatch +so updated options affect existing instances attached to existing editor +windows. + +.. + +.. bpo: 31477 +.. date: 2017-09-15-12-38-47 +.. nonce: n__6sa +.. section: IDLE + +IDLE - Improve rstrip entry in doc. Strip trailing whitespace strips more +than blank spaces. Multiline string literals are not skipped. + +.. + +.. bpo: 31480 +.. date: 2017-09-14-17-53-53 +.. nonce: 4WJ0pl +.. section: IDLE + +IDLE - make tests pass with zzdummy extension disabled by default. + +.. + +.. bpo: 31421 +.. date: 2017-09-12-08-38-27 +.. nonce: mYfQNq +.. section: IDLE + +Document how IDLE runs tkinter programs. IDLE calls tcl/tk update in the +background in order to make live + +interaction and experimentatin with tkinter applications much easier. + +.. + +.. bpo: 31414 +.. date: 2017-09-11-15-46-05 +.. nonce: wiepgK +.. section: IDLE + +IDLE -- fix tk entry box tests by deleting first. Adding to an int entry is +not the same as deleting and inserting because int('') will fail. + +.. + +.. bpo: 31051 +.. date: 2017-08-30-00-06-58 +.. nonce: 50Jp_Q +.. section: IDLE + +Rearrange IDLE condigdialog GenPage into Window, Editor, and Help sections. + +.. + +.. bpo: 30617 +.. date: 2017-08-27-16-49-36 +.. nonce: UHnswr +.. section: IDLE + +IDLE - Add docstrings and tests for outwin subclass of editor. + +Move some data and functions from the class to module level. Patch by Cheryl +Sabella. + +.. + +.. bpo: 31287 +.. date: 2017-08-27-15-31-33 +.. nonce: aZERfI +.. section: IDLE + +IDLE - Do not modify tkinter.message in test_configdialog. + +.. + +.. bpo: 27099 +.. date: 2017-08-24-13-48-16 +.. nonce: rENefC +.. section: IDLE + +Convert IDLE's built-in 'extensions' to regular features. + +About 10 IDLE features were implemented as supposedly optional extensions. +Their different behavior could be confusing or worse for users and not good +for maintenance. Hence the conversion. + +The main difference for users is that user configurable key bindings for +builtin features are now handled uniformly. Now, editing a binding in a +keyset only affects its value in the keyset. All bindings are defined +together in the system-specific default keysets in config- extensions.def. +All custom keysets are saved as a whole in config- extension.cfg. All take +effect as soon as one clicks Apply or Ok. + +The affected events are '<<force-open-completions>>', '<<expand-word>>', +'<<force-open-calltip>>', '<<flash-paren>>', '<<format-paragraph>>', '<<run- +module>>', '<<check-module>>', and '<<zoom-height>>'. Any (global) +customizations made before 3.6.3 will not affect their keyset- specific +customization after 3.6.3. and vice versa. + +Inital patch by Charles Wohlganger. + +.. + +.. bpo: 31206 +.. date: 2017-08-18-14-13-42 +.. nonce: F1-tKK +.. section: IDLE + +IDLE: Factor HighPage(Frame) class from ConfigDialog. Patch by Cheryl +Sabella. + +.. + +.. bpo: 31001 +.. date: 2017-08-17-15-00-20 +.. nonce: KLxYHC +.. section: IDLE + +Add tests for configdialog highlight tab. Patch by Cheryl Sabella. + +.. + +.. bpo: 31205 +.. date: 2017-08-15-12-58-23 +.. nonce: iuziZ5 +.. section: IDLE + +IDLE: Factor KeysPage(Frame) class from ConfigDialog. The slightly modified +tests continue to pass. Patch by Cheryl Sabella. + +.. + +.. bpo: 31130 +.. date: 2017-08-07-14-02-56 +.. nonce: FbsC7f +.. section: IDLE + +IDLE -- stop leaks in test_configdialog. Initial patch by Victor Stinner. + +.. + +.. bpo: 31002 +.. date: 2017-08-03-17-54-02 +.. nonce: kUSgTE +.. section: IDLE + +Add tests for configdialog keys tab. Patch by Cheryl Sabella. + +.. + +.. bpo: 19903 +.. date: 2017-08-03-14-08-42 +.. nonce: sqE1FS +.. section: IDLE + +IDLE: Calltips use `inspect.signature` instead of `inspect.getfullargspec`. +This improves calltips for builtins converted to use Argument Clinic. Patch +by Louie Lu. + +.. + +.. bpo: 31083 +.. date: 2017-07-31-23-20-51 +.. nonce: 991FXm +.. section: IDLE + +IDLE - Add an outline of a TabPage class in configdialog. Update existing +classes to match outline. Initial patch by Cheryl Sabella. + +.. + +.. bpo: 31050 +.. date: 2017-07-30-17-39-59 +.. nonce: AXR3kP +.. section: IDLE + +Factor GenPage(Frame) class from ConfigDialog. The slightly modified tests +continue to pass. Patch by Cheryl Sabella. + +.. + +.. bpo: 31004 +.. date: 2017-07-30-01-00-58 +.. nonce: m8cc1t +.. section: IDLE + +IDLE - Factor FontPage(Frame) class from ConfigDialog. + +Slightly modified tests continue to pass. Fix General tests. Patch mostly by +Cheryl Sabella. + +.. + +.. bpo: 30781 +.. date: 2017-07-28-18-59-06 +.. nonce: ud5m18 +.. section: IDLE + +IDLE - Use ttk widgets in ConfigDialog. Patches by Terry Jan Reedy and +Cheryl Sabella. + +.. + +.. bpo: 31060 +.. date: 2017-07-27-14-48-42 +.. nonce: GdY_VY +.. section: IDLE + +IDLE - Finish rearranging methods of ConfigDialog Grouping methods +pertaining to each tab and the buttons will aid writing tests and improving +the tabs and will enable splitting the groups into classes. + +.. + +.. bpo: 30853 +.. date: 2017-07-27-10-01-14 +.. nonce: enPvvc +.. section: IDLE + +IDLE -- Factor a VarTrace class out of ConfigDialog. + +Instance tracers manages pairs consisting of a tk variable and a callback +function. When tracing is turned on, setting the variable calls the +function. Test coverage for the new class is 100%. + +.. + +.. bpo: 31003 +.. date: 2017-07-25-01-28-35 +.. nonce: bYINVH +.. section: IDLE + +IDLE: Add more tests for General tab. + +.. + +.. bpo: 30993 +.. date: 2017-07-22-18-08-41 +.. nonce: 34vJkB +.. section: IDLE + +IDLE - Improve configdialog font page and tests. + +In configdialog: Document causal pathways in create_font_tab docstring. +Simplify some attribute names. Move set_samples calls to var_changed_font +(idea from Cheryl Sabella). Move related functions to positions after the +create widgets function. + +In test_configdialog: Fix test_font_set so not order dependent. Fix renamed +test_indent_scale so it tests the widget. Adjust tests for movement of +set_samples call. Add tests for load functions. Put all font tests in one +class and tab indent tests in another. Except for two lines, these tests +completely cover the related functions. + +.. + +.. bpo: 30981 +.. date: 2017-07-21-01-55-14 +.. nonce: ZFvQPt +.. section: IDLE + +IDLE -- Add more configdialog font page tests. + +.. + +.. bpo: 28523 +.. date: 2017-07-21-00-54-52 +.. nonce: OPcqYJ +.. section: IDLE + +IDLE: replace 'colour' with 'color' in configdialog. + +.. + +.. bpo: 30917 +.. date: 2017-07-17-23-35-57 +.. nonce: hSiuuO +.. section: IDLE + +Add tests for idlelib.config.IdleConf. Increase coverage from 46% to 96%. +Patch by Louie Lu. + +.. + +.. bpo: 30934 +.. date: 2017-07-15-22-26-57 +.. nonce: BanuSB +.. section: IDLE + +Document coverage details for idlelib tests. + +* Add section to idlelib/idle-test/README.txt. + +* Include check that branches are taken both ways. + +* Exclude IDLE-specific code that does not run during unit tests. + +.. + +.. bpo: 30913 +.. date: 2017-07-13-23-07-33 +.. nonce: aezn_e +.. section: IDLE + +IDLE: Document ConfigDialog tk Vars, methods, and widgets in docstrings This +will facilitate improving the dialog and splitting up the class. Original +patch by Cheryl Sabella. + +.. + +.. bpo: 30899 +.. date: 2017-07-11-02-26-17 +.. nonce: SQmVO8 +.. section: IDLE + +IDLE: Add tests for ConfigParser subclasses in config. Patch by Louie Lu. + +.. + +.. bpo: 30881 +.. date: 2017-07-11-02-21-42 +.. nonce: 4KAq_9 +.. section: IDLE + +IDLE: Add docstrings to browser.py. Patch by Cheryl Sabella. + +.. + +.. bpo: 30851 +.. date: 2017-07-09-23-53-00 +.. nonce: AHXBYa +.. section: IDLE + +IDLE: Remove unused variables in configdialog. One is a duplicate, one is +set but cannot be altered by users. Patch by Cheryl Sabella. + +.. + +.. bpo: 30870 +.. date: 2017-07-08-17-57-04 +.. nonce: IcR2pf +.. section: IDLE + +IDLE: In Settings dialog, select font with Up, Down keys as well as mouse. +Initial patch by Louie Lu. + +.. + +.. bpo: 8231 +.. date: 2017-07-07-21-10-55 +.. nonce: yEge3L +.. section: IDLE + +IDLE: call config.IdleConf.GetUserCfgDir only once. + +.. + +.. bpo: 30779 +.. date: 2017-07-07-20-26-37 +.. nonce: 8KXEXN +.. section: IDLE + +IDLE: Factor ConfigChanges class from configdialog, put in config; test. * +In config, put dump test code in a function; run it and unittest in 'if +__name__ == '__main__'. * Add class config.ConfigChanges based on +changes_class_v4.py on bpo issue. * Add class test_config.ChangesTest, +partly using configdialog_tests_v1.py. * Revise configdialog to use +ConfigChanges; see tracker msg297804. * Revise test_configdialog to match +configdialog changes. * Remove configdialog functions unused or moved to +ConfigChanges. Cheryl Sabella contributed parts of the patch. + +.. + +.. bpo: 30777 +.. date: 2017-07-04-22-45-46 +.. nonce: uxzlMB +.. section: IDLE + +IDLE: configdialog - Add docstrings and fix comments. Patch by Cheryl +Sabella. + +.. + +.. bpo: 30495 +.. date: 2017-06-29-18-23-06 +.. nonce: qIWgc4 +.. section: IDLE + +IDLE: Improve textview with docstrings, PEP8 names, and more tests. Patch by +Cheryl Sabella. + +.. + +.. bpo: 30723 +.. date: 2017-06-27-19-05-40 +.. nonce: rQh06y +.. section: IDLE + +IDLE: Make several improvements to parenmatch. Add 'parens' style to +highlight both opener and closer. Make 'default' style, which is not +default, a synonym for 'opener'. Make time-delay work the same with all +styles. Add help for config dialog extensions tab, including help for +parenmatch. Add new tests. Original patch by Charles Wohlganger. + +.. + +.. bpo: 30674 +.. date: 2017-06-27-01-40-34 +.. nonce: ppK_q8 +.. section: IDLE + +IDLE: add docstrings to grep module. Patch by Cheryl Sabella + +.. + +.. bpo: 21519 +.. date: 2017-06-27-00-29-56 +.. nonce: fTj9T0 +.. section: IDLE + +IDLE's basic custom key entry dialog now detects duplicates properly. +Original patch by Saimadhav Heblikar. + +.. + +.. bpo: 29910 +.. date: 2017-06-26-22-45-27 +.. nonce: mqHh7u +.. section: IDLE + +IDLE no longer deletes a character after commenting out a region by a key +shortcut. Add ``return 'break'`` for this and other potential conflicts +between IDLE and default key bindings. + +.. + +.. bpo: 30728 +.. date: 2017-06-26-15-47-13 +.. nonce: qH4TGL +.. section: IDLE + +Review and change idlelib.configdialog names. Lowercase method and attribute +names. Replace 'colour' with 'color', expand overly cryptic names, delete +unneeded underscores. Replace ``import *`` with specific imports. Patches by +Cheryl Sabella. + +.. + +.. bpo: 6739 +.. date: 2017-06-26-00-28-59 +.. nonce: x5MfhB +.. section: IDLE + +IDLE: Verify user-entered key sequences by trying to bind them with tk. Add +tests for all 3 validation functions. Original patch by G Polo. Tests added +by Cheryl Sabella. + +.. + +.. bpo: 15786 +.. date: 0096 +.. nonce: _XRbaR +.. section: IDLE + +Fix several problems with IDLE's autocompletion box. The following should +now work: clicking on selection box items; using the scrollbar; selecting an +item by hitting Return. Hangs on MacOSX should no longer happen. Patch by +Louie Lu. + +.. + +.. bpo: 25514 +.. date: 0095 +.. nonce: 882pXa +.. section: IDLE + +Add doc subsubsection about IDLE failure to start. Popup no-connection +message directs users to this section. + +.. + +.. bpo: 30642 +.. date: 0094 +.. nonce: 3Zujzt +.. section: IDLE + +Fix reference leaks in IDLE tests. Patches by Louie Lu and Terry Jan Reedy. + +.. + +.. bpo: 30495 +.. date: 0093 +.. nonce: I3i5vL +.. section: IDLE + +Add docstrings for textview.py and use PEP8 names. Patches by Cheryl Sabella +and Terry Jan Reedy. + +.. + +.. bpo: 30290 +.. date: 0092 +.. nonce: fZ3kod +.. section: IDLE + +Help-about: use pep8 names and add tests. Increase coverage to 100%. Patches +by Louie Lu, Cheryl Sabella, and Terry Jan Reedy. + +.. + +.. bpo: 30303 +.. date: 0091 +.. nonce: 2L2F-4 +.. section: IDLE + +Add _utest option to textview; add new tests. Increase coverage to 100%. +Patches by Louie Lu and Terry Jan Reedy. + +.. + +.. bpo: 29071 +.. date: 0090 +.. nonce: FCOpJn +.. section: IDLE + +IDLE colors f-string prefixes (but not invalid ur prefixes). + +.. + +.. bpo: 28572 +.. date: 0089 +.. nonce: 1_duKY +.. section: IDLE + +Add 10% to coverage of IDLE's test_configdialog. Update and augment +description of the configuration system. + +.. + +.. bpo: 30983 +.. date: 2017-08-18-17-19-23 +.. nonce: ggGz9z +.. section: Tools/Demos + +gdb integration commands (py-bt, etc.) work on optimized shared builds now, +too. PEP 523 introduced _PyEval_EvalFrameDefault which inlines +PyEval_EvalFrameEx on non-debug shared builds. This broke the ability to +use py-bt, py-up, and a few other Python-specific gdb integrations. The +problem is fixed by only looking for _PyEval_EvalFrameDefault frames in +python-gdb.py. Original patch by Bruno "Polaco" Penteado. + +.. + +.. bpo: 29748 +.. date: 0018 +.. nonce: 6pV6s9 +.. section: Tools/Demos + +Added the slice index converter in Argument Clinic. + +.. + +.. bpo: 24037 +.. date: 0017 +.. nonce: KPFC7o +.. section: Tools/Demos + +Argument Clinic now uses the converter `bool(accept={int})` rather than +`int` for semantical booleans. This avoids repeating the default value for +Python and C and will help in converting to `bool` in future. + +.. + +.. bpo: 29367 +.. date: 0016 +.. nonce: 4dOKL0 +.. section: Tools/Demos + +python-gdb.py now supports also ``method-wrapper`` (``wrapperobject``) +objects. + +.. + +.. bpo: 28023 +.. date: 0015 +.. nonce: 4gzSGp +.. section: Tools/Demos + +Fix python-gdb.py didn't support new dict implementation. + +.. + +.. bpo: 15369 +.. date: 0014 +.. nonce: bdZ3n- +.. section: Tools/Demos + +The pybench and pystone microbenchmark have been removed from Tools. Please +use the new Python benchmark suite https://github.com/python/performance +which is more reliable and includes a portable version of pybench working on +Python 2 and Python 3. + +.. + +.. bpo: 28102 +.. date: 0013 +.. nonce: 5fKaek +.. section: Tools/Demos + +The zipfile module CLI now prints usage to stderr. Patch by Stephen J. +Turnbull. + +.. + +.. bpo: 31338 +.. date: 2017-09-05-17-51-12 +.. nonce: LjA43Y +.. section: C API + +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. + +.. + +.. bpo: 30832 +.. date: 2017-07-03-17-25-40 +.. nonce: PcTAEP +.. section: C API + +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. + +.. + +.. bpo: 30708 +.. date: 0073 +.. nonce: np-l1j +.. section: C API + +PyUnicode_AsWideCharString() now raises a ValueError if the second argument +is NULL and the wchar_t\* string contains null characters. + +.. + +.. bpo: 16500 +.. date: 0072 +.. nonce: lRpooa +.. section: C API + +Deprecate PyOS_AfterFork() and add PyOS_BeforeFork(), +PyOS_AfterFork_Parent() and PyOS_AfterFork_Child(). + +.. + +.. bpo: 6532 +.. date: 0071 +.. nonce: qcH6k1 +.. section: C API + +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". + +.. + +.. bpo: 27867 +.. date: 0070 +.. nonce: J-8CGo +.. section: C API + +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(). + +.. + +.. bpo: 29083 +.. date: 0069 +.. nonce: tGTjr_ +.. section: C API + +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. + +.. + +.. bpo: 28769 +.. date: 0068 +.. nonce: Ecmtn8 +.. section: C API + +The result of PyUnicode_AsUTF8AndSize() and PyUnicode_AsUTF8() is now of +type ``const char *`` rather of ``char *``. + +.. + +.. bpo: 29058 +.. date: 0067 +.. nonce: 0wNVP8 +.. section: C API + +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. + +.. + +.. bpo: 28822 +.. date: 0066 +.. nonce: gMqwvb +.. section: C API + +The index parameters *start* and *end* of PyUnicode_FindChar() are now +adjusted to behave like ``str[start:end]``. + +.. + +.. bpo: 28808 +.. date: 0065 +.. nonce: A03X6r +.. section: C API + +PyUnicode_CompareWithASCIIString() now never raises exceptions. + +.. + +.. bpo: 28761 +.. date: 0064 +.. nonce: iOgCoX +.. section: C API + +The fields name and doc of structures PyMemberDef, PyGetSetDef, +PyStructSequence_Field, PyStructSequence_Desc, and wrapperbase are now of +type ``const char *`` rather of ``char *``. + +.. + +.. bpo: 28748 +.. date: 0063 +.. nonce: AMgb_G +.. section: C API + +Private variable _Py_PackageContext is now of type ``const char *`` rather +of ``char *``. + +.. + +.. bpo: 19569 +.. date: 0062 +.. nonce: IPke0J +.. section: C API + +Compiler warnings are now emitted if use most of deprecated functions. + +.. + +.. bpo: 28426 +.. date: 0061 +.. nonce: zPwvbI +.. section: C API + +Deprecated undocumented functions PyUnicode_AsEncodedObject(), +PyUnicode_AsDecodedObject(), PyUnicode_AsDecodedUnicode() and +PyUnicode_AsEncodedUnicode(). diff --git a/Misc/NEWS.d/next/Build/0019.bpo-28676.Wxf6Ds.rst b/Misc/NEWS.d/next/Build/0019.bpo-28676.Wxf6Ds.rst deleted file mode 100644 index 89dcfc79aa..0000000000 --- a/Misc/NEWS.d/next/Build/0019.bpo-28676.Wxf6Ds.rst +++ /dev/null @@ -1,2 +0,0 @@ -Prevent missing 'getentropy' declaration warning on macOS. Patch by Gareth -Rees. diff --git a/Misc/NEWS.d/next/Build/0020.bpo-15819.QVDr3E.rst b/Misc/NEWS.d/next/Build/0020.bpo-15819.QVDr3E.rst deleted file mode 100644 index b5fdd6c8b6..0000000000 --- a/Misc/NEWS.d/next/Build/0020.bpo-15819.QVDr3E.rst +++ /dev/null @@ -1,2 +0,0 @@ -Remove redundant include search directory option for building outside the -source tree. diff --git a/Misc/NEWS.d/next/Build/0021.bpo-27979.fR0KgM.rst b/Misc/NEWS.d/next/Build/0021.bpo-27979.fR0KgM.rst deleted file mode 100644 index 305fea8932..0000000000 --- a/Misc/NEWS.d/next/Build/0021.bpo-27979.fR0KgM.rst +++ /dev/null @@ -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. diff --git a/Misc/NEWS.d/next/Build/0022.bpo-26661.Z_HNbs.rst b/Misc/NEWS.d/next/Build/0022.bpo-26661.Z_HNbs.rst deleted file mode 100644 index af6057ab78..0000000000 --- a/Misc/NEWS.d/next/Build/0022.bpo-26661.Z_HNbs.rst +++ /dev/null @@ -1 +0,0 @@ -setup.py now detects system libffi with multiarch wrapper. diff --git a/Misc/NEWS.d/next/Build/0023.bpo-28258.iKtAHd.rst b/Misc/NEWS.d/next/Build/0023.bpo-28258.iKtAHd.rst deleted file mode 100644 index b53e9479e5..0000000000 --- a/Misc/NEWS.d/next/Build/0023.bpo-28258.iKtAHd.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fixed build with Estonian locale (python-config and distclean targets in -Makefile). Patch by Arfrever Frehtes Taifersar Arahesis. diff --git a/Misc/NEWS.d/next/Build/0024.bpo-21085.2VvyUF.rst b/Misc/NEWS.d/next/Build/0024.bpo-21085.2VvyUF.rst deleted file mode 100644 index f470ccdea6..0000000000 --- a/Misc/NEWS.d/next/Build/0024.bpo-21085.2VvyUF.rst +++ /dev/null @@ -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. diff --git a/Misc/NEWS.d/next/Build/0025.bpo-13756.sslhpC.rst b/Misc/NEWS.d/next/Build/0025.bpo-13756.sslhpC.rst deleted file mode 100644 index b898c922d2..0000000000 --- a/Misc/NEWS.d/next/Build/0025.bpo-13756.sslhpC.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix building extensions modules on Cygwin. Patch by Roumen Petrov, based on -original patch by Jason Tishler. diff --git a/Misc/NEWS.d/next/Build/0026.bpo-21124.1bbArU.rst b/Misc/NEWS.d/next/Build/0026.bpo-21124.1bbArU.rst deleted file mode 100644 index 85743127a2..0000000000 --- a/Misc/NEWS.d/next/Build/0026.bpo-21124.1bbArU.rst +++ /dev/null @@ -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. diff --git a/Misc/NEWS.d/next/Build/0027.bpo-28248.KY_-en.rst b/Misc/NEWS.d/next/Build/0027.bpo-28248.KY_-en.rst deleted file mode 100644 index 18d3693052..0000000000 --- a/Misc/NEWS.d/next/Build/0027.bpo-28248.KY_-en.rst +++ /dev/null @@ -1 +0,0 @@ -Update Windows build and OS X installers to use OpenSSL 1.0.2j. diff --git a/Misc/NEWS.d/next/Build/0028.bpo-28208.DtoP1i.rst b/Misc/NEWS.d/next/Build/0028.bpo-28208.DtoP1i.rst deleted file mode 100644 index 2deaf02c6d..0000000000 --- a/Misc/NEWS.d/next/Build/0028.bpo-28208.DtoP1i.rst +++ /dev/null @@ -1 +0,0 @@ -Update Windows build and OS X installers to use SQLite 3.14.2. diff --git a/Misc/NEWS.d/next/Build/0029.bpo-28444.zkc9nT.rst b/Misc/NEWS.d/next/Build/0029.bpo-28444.zkc9nT.rst deleted file mode 100644 index 1df68241ca..0000000000 --- a/Misc/NEWS.d/next/Build/0029.bpo-28444.zkc9nT.rst +++ /dev/null @@ -1 +0,0 @@ -Fix missing extensions modules when cross compiling. diff --git a/Misc/NEWS.d/next/Build/0030.bpo-26359.CLz6qy.rst b/Misc/NEWS.d/next/Build/0030.bpo-26359.CLz6qy.rst deleted file mode 100644 index 581ddaf48c..0000000000 --- a/Misc/NEWS.d/next/Build/0030.bpo-26359.CLz6qy.rst +++ /dev/null @@ -1 +0,0 @@ -Rename --with-optimiations to --enable-optimizations. diff --git a/Misc/NEWS.d/next/Build/0031.bpo-10656.pR8FFU.rst b/Misc/NEWS.d/next/Build/0031.bpo-10656.pR8FFU.rst deleted file mode 100644 index 62cc5469b0..0000000000 --- a/Misc/NEWS.d/next/Build/0031.bpo-10656.pR8FFU.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix out-of-tree building on AIX. Patch by Tristan Carel and Michael -Haubenwallner. diff --git a/Misc/NEWS.d/next/Build/0032.bpo-28849.AzRRF5.rst b/Misc/NEWS.d/next/Build/0032.bpo-28849.AzRRF5.rst deleted file mode 100644 index 9aac0219ed..0000000000 --- a/Misc/NEWS.d/next/Build/0032.bpo-28849.AzRRF5.rst +++ /dev/null @@ -1 +0,0 @@ -Do not define sys.implementation._multiarch on Android. diff --git a/Misc/NEWS.d/next/Build/0033.bpo-20211.gpNptI.rst b/Misc/NEWS.d/next/Build/0033.bpo-20211.gpNptI.rst deleted file mode 100644 index 8bbea8d6a8..0000000000 --- a/Misc/NEWS.d/next/Build/0033.bpo-20211.gpNptI.rst +++ /dev/null @@ -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. diff --git a/Misc/NEWS.d/next/Build/0034.bpo-28538.FqtN7v.rst b/Misc/NEWS.d/next/Build/0034.bpo-28538.FqtN7v.rst deleted file mode 100644 index ddaf34a5c7..0000000000 --- a/Misc/NEWS.d/next/Build/0034.bpo-28538.FqtN7v.rst +++ /dev/null @@ -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. diff --git a/Misc/NEWS.d/next/Build/0035.bpo-28762.Ru0YN_.rst b/Misc/NEWS.d/next/Build/0035.bpo-28762.Ru0YN_.rst deleted file mode 100644 index 0bfb77e442..0000000000 --- a/Misc/NEWS.d/next/Build/0035.bpo-28762.Ru0YN_.rst +++ /dev/null @@ -1,2 +0,0 @@ -lockf() is available on Android API level 24, but the F_LOCK macro is not -defined in android-ndk-r13. diff --git a/Misc/NEWS.d/next/Build/0036.bpo-23903.JXJ889.rst b/Misc/NEWS.d/next/Build/0036.bpo-23903.JXJ889.rst deleted file mode 100644 index 39ff22212a..0000000000 --- a/Misc/NEWS.d/next/Build/0036.bpo-23903.JXJ889.rst +++ /dev/null @@ -1 +0,0 @@ -Added missed names to PC/python3.def. diff --git a/Misc/NEWS.d/next/Build/0037.bpo-29080.b3qLQT.rst b/Misc/NEWS.d/next/Build/0037.bpo-29080.b3qLQT.rst deleted file mode 100644 index 3a4b7bf4e1..0000000000 --- a/Misc/NEWS.d/next/Build/0037.bpo-29080.b3qLQT.rst +++ /dev/null @@ -1 +0,0 @@ -Removes hard dependency on hg.exe from PCBuild/build.bat diff --git a/Misc/NEWS.d/next/Build/0038.bpo-28768.b9_a6E.rst b/Misc/NEWS.d/next/Build/0038.bpo-28768.b9_a6E.rst deleted file mode 100644 index 702e14e1a9..0000000000 --- a/Misc/NEWS.d/next/Build/0038.bpo-28768.b9_a6E.rst +++ /dev/null @@ -1 +0,0 @@ -Fix implicit declaration of function _setmode. Patch by Masayuki Yamamoto diff --git a/Misc/NEWS.d/next/Build/0039.bpo-26851.R5243g.rst b/Misc/NEWS.d/next/Build/0039.bpo-26851.R5243g.rst deleted file mode 100644 index 1b34a703d3..0000000000 --- a/Misc/NEWS.d/next/Build/0039.bpo-26851.R5243g.rst +++ /dev/null @@ -1 +0,0 @@ -Set Android compilation and link flags. diff --git a/Misc/NEWS.d/next/Build/0040.bpo-29384.v3IqBE.rst b/Misc/NEWS.d/next/Build/0040.bpo-29384.v3IqBE.rst deleted file mode 100644 index ccd28085fc..0000000000 --- a/Misc/NEWS.d/next/Build/0040.bpo-29384.v3IqBE.rst +++ /dev/null @@ -1 +0,0 @@ -Remove old Be OS helper scripts. diff --git a/Misc/NEWS.d/next/Build/0041.bpo-27659.i8UzRC.rst b/Misc/NEWS.d/next/Build/0041.bpo-27659.i8UzRC.rst deleted file mode 100644 index d720659286..0000000000 --- a/Misc/NEWS.d/next/Build/0041.bpo-27659.i8UzRC.rst +++ /dev/null @@ -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. diff --git a/Misc/NEWS.d/next/Build/0042.bpo-29572.iZ1XKK.rst b/Misc/NEWS.d/next/Build/0042.bpo-29572.iZ1XKK.rst deleted file mode 100644 index 9bf71f90d8..0000000000 --- a/Misc/NEWS.d/next/Build/0042.bpo-29572.iZ1XKK.rst +++ /dev/null @@ -1 +0,0 @@ -Update Windows build and OS X installers to use OpenSSL 1.0.2k. diff --git a/Misc/NEWS.d/next/Build/0043.bpo-27593.v87xEr.rst b/Misc/NEWS.d/next/Build/0043.bpo-27593.v87xEr.rst deleted file mode 100644 index 5b345e67a8..0000000000 --- a/Misc/NEWS.d/next/Build/0043.bpo-27593.v87xEr.rst +++ /dev/null @@ -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. diff --git a/Misc/NEWS.d/next/Build/0044.bpo-29643.4WLIJQ.rst b/Misc/NEWS.d/next/Build/0044.bpo-29643.4WLIJQ.rst deleted file mode 100644 index 65b958ffef..0000000000 --- a/Misc/NEWS.d/next/Build/0044.bpo-29643.4WLIJQ.rst +++ /dev/null @@ -1 +0,0 @@ -Fix ``--enable-optimization`` didn't work. diff --git a/Misc/NEWS.d/next/Build/0045.bpo-23404.PdYVWg.rst b/Misc/NEWS.d/next/Build/0045.bpo-23404.PdYVWg.rst deleted file mode 100644 index 0addfd094f..0000000000 --- a/Misc/NEWS.d/next/Build/0045.bpo-23404.PdYVWg.rst +++ /dev/null @@ -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``. diff --git a/Misc/NEWS.d/next/Build/0046.bpo-29243.WDK4hT.rst b/Misc/NEWS.d/next/Build/0046.bpo-29243.WDK4hT.rst deleted file mode 100644 index 378e49f67b..0000000000 --- a/Misc/NEWS.d/next/Build/0046.bpo-29243.WDK4hT.rst +++ /dev/null @@ -1,3 +0,0 @@ -Prevent unnecessary rebuilding of Python during ``make test``, ``make -install`` and some other make targets when configured with ``--enable- -optimizations``. diff --git a/Misc/NEWS.d/next/Build/0047.bpo-28787.vhH_6a.rst b/Misc/NEWS.d/next/Build/0047.bpo-28787.vhH_6a.rst deleted file mode 100644 index 13ff8372e5..0000000000 --- a/Misc/NEWS.d/next/Build/0047.bpo-28787.vhH_6a.rst +++ /dev/null @@ -1 +0,0 @@ -Fix out-of-tree builds of Python when configured with ``--with--dtrace``. diff --git a/Misc/NEWS.d/next/Build/0048.bpo-29941.ylh45A.rst b/Misc/NEWS.d/next/Build/0048.bpo-29941.ylh45A.rst deleted file mode 100644 index d36c9c0c8c..0000000000 --- a/Misc/NEWS.d/next/Build/0048.bpo-29941.ylh45A.rst +++ /dev/null @@ -1,2 +0,0 @@ -Add ``--with-assertions`` configure flag to explicitly enable C ``assert()`` -checks. Defaults to off. ``--with-pydebug`` implies ``--with-assertions``. diff --git a/Misc/NEWS.d/next/Build/0049.bpo-20210.MN_n-r.rst b/Misc/NEWS.d/next/Build/0049.bpo-20210.MN_n-r.rst deleted file mode 100644 index 3eb76d7764..0000000000 --- a/Misc/NEWS.d/next/Build/0049.bpo-20210.MN_n-r.rst +++ /dev/null @@ -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. diff --git a/Misc/NEWS.d/next/Build/0050.bpo-30687.8mqHnu.rst b/Misc/NEWS.d/next/Build/0050.bpo-30687.8mqHnu.rst deleted file mode 100644 index 9f37c075b8..0000000000 --- a/Misc/NEWS.d/next/Build/0050.bpo-30687.8mqHnu.rst +++ /dev/null @@ -1 +0,0 @@ -Locate msbuild.exe on Windows when building rather than vcvarsall.bat diff --git a/Misc/NEWS.d/next/Build/2017-07-05-16-54-59.bpo-30854.sPADRI.rst b/Misc/NEWS.d/next/Build/2017-07-05-16-54-59.bpo-30854.sPADRI.rst deleted file mode 100644 index f75aea420a..0000000000 --- a/Misc/NEWS.d/next/Build/2017-07-05-16-54-59.bpo-30854.sPADRI.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix compile error when compiling --without-threads. -Patch by Masayuki Yamamoto. diff --git a/Misc/NEWS.d/next/Build/2017-09-04-14-43-46.bpo-31341.XLuZFk.rst b/Misc/NEWS.d/next/Build/2017-09-04-14-43-46.bpo-31341.XLuZFk.rst deleted file mode 100644 index 1429d8b0e7..0000000000 --- a/Misc/NEWS.d/next/Build/2017-09-04-14-43-46.bpo-31341.XLuZFk.rst +++ /dev/null @@ -1 +0,0 @@ -Per PEP 11, support for the IRIX operating system was removed. diff --git a/Misc/NEWS.d/next/Build/2017-09-06-23-14-08.bpo-31370.-j4kN4.rst b/Misc/NEWS.d/next/Build/2017-09-06-23-14-08.bpo-31370.-j4kN4.rst deleted file mode 100644 index 3e66eadcdb..0000000000 --- a/Misc/NEWS.d/next/Build/2017-09-06-23-14-08.bpo-31370.-j4kN4.rst +++ /dev/null @@ -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. diff --git a/Misc/NEWS.d/next/Build/2017-09-08-11-48-11.bpo-31354.4f-VJK.rst b/Misc/NEWS.d/next/Build/2017-09-08-11-48-11.bpo-31354.4f-VJK.rst deleted file mode 100644 index b63c9ea6e0..0000000000 --- a/Misc/NEWS.d/next/Build/2017-09-08-11-48-11.bpo-31354.4f-VJK.rst +++ /dev/null @@ -1 +0,0 @@ -Allow --with-lto to be used on all builds, not just `make profile-opt`. diff --git a/Misc/NEWS.d/next/C API/0061.bpo-28426.zPwvbI.rst b/Misc/NEWS.d/next/C API/0061.bpo-28426.zPwvbI.rst deleted file mode 100644 index 9f18b72511..0000000000 --- a/Misc/NEWS.d/next/C API/0061.bpo-28426.zPwvbI.rst +++ /dev/null @@ -1,3 +0,0 @@ -Deprecated undocumented functions PyUnicode_AsEncodedObject(), -PyUnicode_AsDecodedObject(), PyUnicode_AsDecodedUnicode() and -PyUnicode_AsEncodedUnicode(). diff --git a/Misc/NEWS.d/next/C API/0062.bpo-19569.IPke0J.rst b/Misc/NEWS.d/next/C API/0062.bpo-19569.IPke0J.rst deleted file mode 100644 index 703569af38..0000000000 --- a/Misc/NEWS.d/next/C API/0062.bpo-19569.IPke0J.rst +++ /dev/null @@ -1 +0,0 @@ -Compiler warnings are now emitted if use most of deprecated functions. diff --git a/Misc/NEWS.d/next/C API/0063.bpo-28748.AMgb_G.rst b/Misc/NEWS.d/next/C API/0063.bpo-28748.AMgb_G.rst deleted file mode 100644 index c0de814654..0000000000 --- a/Misc/NEWS.d/next/C API/0063.bpo-28748.AMgb_G.rst +++ /dev/null @@ -1,2 +0,0 @@ -Private variable _Py_PackageContext is now of type ``const char *`` rather -of ``char *``. diff --git a/Misc/NEWS.d/next/C API/0064.bpo-28761.iOgCoX.rst b/Misc/NEWS.d/next/C API/0064.bpo-28761.iOgCoX.rst deleted file mode 100644 index 659edc15bf..0000000000 --- a/Misc/NEWS.d/next/C API/0064.bpo-28761.iOgCoX.rst +++ /dev/null @@ -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 *``. diff --git a/Misc/NEWS.d/next/C API/0065.bpo-28808.A03X6r.rst b/Misc/NEWS.d/next/C API/0065.bpo-28808.A03X6r.rst deleted file mode 100644 index 61276cdcc3..0000000000 --- a/Misc/NEWS.d/next/C API/0065.bpo-28808.A03X6r.rst +++ /dev/null @@ -1 +0,0 @@ -PyUnicode_CompareWithASCIIString() now never raises exceptions. diff --git a/Misc/NEWS.d/next/C API/0066.bpo-28822.gMqwvb.rst b/Misc/NEWS.d/next/C API/0066.bpo-28822.gMqwvb.rst deleted file mode 100644 index 63a13c8852..0000000000 --- a/Misc/NEWS.d/next/C API/0066.bpo-28822.gMqwvb.rst +++ /dev/null @@ -1,2 +0,0 @@ -The index parameters *start* and *end* of PyUnicode_FindChar() are now -adjusted to behave like ``str[start:end]``. diff --git a/Misc/NEWS.d/next/C API/0067.bpo-29058.0wNVP8.rst b/Misc/NEWS.d/next/C API/0067.bpo-29058.0wNVP8.rst deleted file mode 100644 index 6f2fd6d05e..0000000000 --- a/Misc/NEWS.d/next/C API/0067.bpo-29058.0wNVP8.rst +++ /dev/null @@ -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. diff --git a/Misc/NEWS.d/next/C API/0068.bpo-28769.Ecmtn8.rst b/Misc/NEWS.d/next/C API/0068.bpo-28769.Ecmtn8.rst deleted file mode 100644 index e2e7570ca9..0000000000 --- a/Misc/NEWS.d/next/C API/0068.bpo-28769.Ecmtn8.rst +++ /dev/null @@ -1,2 +0,0 @@ -The result of PyUnicode_AsUTF8AndSize() and PyUnicode_AsUTF8() is now of -type ``const char *`` rather of ``char *``. diff --git a/Misc/NEWS.d/next/C API/0069.bpo-29083.tGTjr_.rst b/Misc/NEWS.d/next/C API/0069.bpo-29083.tGTjr_.rst deleted file mode 100644 index 639fc25c97..0000000000 --- a/Misc/NEWS.d/next/C API/0069.bpo-29083.tGTjr_.rst +++ /dev/null @@ -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. diff --git a/Misc/NEWS.d/next/C API/0070.bpo-27867.J-8CGo.rst b/Misc/NEWS.d/next/C API/0070.bpo-27867.J-8CGo.rst deleted file mode 100644 index dbfeede9bf..0000000000 --- a/Misc/NEWS.d/next/C API/0070.bpo-27867.J-8CGo.rst +++ /dev/null @@ -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(). diff --git a/Misc/NEWS.d/next/C API/0071.bpo-6532.qcH6k1.rst b/Misc/NEWS.d/next/C API/0071.bpo-6532.qcH6k1.rst deleted file mode 100644 index 82b8e6b0b2..0000000000 --- a/Misc/NEWS.d/next/C API/0071.bpo-6532.qcH6k1.rst +++ /dev/null @@ -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". diff --git a/Misc/NEWS.d/next/C API/0072.bpo-16500.lRpooa.rst b/Misc/NEWS.d/next/C API/0072.bpo-16500.lRpooa.rst deleted file mode 100644 index 521aea80bd..0000000000 --- a/Misc/NEWS.d/next/C API/0072.bpo-16500.lRpooa.rst +++ /dev/null @@ -1,2 +0,0 @@ -Deprecate PyOS_AfterFork() and add PyOS_BeforeFork(), -PyOS_AfterFork_Parent() and PyOS_AfterFork_Child(). diff --git a/Misc/NEWS.d/next/C API/0073.bpo-30708.np-l1j.rst b/Misc/NEWS.d/next/C API/0073.bpo-30708.np-l1j.rst deleted file mode 100644 index f74ca22b18..0000000000 --- a/Misc/NEWS.d/next/C API/0073.bpo-30708.np-l1j.rst +++ /dev/null @@ -1,2 +0,0 @@ -PyUnicode_AsWideCharString() now raises a ValueError if the second argument -is NULL and the wchar_t\* string contains null characters. diff --git a/Misc/NEWS.d/next/C API/2017-07-03-17-25-40.bpo-30832.PcTAEP.rst b/Misc/NEWS.d/next/C API/2017-07-03-17-25-40.bpo-30832.PcTAEP.rst deleted file mode 100644 index 1cdacf3913..0000000000 --- a/Misc/NEWS.d/next/C API/2017-07-03-17-25-40.bpo-30832.PcTAEP.rst +++ /dev/null @@ -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. diff --git a/Misc/NEWS.d/next/C API/2017-09-05-17-51-12.bpo-31338.LjA43Y.rst b/Misc/NEWS.d/next/C API/2017-09-05-17-51-12.bpo-31338.LjA43Y.rst deleted file mode 100644 index 01878e5d43..0000000000 --- a/Misc/NEWS.d/next/C API/2017-09-05-17-51-12.bpo-31338.LjA43Y.rst +++ /dev/null @@ -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. diff --git a/Misc/NEWS.d/next/Core and Builtins/0353.bpo-26110.KRaID6.rst b/Misc/NEWS.d/next/Core and Builtins/0353.bpo-26110.KRaID6.rst deleted file mode 100644 index b0f63ad24e..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0353.bpo-26110.KRaID6.rst +++ /dev/null @@ -1 +0,0 @@ -Speed-up method calls: add LOAD_METHOD and CALL_METHOD opcodes. diff --git a/Misc/NEWS.d/next/Core and Builtins/0354.bpo-28721.BO9BUF.rst b/Misc/NEWS.d/next/Core and Builtins/0354.bpo-28721.BO9BUF.rst deleted file mode 100644 index 3dbd1a3168..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0354.bpo-28721.BO9BUF.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix asynchronous generators aclose() and athrow() to handle -StopAsyncIteration propagation properly. diff --git a/Misc/NEWS.d/next/Core and Builtins/0355.bpo-26182.a8JXK2.rst b/Misc/NEWS.d/next/Core and Builtins/0355.bpo-26182.a8JXK2.rst deleted file mode 100644 index e856dd28e9..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0355.bpo-26182.a8JXK2.rst +++ /dev/null @@ -1 +0,0 @@ -Fix a refleak in code that raises DeprecationWarning. diff --git a/Misc/NEWS.d/next/Core and Builtins/0356.bpo-26182.jYlqTO.rst b/Misc/NEWS.d/next/Core and Builtins/0356.bpo-26182.jYlqTO.rst deleted file mode 100644 index a02818573c..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0356.bpo-26182.jYlqTO.rst +++ /dev/null @@ -1,2 +0,0 @@ -Raise DeprecationWarning when async and await keywords are used as -variable/attribute/class/function name. diff --git a/Misc/NEWS.d/next/Core and Builtins/0357.bpo-28120.e5xc1i.rst b/Misc/NEWS.d/next/Core and Builtins/0357.bpo-28120.e5xc1i.rst deleted file mode 100644 index 55775ebab3..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0357.bpo-28120.e5xc1i.rst +++ /dev/null @@ -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. diff --git a/Misc/NEWS.d/next/Core and Builtins/0358.bpo-28126.Qf6-uQ.rst b/Misc/NEWS.d/next/Core and Builtins/0358.bpo-28126.Qf6-uQ.rst deleted file mode 100644 index 162ee3815c..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0358.bpo-28126.Qf6-uQ.rst +++ /dev/null @@ -1,2 +0,0 @@ -Replace Py_MEMCPY with memcpy(). Visual Studio can properly optimize -memcpy(). diff --git a/Misc/NEWS.d/next/Core and Builtins/0359.bpo-28131.owq0wW.rst b/Misc/NEWS.d/next/Core and Builtins/0359.bpo-28131.owq0wW.rst deleted file mode 100644 index f532fa17d1..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0359.bpo-28131.owq0wW.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix a regression in zipimport's compile_source(). zipimport should use the -same optimization level as the interpreter. diff --git a/Misc/NEWS.d/next/Core and Builtins/0360.bpo-0.9EbOiD.rst b/Misc/NEWS.d/next/Core and Builtins/0360.bpo-0.9EbOiD.rst deleted file mode 100644 index b72692d191..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0360.bpo-0.9EbOiD.rst +++ /dev/null @@ -1 +0,0 @@ -Upgrade internal unicode databases to Unicode version 9.0.0. diff --git a/Misc/NEWS.d/next/Core and Builtins/0361.bpo-27222.74PvFk.rst b/Misc/NEWS.d/next/Core and Builtins/0361.bpo-27222.74PvFk.rst deleted file mode 100644 index 93410fa121..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0361.bpo-27222.74PvFk.rst +++ /dev/null @@ -1 +0,0 @@ -Clean up redundant code in long_rshift function. Thanks Oren Milman. diff --git a/Misc/NEWS.d/next/Core and Builtins/0362.bpo-27441.scPKax.rst b/Misc/NEWS.d/next/Core and Builtins/0362.bpo-27441.scPKax.rst deleted file mode 100644 index 2dd799d63b..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0362.bpo-27441.scPKax.rst +++ /dev/null @@ -1,2 +0,0 @@ -Remove some redundant assignments to ob_size in longobject.c. Thanks Oren -Milman. diff --git a/Misc/NEWS.d/next/Core and Builtins/0363.bpo-28192.eR6stU.rst b/Misc/NEWS.d/next/Core and Builtins/0363.bpo-28192.eR6stU.rst deleted file mode 100644 index cc6e57cb3d..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0363.bpo-28192.eR6stU.rst +++ /dev/null @@ -1 +0,0 @@ -Don't import readline in isolated mode. diff --git a/Misc/NEWS.d/next/Core and Builtins/0364.bpo-27955.HC4pZ4.rst b/Misc/NEWS.d/next/Core and Builtins/0364.bpo-27955.HC4pZ4.rst deleted file mode 100644 index d977df70dc..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0364.bpo-27955.HC4pZ4.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fallback on reading /dev/urandom device when the getrandom() syscall fails -with EPERM, for example when blocked by SECCOMP. diff --git a/Misc/NEWS.d/next/Core and Builtins/0365.bpo-28214.zQF8Em.rst b/Misc/NEWS.d/next/Core and Builtins/0365.bpo-28214.zQF8Em.rst deleted file mode 100644 index 29afe9cb12..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0365.bpo-28214.zQF8Em.rst +++ /dev/null @@ -1 +0,0 @@ -Now __set_name__ is looked up on the class instead of the instance. diff --git a/Misc/NEWS.d/next/Core and Builtins/0366.bpo-28086.JsQPMQ.rst b/Misc/NEWS.d/next/Core and Builtins/0366.bpo-28086.JsQPMQ.rst deleted file mode 100644 index faa9e3cf46..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0366.bpo-28086.JsQPMQ.rst +++ /dev/null @@ -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. diff --git a/Misc/NEWS.d/next/Core and Builtins/0367.bpo-28203.LRn5vp.rst b/Misc/NEWS.d/next/Core and Builtins/0367.bpo-28203.LRn5vp.rst deleted file mode 100644 index 687a7e9aeb..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0367.bpo-28203.LRn5vp.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix incorrect type in complex(1.0, {2:3}) error message. Patch by Soumya -Sharma. diff --git a/Misc/NEWS.d/next/Core and Builtins/0368.bpo-21578.GI1bhj.rst b/Misc/NEWS.d/next/Core and Builtins/0368.bpo-21578.GI1bhj.rst deleted file mode 100644 index 15c4de3695..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0368.bpo-21578.GI1bhj.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fixed misleading error message when ImportError called with invalid keyword -args. diff --git a/Misc/NEWS.d/next/Core and Builtins/0369.bpo-28289.l1kHlV.rst b/Misc/NEWS.d/next/Core and Builtins/0369.bpo-28289.l1kHlV.rst deleted file mode 100644 index 577e3f0a9b..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0369.bpo-28289.l1kHlV.rst +++ /dev/null @@ -1 +0,0 @@ -ImportError.__init__ now resets not specified attributes. diff --git a/Misc/NEWS.d/next/Core and Builtins/0370.bpo-27942.ZGuhns.rst b/Misc/NEWS.d/next/Core and Builtins/0370.bpo-27942.ZGuhns.rst deleted file mode 100644 index ca8dfef90a..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0370.bpo-27942.ZGuhns.rst +++ /dev/null @@ -1 +0,0 @@ -String constants now interned recursively in tuples and frozensets. diff --git a/Misc/NEWS.d/next/Core and Builtins/0371.bpo-26617.Gh5LvN.rst b/Misc/NEWS.d/next/Core and Builtins/0371.bpo-26617.Gh5LvN.rst deleted file mode 100644 index c3a41396df..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0371.bpo-26617.Gh5LvN.rst +++ /dev/null @@ -1 +0,0 @@ -Fix crash when GC runs during weakref callbacks. diff --git a/Misc/NEWS.d/next/Core and Builtins/0372.bpo-28350.8M5Eg9.rst b/Misc/NEWS.d/next/Core and Builtins/0372.bpo-28350.8M5Eg9.rst deleted file mode 100644 index 013b3e13fa..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0372.bpo-28350.8M5Eg9.rst +++ /dev/null @@ -1 +0,0 @@ -String constants with null character no longer interned. diff --git a/Misc/NEWS.d/next/Core and Builtins/0373.bpo-28201.GWUxAy.rst b/Misc/NEWS.d/next/Core and Builtins/0373.bpo-28201.GWUxAy.rst deleted file mode 100644 index d1b56f5290..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0373.bpo-28201.GWUxAy.rst +++ /dev/null @@ -1,2 +0,0 @@ -Dict reduces possibility of 2nd conflict in hash table when hashes have same -lower bits. diff --git a/Misc/NEWS.d/next/Core and Builtins/0374.bpo-24098.XqlP_1.rst b/Misc/NEWS.d/next/Core and Builtins/0374.bpo-24098.XqlP_1.rst deleted file mode 100644 index 82897ed22f..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0374.bpo-24098.XqlP_1.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed possible crash when AST is changed in process of compiling it. diff --git a/Misc/NEWS.d/next/Core and Builtins/0375.bpo-18287.k6jffS.rst b/Misc/NEWS.d/next/Core and Builtins/0375.bpo-18287.k6jffS.rst deleted file mode 100644 index 5ed0382384..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0375.bpo-18287.k6jffS.rst +++ /dev/null @@ -1,2 +0,0 @@ -PyType_Ready() now checks that tp_name is not NULL. Original patch by Niklas -Koep. diff --git a/Misc/NEWS.d/next/Core and Builtins/0376.bpo-26906.YBjcwI.rst b/Misc/NEWS.d/next/Core and Builtins/0376.bpo-26906.YBjcwI.rst deleted file mode 100644 index 9927fc9441..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0376.bpo-26906.YBjcwI.rst +++ /dev/null @@ -1,2 +0,0 @@ -Resolving special methods of uninitialized type now causes implicit -initialization of the type instead of a fail. diff --git a/Misc/NEWS.d/next/Core and Builtins/0377.bpo-28376.yTEhEo.rst b/Misc/NEWS.d/next/Core and Builtins/0377.bpo-28376.yTEhEo.rst deleted file mode 100644 index 48cd8ca354..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0377.bpo-28376.yTEhEo.rst +++ /dev/null @@ -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. diff --git a/Misc/NEWS.d/next/Core and Builtins/0378.bpo-28376.oPD-5D.rst b/Misc/NEWS.d/next/Core and Builtins/0378.bpo-28376.oPD-5D.rst deleted file mode 100644 index 0beccca88e..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0378.bpo-28376.oPD-5D.rst +++ /dev/null @@ -1,2 +0,0 @@ -The type of long range iterator is now registered as Iterator. Patch by Oren -Milman. diff --git a/Misc/NEWS.d/next/Core and Builtins/0379.bpo-28379.DuXlco.rst b/Misc/NEWS.d/next/Core and Builtins/0379.bpo-28379.DuXlco.rst deleted file mode 100644 index 023812b629..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0379.bpo-28379.DuXlco.rst +++ /dev/null @@ -1,2 +0,0 @@ -Added sanity checks and tests for PyUnicode_CopyCharacters(). Patch by Xiang -Zhang. diff --git a/Misc/NEWS.d/next/Core and Builtins/0380.bpo-26081._x5vjl.rst b/Misc/NEWS.d/next/Core and Builtins/0380.bpo-26081._x5vjl.rst deleted file mode 100644 index ada5516376..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0380.bpo-26081._x5vjl.rst +++ /dev/null @@ -1 +0,0 @@ -Added C implementation of asyncio.Future. Original patch by Yury Selivanov. diff --git a/Misc/NEWS.d/next/Core and Builtins/0381.bpo-28183.MJZeNd.rst b/Misc/NEWS.d/next/Core and Builtins/0381.bpo-28183.MJZeNd.rst deleted file mode 100644 index 2453de1d60..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0381.bpo-28183.MJZeNd.rst +++ /dev/null @@ -1 +0,0 @@ -Optimize and cleanup dict iteration. diff --git a/Misc/NEWS.d/next/Core and Builtins/0382.bpo-23782.lonDzj.rst b/Misc/NEWS.d/next/Core and Builtins/0382.bpo-23782.lonDzj.rst deleted file mode 100644 index 36e85d8f2d..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0382.bpo-23782.lonDzj.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fixed possible memory leak in _PyTraceback_Add() and exception loss in -PyTraceBack_Here(). diff --git a/Misc/NEWS.d/next/Core and Builtins/0383.bpo-28214.6ECJox.rst b/Misc/NEWS.d/next/Core and Builtins/0383.bpo-28214.6ECJox.rst deleted file mode 100644 index b73c752dc2..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0383.bpo-28214.6ECJox.rst +++ /dev/null @@ -1 +0,0 @@ -Improved exception reporting for problematic __set_name__ attributes. diff --git a/Misc/NEWS.d/next/Core and Builtins/0384.bpo-28517.ExPkm9.rst b/Misc/NEWS.d/next/Core and Builtins/0384.bpo-28517.ExPkm9.rst deleted file mode 100644 index 96ef7e082d..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0384.bpo-28517.ExPkm9.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fixed of-by-one error in the peephole optimizer that caused keeping -unreachable code. diff --git a/Misc/NEWS.d/next/Core and Builtins/0385.bpo-28426.E_quyK.rst b/Misc/NEWS.d/next/Core and Builtins/0385.bpo-28426.E_quyK.rst deleted file mode 100644 index f21b3db00c..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0385.bpo-28426.E_quyK.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed potential crash in PyUnicode_AsDecodedObject() in debug build. diff --git a/Misc/NEWS.d/next/Core and Builtins/0386.bpo-28509._Fa4Uq.rst b/Misc/NEWS.d/next/Core and Builtins/0386.bpo-28509._Fa4Uq.rst deleted file mode 100644 index 040b7e7764..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0386.bpo-28509._Fa4Uq.rst +++ /dev/null @@ -1 +0,0 @@ -dict.update() no longer allocate unnecessary large memory. diff --git a/Misc/NEWS.d/next/Core and Builtins/0387.bpo-28128.Lc2sFu.rst b/Misc/NEWS.d/next/Core and Builtins/0387.bpo-28128.Lc2sFu.rst deleted file mode 100644 index aac57afe02..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0387.bpo-28128.Lc2sFu.rst +++ /dev/null @@ -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. diff --git a/Misc/NEWS.d/next/Core and Builtins/0388.bpo-28583.F-QAx1.rst b/Misc/NEWS.d/next/Core and Builtins/0388.bpo-28583.F-QAx1.rst deleted file mode 100644 index 9ead27d33d..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0388.bpo-28583.F-QAx1.rst +++ /dev/null @@ -1,2 +0,0 @@ -PyDict_SetDefault didn't combine split table when needed. Patch by Xiang -Zhang. diff --git a/Misc/NEWS.d/next/Core and Builtins/0389.bpo-28580.8bqBmG.rst b/Misc/NEWS.d/next/Core and Builtins/0389.bpo-28580.8bqBmG.rst deleted file mode 100644 index cfc9737b72..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0389.bpo-28580.8bqBmG.rst +++ /dev/null @@ -1 +0,0 @@ -Optimize iterating split table values. Patch by Xiang Zhang. diff --git a/Misc/NEWS.d/next/Core and Builtins/0390.bpo-28621.eCD7n-.rst b/Misc/NEWS.d/next/Core and Builtins/0390.bpo-28621.eCD7n-.rst deleted file mode 100644 index 41d9b72814..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0390.bpo-28621.eCD7n-.rst +++ /dev/null @@ -1,2 +0,0 @@ -Sped up converting int to float by reusing faster bits counting -implementation. Patch by Adrian Wielgosik. diff --git a/Misc/NEWS.d/next/Core and Builtins/0391.bpo-19398.RYbEGH.rst b/Misc/NEWS.d/next/Core and Builtins/0391.bpo-19398.RYbEGH.rst deleted file mode 100644 index ba89b2a113..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0391.bpo-19398.RYbEGH.rst +++ /dev/null @@ -1,2 +0,0 @@ -Extra slash no longer added to sys.path components in case of empty compile- -time PYTHONPATH components. diff --git a/Misc/NEWS.d/next/Core and Builtins/0392.bpo-28665.v4nx86.rst b/Misc/NEWS.d/next/Core and Builtins/0392.bpo-28665.v4nx86.rst deleted file mode 100644 index b9e965d11d..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0392.bpo-28665.v4nx86.rst +++ /dev/null @@ -1 +0,0 @@ -Improve speed of the STORE_DEREF opcode by 40%. diff --git a/Misc/NEWS.d/next/Core and Builtins/0393.bpo-28648.z7B52W.rst b/Misc/NEWS.d/next/Core and Builtins/0393.bpo-28648.z7B52W.rst deleted file mode 100644 index 48b17ff194..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0393.bpo-28648.z7B52W.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fixed crash in Py_DecodeLocale() in debug build on Mac OS X when decode -astral characters. Patch by Xiang Zhang. diff --git a/Misc/NEWS.d/next/Core and Builtins/0394.bpo-26920.1URwGb.rst b/Misc/NEWS.d/next/Core and Builtins/0394.bpo-26920.1URwGb.rst deleted file mode 100644 index 7d003d075f..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0394.bpo-26920.1URwGb.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix not getting the locale's charset upon initializing the interpreter, on -platforms that do not have langinfo. diff --git a/Misc/NEWS.d/next/Core and Builtins/0395.bpo-28746.r5MXdB.rst b/Misc/NEWS.d/next/Core and Builtins/0395.bpo-28746.r5MXdB.rst deleted file mode 100644 index 28a6112e89..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0395.bpo-28746.r5MXdB.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix the set_inheritable() file descriptor method on platforms that do not -have the ioctl FIOCLEX and FIONCLEX commands. diff --git a/Misc/NEWS.d/next/Core and Builtins/0396.bpo-27100.poVjXq.rst b/Misc/NEWS.d/next/Core and Builtins/0396.bpo-27100.poVjXq.rst deleted file mode 100644 index a5c27b6fa4..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0396.bpo-27100.poVjXq.rst +++ /dev/null @@ -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. diff --git a/Misc/NEWS.d/next/Core and Builtins/0397.bpo-28532.KEYJny.rst b/Misc/NEWS.d/next/Core and Builtins/0397.bpo-28532.KEYJny.rst deleted file mode 100644 index 3a058ac82c..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0397.bpo-28532.KEYJny.rst +++ /dev/null @@ -1 +0,0 @@ -Show sys.version when -V option is supplied twice. diff --git a/Misc/NEWS.d/next/Core and Builtins/0398.bpo-28731.oNF59u.rst b/Misc/NEWS.d/next/Core and Builtins/0398.bpo-28731.oNF59u.rst deleted file mode 100644 index a2fa1d5027..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0398.bpo-28731.oNF59u.rst +++ /dev/null @@ -1,2 +0,0 @@ -Optimize _PyDict_NewPresized() to create correct size dict. Improve speed of -dict literal with constant keys up to 30%. diff --git a/Misc/NEWS.d/next/Core and Builtins/0399.bpo-28774.cEehAr.rst b/Misc/NEWS.d/next/Core and Builtins/0399.bpo-28774.cEehAr.rst deleted file mode 100644 index 1f67061b16..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0399.bpo-28774.cEehAr.rst +++ /dev/null @@ -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). diff --git a/Misc/NEWS.d/next/Core and Builtins/0400.bpo-28782.foJV_E.rst b/Misc/NEWS.d/next/Core and Builtins/0400.bpo-28782.foJV_E.rst deleted file mode 100644 index 7a1ab49840..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0400.bpo-28782.foJV_E.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix a bug in the implementation ``yield from`` when checking if the next -instruction is YIELD_FROM. Regression introduced by WORDCODE (issue #26647). diff --git a/Misc/NEWS.d/next/Core and Builtins/0401.bpo-12844.pdr3gY.rst b/Misc/NEWS.d/next/Core and Builtins/0401.bpo-12844.pdr3gY.rst deleted file mode 100644 index 3704fbaf0f..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0401.bpo-12844.pdr3gY.rst +++ /dev/null @@ -1 +0,0 @@ -More than 255 arguments can now be passed to a function. diff --git a/Misc/NEWS.d/next/Core and Builtins/0402.bpo-28799.cP6V1N.rst b/Misc/NEWS.d/next/Core and Builtins/0402.bpo-28799.cP6V1N.rst deleted file mode 100644 index 95fe72c0e7..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0402.bpo-28799.cP6V1N.rst +++ /dev/null @@ -1,4 +0,0 @@ -Remove the ``PyEval_GetCallStats()`` function and deprecate the untested and -undocumented ``sys.callstats()`` function. Remove the ``CALL_PROFILE`` -special build: use the :func:`sys.setprofile` function, :mod:`cProfile` or -:mod:`profile` to profile function calls. diff --git a/Misc/NEWS.d/next/Core and Builtins/0403.bpo-28797._A0_Z5.rst b/Misc/NEWS.d/next/Core and Builtins/0403.bpo-28797._A0_Z5.rst deleted file mode 100644 index 8735cad80c..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0403.bpo-28797._A0_Z5.rst +++ /dev/null @@ -1,3 +0,0 @@ -Modifying the class __dict__ inside the __set_name__ method of a descriptor -that is used inside that class no longer prevents calling the __set_name__ -method of other descriptors. diff --git a/Misc/NEWS.d/next/Core and Builtins/0404.bpo-23722.e8BH5h.rst b/Misc/NEWS.d/next/Core and Builtins/0404.bpo-23722.e8BH5h.rst deleted file mode 100644 index b387559db3..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0404.bpo-23722.e8BH5h.rst +++ /dev/null @@ -1,4 +0,0 @@ -Rather than silently producing a class that doesn't support zero-argument -``super()`` in methods, failing to pass the new ``__classcell__`` namespace -entry up to ``type.__new__`` now results in a ``DeprecationWarning`` and a -class that supports zero-argument ``super()``. diff --git a/Misc/NEWS.d/next/Core and Builtins/0405.bpo-28918.SFVuPz.rst b/Misc/NEWS.d/next/Core and Builtins/0405.bpo-28918.SFVuPz.rst deleted file mode 100644 index a3b924753a..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0405.bpo-28918.SFVuPz.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix the cross compilation of xxlimited when Python has been built with -Py_DEBUG defined. diff --git a/Misc/NEWS.d/next/Core and Builtins/0406.bpo-28512.i-pv6d.rst b/Misc/NEWS.d/next/Core and Builtins/0406.bpo-28512.i-pv6d.rst deleted file mode 100644 index 058da76ca7..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0406.bpo-28512.i-pv6d.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fixed setting the offset attribute of SyntaxError by -PyErr_SyntaxLocationEx() and PyErr_SyntaxLocationObject(). diff --git a/Misc/NEWS.d/next/Core and Builtins/0407.bpo-28739.w1fvhk.rst b/Misc/NEWS.d/next/Core and Builtins/0407.bpo-28739.w1fvhk.rst deleted file mode 100644 index 10be6c33d9..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0407.bpo-28739.w1fvhk.rst +++ /dev/null @@ -1,2 +0,0 @@ -f-string expressions are no longer accepted as docstrings and by -ast.literal_eval() even if they do not include expressions. diff --git a/Misc/NEWS.d/next/Core and Builtins/0408.bpo-28147.CnK_xf.rst b/Misc/NEWS.d/next/Core and Builtins/0408.bpo-28147.CnK_xf.rst deleted file mode 100644 index 6188211677..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0408.bpo-28147.CnK_xf.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix a memory leak in split-table dictionaries: setattr() must not convert -combined table into split table. Patch written by INADA Naoki. diff --git a/Misc/NEWS.d/next/Core and Builtins/0409.bpo-28991.lGA0FK.rst b/Misc/NEWS.d/next/Core and Builtins/0409.bpo-28991.lGA0FK.rst deleted file mode 100644 index f9999731db..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0409.bpo-28991.lGA0FK.rst +++ /dev/null @@ -1,2 +0,0 @@ -functools.lru_cache() was susceptible to an obscure reentrancy bug -triggerable by a monkey-patched len() function. diff --git a/Misc/NEWS.d/next/Core and Builtins/0410.bpo-26919.Cm7MSa.rst b/Misc/NEWS.d/next/Core and Builtins/0410.bpo-26919.Cm7MSa.rst deleted file mode 100644 index 7be06401e4..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0410.bpo-26919.Cm7MSa.rst +++ /dev/null @@ -1,3 +0,0 @@ -On Android, operating system data is now always encoded/decoded to/from -UTF-8, instead of the locale encoding to avoid inconsistencies with -os.fsencode() and os.fsdecode() which are already using UTF-8. diff --git a/Misc/NEWS.d/next/Core and Builtins/0411.bpo-22257.2a8zxB.rst b/Misc/NEWS.d/next/Core and Builtins/0411.bpo-22257.2a8zxB.rst deleted file mode 100644 index a5a89e1345..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0411.bpo-22257.2a8zxB.rst +++ /dev/null @@ -1 +0,0 @@ -Clean up interpreter startup (see PEP 432). diff --git a/Misc/NEWS.d/next/Core and Builtins/0412.bpo-28596.snIJRd.rst b/Misc/NEWS.d/next/Core and Builtins/0412.bpo-28596.snIJRd.rst deleted file mode 100644 index 9f63ef982a..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0412.bpo-28596.snIJRd.rst +++ /dev/null @@ -1 +0,0 @@ -The preferred encoding is UTF-8 on Android. Patch written by Chi Hsuan Yen. diff --git a/Misc/NEWS.d/next/Core and Builtins/0413.bpo-18896.Pqe0bg.rst b/Misc/NEWS.d/next/Core and Builtins/0413.bpo-18896.Pqe0bg.rst deleted file mode 100644 index a67dc93dfb..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0413.bpo-18896.Pqe0bg.rst +++ /dev/null @@ -1,2 +0,0 @@ -Python function can now have more than 255 parameters. -collections.namedtuple() now supports tuples with more than 255 elements. diff --git a/Misc/NEWS.d/next/Core and Builtins/0414.bpo-29000.K6wQ-3.rst b/Misc/NEWS.d/next/Core and Builtins/0414.bpo-29000.K6wQ-3.rst deleted file mode 100644 index 94c8b054e8..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0414.bpo-29000.K6wQ-3.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed bytes formatting of octals with zero padding in alternate form. diff --git a/Misc/NEWS.d/next/Core and Builtins/0415.bpo-25677.RWhZrb.rst b/Misc/NEWS.d/next/Core and Builtins/0415.bpo-25677.RWhZrb.rst deleted file mode 100644 index f665835a29..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0415.bpo-25677.RWhZrb.rst +++ /dev/null @@ -1,2 +0,0 @@ -Correct the positioning of the syntax error caret for indented blocks. -Based on patch by Michael Layzell. diff --git a/Misc/NEWS.d/next/Core and Builtins/0416.bpo-28932.QnLx8A.rst b/Misc/NEWS.d/next/Core and Builtins/0416.bpo-28932.QnLx8A.rst deleted file mode 100644 index e20901189b..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0416.bpo-28932.QnLx8A.rst +++ /dev/null @@ -1 +0,0 @@ -Do not include <sys/random.h> if it does not exist. diff --git a/Misc/NEWS.d/next/Core and Builtins/0417.bpo-28927.9fxf6y.rst b/Misc/NEWS.d/next/Core and Builtins/0417.bpo-28927.9fxf6y.rst deleted file mode 100644 index 39358cd29c..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0417.bpo-28927.9fxf6y.rst +++ /dev/null @@ -1,2 +0,0 @@ -bytes.fromhex() and bytearray.fromhex() now ignore all ASCII whitespace, not -only spaces. Patch by Robert Xiao. diff --git a/Misc/NEWS.d/next/Core and Builtins/0418.bpo-29049.KpVXBw.rst b/Misc/NEWS.d/next/Core and Builtins/0418.bpo-29049.KpVXBw.rst deleted file mode 100644 index ff50abd37a..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0418.bpo-29049.KpVXBw.rst +++ /dev/null @@ -1,2 +0,0 @@ -Call _PyObject_GC_TRACK() lazily when calling Python function. Calling -function is up to 5% faster. diff --git a/Misc/NEWS.d/next/Core and Builtins/0419.bpo-29159.gEn_kP.rst b/Misc/NEWS.d/next/Core and Builtins/0419.bpo-29159.gEn_kP.rst deleted file mode 100644 index e67ea28010..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0419.bpo-29159.gEn_kP.rst +++ /dev/null @@ -1 +0,0 @@ -Fix regression in bytes(x) when x.__index__() raises Exception. diff --git a/Misc/NEWS.d/next/Core and Builtins/0420.bpo-29034.7-uEDT.rst b/Misc/NEWS.d/next/Core and Builtins/0420.bpo-29034.7-uEDT.rst deleted file mode 100644 index a356cd784e..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0420.bpo-29034.7-uEDT.rst +++ /dev/null @@ -1 +0,0 @@ -Fix memory leak and use-after-free in os module (path_converter). diff --git a/Misc/NEWS.d/next/Core and Builtins/0421.bpo-29327.XXQarW.rst b/Misc/NEWS.d/next/Core and Builtins/0421.bpo-29327.XXQarW.rst deleted file mode 100644 index f23bad0bc1..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0421.bpo-29327.XXQarW.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed a crash when pass the iterable keyword argument to sorted(). diff --git a/Misc/NEWS.d/next/Core and Builtins/0422.bpo-29337.bjX8AE.rst b/Misc/NEWS.d/next/Core and Builtins/0422.bpo-29337.bjX8AE.rst deleted file mode 100644 index 201325cbf6..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0422.bpo-29337.bjX8AE.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fixed possible BytesWarning when compare the code objects. Warnings could be -emitted at compile time. diff --git a/Misc/NEWS.d/next/Core and Builtins/0423.bpo-29319.KLDUZf.rst b/Misc/NEWS.d/next/Core and Builtins/0423.bpo-29319.KLDUZf.rst deleted file mode 100644 index 254d8731d5..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0423.bpo-29319.KLDUZf.rst +++ /dev/null @@ -1 +0,0 @@ -Prevent RunMainFromImporter overwriting sys.path[0]. diff --git a/Misc/NEWS.d/next/Core and Builtins/0424.bpo-29478.rTQ-qy.rst b/Misc/NEWS.d/next/Core and Builtins/0424.bpo-29478.rTQ-qy.rst deleted file mode 100644 index a9d4bdbabd..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0424.bpo-29478.rTQ-qy.rst +++ /dev/null @@ -1,2 +0,0 @@ -If max_line_length=None is specified while using the Compat32 policy, it is -no longer ignored. Patch by Mircea Cosbuc. diff --git a/Misc/NEWS.d/next/Core and Builtins/0425.bpo-29546.O1rmG_.rst b/Misc/NEWS.d/next/Core and Builtins/0425.bpo-29546.O1rmG_.rst deleted file mode 100644 index cb60a48a3c..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0425.bpo-29546.O1rmG_.rst +++ /dev/null @@ -1 +0,0 @@ -Improve from-import error message with location diff --git a/Misc/NEWS.d/next/Core and Builtins/0426.bpo-29546.PS1I1T.rst b/Misc/NEWS.d/next/Core and Builtins/0426.bpo-29546.PS1I1T.rst deleted file mode 100644 index 0868cd17be..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0426.bpo-29546.PS1I1T.rst +++ /dev/null @@ -1,2 +0,0 @@ -Set the 'path' and 'name' attribute on ImportError for ``from ... import -...``. diff --git a/Misc/NEWS.d/next/Core and Builtins/0427.bpo-29438.IKxD6I.rst b/Misc/NEWS.d/next/Core and Builtins/0427.bpo-29438.IKxD6I.rst deleted file mode 100644 index e3eecb6136..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0427.bpo-29438.IKxD6I.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed use-after-free problem in key sharing dict. diff --git a/Misc/NEWS.d/next/Core and Builtins/0428.bpo-29463.h2bg8A.rst b/Misc/NEWS.d/next/Core and Builtins/0428.bpo-29463.h2bg8A.rst deleted file mode 100644 index 298d05f331..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0428.bpo-29463.h2bg8A.rst +++ /dev/null @@ -1,4 +0,0 @@ -Add ``docstring`` field to Module, ClassDef, FunctionDef, and -AsyncFunctionDef ast nodes. docstring is not first stmt in their body -anymore. It affects ``co_firstlineno`` and ``co_lnotab`` of code object for -module and class. diff --git a/Misc/NEWS.d/next/Core and Builtins/0429.bpo-29347.1RPPGN.rst b/Misc/NEWS.d/next/Core and Builtins/0429.bpo-29347.1RPPGN.rst deleted file mode 100644 index 35fa106664..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0429.bpo-29347.1RPPGN.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fixed possibly dereferencing undefined pointers when creating weakref -objects. diff --git a/Misc/NEWS.d/next/Core and Builtins/0430.bpo-29602.qyyskC.rst b/Misc/NEWS.d/next/Core and Builtins/0430.bpo-29602.qyyskC.rst deleted file mode 100644 index cc1366caf3..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0430.bpo-29602.qyyskC.rst +++ /dev/null @@ -1,3 +0,0 @@ -Fix incorrect handling of signed zeros in complex constructor for complex -subclasses and for inputs having a __complex__ method. Patch by Serhiy -Storchaka. diff --git a/Misc/NEWS.d/next/Core and Builtins/0431.bpo-29607.7NvBA1.rst b/Misc/NEWS.d/next/Core and Builtins/0431.bpo-29607.7NvBA1.rst deleted file mode 100644 index 9185bdab9f..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0431.bpo-29607.7NvBA1.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix stack_effect computation for CALL_FUNCTION_EX. Patch by Matthieu -Dartiailh. diff --git a/Misc/NEWS.d/next/Core and Builtins/0432.bpo-28598.QxbzQn.rst b/Misc/NEWS.d/next/Core and Builtins/0432.bpo-28598.QxbzQn.rst deleted file mode 100644 index 4757347a3d..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0432.bpo-28598.QxbzQn.rst +++ /dev/null @@ -1,2 +0,0 @@ -Support __rmod__ for subclasses of str being called before str.__mod__. -Patch by Martijn Pieters. diff --git a/Misc/NEWS.d/next/Core and Builtins/0433.bpo-29684.wTgEoh.rst b/Misc/NEWS.d/next/Core and Builtins/0433.bpo-29684.wTgEoh.rst deleted file mode 100644 index 738e3fc7eb..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0433.bpo-29684.wTgEoh.rst +++ /dev/null @@ -1,3 +0,0 @@ -Fix minor regression of PyEval_CallObjectWithKeywords. It should raise -TypeError when kwargs is not a dict. But it might cause segv when args=NULL -and kwargs is not a dict. diff --git a/Misc/NEWS.d/next/Core and Builtins/0434.bpo-29683.G5iS-P.rst b/Misc/NEWS.d/next/Core and Builtins/0434.bpo-29683.G5iS-P.rst deleted file mode 100644 index 00abe05575..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0434.bpo-29683.G5iS-P.rst +++ /dev/null @@ -1 +0,0 @@ -Fixes to memory allocation in _PyCode_SetExtra. Patch by Brian Coleman. diff --git a/Misc/NEWS.d/next/Core and Builtins/0435.bpo-28876.cU-sGT.rst b/Misc/NEWS.d/next/Core and Builtins/0435.bpo-28876.cU-sGT.rst deleted file mode 100644 index 76c09e34e1..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0435.bpo-28876.cU-sGT.rst +++ /dev/null @@ -1 +0,0 @@ -``bool(range)`` works even if ``len(range)`` raises :exc:`OverflowError`. diff --git a/Misc/NEWS.d/next/Core and Builtins/0436.bpo-28893.WTKnpj.rst b/Misc/NEWS.d/next/Core and Builtins/0436.bpo-28893.WTKnpj.rst deleted file mode 100644 index 15b74e714a..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0436.bpo-28893.WTKnpj.rst +++ /dev/null @@ -1,2 +0,0 @@ -Set correct __cause__ for errors about invalid awaitables returned from -__aiter__ and __anext__. diff --git a/Misc/NEWS.d/next/Core and Builtins/0437.bpo-29695.z75xXa.rst b/Misc/NEWS.d/next/Core and Builtins/0437.bpo-29695.z75xXa.rst deleted file mode 100644 index 66dde19fcc..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0437.bpo-29695.z75xXa.rst +++ /dev/null @@ -1,2 +0,0 @@ -bool(), float(), list() and tuple() no longer take keyword arguments. The -first argument of int() can now be passes only as positional argument. diff --git a/Misc/NEWS.d/next/Core and Builtins/0438.bpo-29714.z-BhVd.rst b/Misc/NEWS.d/next/Core and Builtins/0438.bpo-29714.z-BhVd.rst deleted file mode 100644 index 26e520864a..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0438.bpo-29714.z-BhVd.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix a regression that bytes format may fail when containing zero bytes -inside. diff --git a/Misc/NEWS.d/next/Core and Builtins/0439.bpo-29568.3EtOC-.rst b/Misc/NEWS.d/next/Core and Builtins/0439.bpo-29568.3EtOC-.rst deleted file mode 100644 index d2d1fd547c..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0439.bpo-29568.3EtOC-.rst +++ /dev/null @@ -1,2 +0,0 @@ -Escaped percent "%%" in the format string for classic string formatting no -longer allows any characters between two percents. diff --git a/Misc/NEWS.d/next/Core and Builtins/0440.bpo-29723.M5omgP.rst b/Misc/NEWS.d/next/Core and Builtins/0440.bpo-29723.M5omgP.rst deleted file mode 100644 index c8e9298d53..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0440.bpo-29723.M5omgP.rst +++ /dev/null @@ -1,7 +0,0 @@ -The ``sys.path[0]`` initialization change for bpo-29139 caused a regression -by revealing an inconsistency in how sys.path is initialized when executing -``__main__`` from a zipfile, directory, or other import location. The -interpreter now consistently avoids ever adding the import location's parent -directory to ``sys.path``, and ensures no other ``sys.path`` entries are -inadvertently modified when inserting the import location named on the -command line. diff --git a/Misc/NEWS.d/next/Core and Builtins/0441.bpo-28856.AFRmo4.rst b/Misc/NEWS.d/next/Core and Builtins/0441.bpo-28856.AFRmo4.rst deleted file mode 100644 index 753f0a485c..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0441.bpo-28856.AFRmo4.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix an oversight that %b format for bytes should support objects follow the -buffer protocol. diff --git a/Misc/NEWS.d/next/Core and Builtins/0442.bpo-29849.hafvBD.rst b/Misc/NEWS.d/next/Core and Builtins/0442.bpo-29849.hafvBD.rst deleted file mode 100644 index 0d7901e25f..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0442.bpo-29849.hafvBD.rst +++ /dev/null @@ -1 +0,0 @@ -Fix a memory leak when an ImportError is raised during from import. diff --git a/Misc/NEWS.d/next/Core and Builtins/0443.bpo-29859.Z1MLcA.rst b/Misc/NEWS.d/next/Core and Builtins/0443.bpo-29859.Z1MLcA.rst deleted file mode 100644 index e40d8caf95..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0443.bpo-29859.Z1MLcA.rst +++ /dev/null @@ -1,2 +0,0 @@ -Show correct error messages when any of the pthread_* calls in -thread_pthread.h fails. diff --git a/Misc/NEWS.d/next/Core and Builtins/0444.bpo-29894.Vev6t-.rst b/Misc/NEWS.d/next/Core and Builtins/0444.bpo-29894.Vev6t-.rst deleted file mode 100644 index 850d91cdc8..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0444.bpo-29894.Vev6t-.rst +++ /dev/null @@ -1,3 +0,0 @@ -The deprecation warning is emitted if __complex__ returns an instance of a -strict subclass of complex. In a future versions of Python this can be an -error. diff --git a/Misc/NEWS.d/next/Core and Builtins/0445.bpo-29102.AW4YPj.rst b/Misc/NEWS.d/next/Core and Builtins/0445.bpo-29102.AW4YPj.rst deleted file mode 100644 index 8576892ff7..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0445.bpo-29102.AW4YPj.rst +++ /dev/null @@ -1,2 +0,0 @@ -Add a unique ID to PyInterpreterState. This makes it easier to identify -each subinterpreter. diff --git a/Misc/NEWS.d/next/Core and Builtins/0446.bpo-24821.4DINGV.rst b/Misc/NEWS.d/next/Core and Builtins/0446.bpo-24821.4DINGV.rst deleted file mode 100644 index 70a683b5de..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0446.bpo-24821.4DINGV.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fixed the slowing down to 25 times in the searching of some unlucky Unicode -characters. diff --git a/Misc/NEWS.d/next/Core and Builtins/0447.bpo-29816.0H75Nl.rst b/Misc/NEWS.d/next/Core and Builtins/0447.bpo-29816.0H75Nl.rst deleted file mode 100644 index fc1044ea9c..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0447.bpo-29816.0H75Nl.rst +++ /dev/null @@ -1,3 +0,0 @@ -Shift operation now has less opportunity to raise OverflowError. ValueError -always is raised rather than OverflowError for negative counts. Shifting -zero with non-negative count always returns zero. diff --git a/Misc/NEWS.d/next/Core and Builtins/0448.bpo-29935.vgjdJo.rst b/Misc/NEWS.d/next/Core and Builtins/0448.bpo-29935.vgjdJo.rst deleted file mode 100644 index 6f96cded83..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0448.bpo-29935.vgjdJo.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fixed error messages in the index() method of tuple, list and deque when -pass indices of wrong type. diff --git a/Misc/NEWS.d/next/Core and Builtins/0449.bpo-29949.DevGPS.rst b/Misc/NEWS.d/next/Core and Builtins/0449.bpo-29949.DevGPS.rst deleted file mode 100644 index 92f50ccb7a..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0449.bpo-29949.DevGPS.rst +++ /dev/null @@ -1 +0,0 @@ -Fix memory usage regression of set and frozenset object. diff --git a/Misc/NEWS.d/next/Core and Builtins/0450.bpo-29914.nqFSRR.rst b/Misc/NEWS.d/next/Core and Builtins/0450.bpo-29914.nqFSRR.rst deleted file mode 100644 index 4351b4ad6e..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0450.bpo-29914.nqFSRR.rst +++ /dev/null @@ -1,3 +0,0 @@ -Fixed default implementations of __reduce__ and __reduce_ex__(). -object.__reduce__() no longer takes arguments, object.__reduce_ex__() now -requires one argument. diff --git a/Misc/NEWS.d/next/Core and Builtins/0451.bpo-11913.5uiMX9.rst b/Misc/NEWS.d/next/Core and Builtins/0451.bpo-11913.5uiMX9.rst deleted file mode 100644 index cf3975ac46..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0451.bpo-11913.5uiMX9.rst +++ /dev/null @@ -1,2 +0,0 @@ -README.rst is now included in the list of distutils standard READMEs and -therefore included in source distributions. diff --git a/Misc/NEWS.d/next/Core and Builtins/0452.bpo-29839.rUmfay.rst b/Misc/NEWS.d/next/Core and Builtins/0452.bpo-29839.rUmfay.rst deleted file mode 100644 index f047dd1a81..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0452.bpo-29839.rUmfay.rst +++ /dev/null @@ -1,2 +0,0 @@ -len() now raises ValueError rather than OverflowError if __len__() returned -a large negative integer. diff --git a/Misc/NEWS.d/next/Core and Builtins/0453.bpo-12414.T9ix8O.rst b/Misc/NEWS.d/next/Core and Builtins/0453.bpo-12414.T9ix8O.rst deleted file mode 100644 index e57890dc8c..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0453.bpo-12414.T9ix8O.rst +++ /dev/null @@ -1,2 +0,0 @@ -sys.getsizeof() on a code object now returns the sizes which includes the -code struct and sizes of objects which it references. Patch by Dong-hee Na. diff --git a/Misc/NEWS.d/next/Core and Builtins/0454.bpo-30024.kSOlED.rst b/Misc/NEWS.d/next/Core and Builtins/0454.bpo-30024.kSOlED.rst deleted file mode 100644 index ffaeee90c9..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0454.bpo-30024.kSOlED.rst +++ /dev/null @@ -1,2 +0,0 @@ -Circular imports involving absolute imports with binding a submodule to a -name are now supported. diff --git a/Misc/NEWS.d/next/Core and Builtins/0455.bpo-28974.jVewS0.rst b/Misc/NEWS.d/next/Core and Builtins/0455.bpo-28974.jVewS0.rst deleted file mode 100644 index 9611dbb9ba..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0455.bpo-28974.jVewS0.rst +++ /dev/null @@ -1,2 +0,0 @@ -``object.__format__(x, '')`` is now equivalent to ``str(x)`` rather than -``format(str(self), '')``. diff --git a/Misc/NEWS.d/next/Core and Builtins/0456.bpo-30039.e0u4DG.rst b/Misc/NEWS.d/next/Core and Builtins/0456.bpo-30039.e0u4DG.rst deleted file mode 100644 index 8884a9aee1..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0456.bpo-30039.e0u4DG.rst +++ /dev/null @@ -1,3 +0,0 @@ -If a KeyboardInterrupt happens when the interpreter is in the middle of -resuming a chain of nested 'yield from' or 'await' calls, it's now correctly -delivered to the innermost frame. diff --git a/Misc/NEWS.d/next/Core and Builtins/0457.bpo-25794.xfPwqm.rst b/Misc/NEWS.d/next/Core and Builtins/0457.bpo-25794.xfPwqm.rst deleted file mode 100644 index de46584a64..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0457.bpo-25794.xfPwqm.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fixed type.__setattr__() and type.__delattr__() for non-interned attribute -names. Based on patch by Eryk Sun. diff --git a/Misc/NEWS.d/next/Core and Builtins/0458.bpo-27945.p29r3O.rst b/Misc/NEWS.d/next/Core and Builtins/0458.bpo-27945.p29r3O.rst deleted file mode 100644 index da5b8d1a2c..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0458.bpo-27945.p29r3O.rst +++ /dev/null @@ -1,3 +0,0 @@ -Fixed various segfaults with dict when input collections are mutated during -searching, inserting or comparing. Based on patches by Duane Griffin and -Tim Mitchell. diff --git a/Misc/NEWS.d/next/Core and Builtins/0459.bpo-29104.u26yCx.rst b/Misc/NEWS.d/next/Core and Builtins/0459.bpo-29104.u26yCx.rst deleted file mode 100644 index 45e0fa1eb8..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0459.bpo-29104.u26yCx.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed parsing backslashes in f-strings. diff --git a/Misc/NEWS.d/next/Core and Builtins/0460.bpo-25324.l12VjO.rst b/Misc/NEWS.d/next/Core and Builtins/0460.bpo-25324.l12VjO.rst deleted file mode 100644 index 15025232e7..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0460.bpo-25324.l12VjO.rst +++ /dev/null @@ -1,3 +0,0 @@ -Tokens needed for parsing in Python moved to C. ``COMMENT``, ``NL`` and -``ENCODING``. This way the tokens and tok_names in the token module don't -get changed when you import the tokenize module. diff --git a/Misc/NEWS.d/next/Core and Builtins/0461.bpo-30537.sGC27r.rst b/Misc/NEWS.d/next/Core and Builtins/0461.bpo-30537.sGC27r.rst deleted file mode 100644 index 2f042aba42..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0461.bpo-30537.sGC27r.rst +++ /dev/null @@ -1,2 +0,0 @@ -itertools.islice now accepts integer-like objects (having an __index__ -method) as start, stop, and slice arguments diff --git a/Misc/NEWS.d/next/Core and Builtins/0462.bpo-30486.KZi3nB.rst b/Misc/NEWS.d/next/Core and Builtins/0462.bpo-30486.KZi3nB.rst deleted file mode 100644 index f081dfd0b7..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0462.bpo-30486.KZi3nB.rst +++ /dev/null @@ -1 +0,0 @@ -Allows setting cell values for __closure__. Patch by Lisa Roach. diff --git a/Misc/NEWS.d/next/Core and Builtins/0463.bpo-28180.f_IHor.rst b/Misc/NEWS.d/next/Core and Builtins/0463.bpo-28180.f_IHor.rst deleted file mode 100644 index 00341e0114..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0463.bpo-28180.f_IHor.rst +++ /dev/null @@ -1,4 +0,0 @@ -Implement PEP 538 (legacy C locale coercion). This means that when a -suitable coercion target locale is available, both the core interpreter and -locale-aware C extensions will assume the use of UTF-8 as the default text -encoding, rather than ASCII. diff --git a/Misc/NEWS.d/next/Core and Builtins/0464.bpo-30501.BWJByG.rst b/Misc/NEWS.d/next/Core and Builtins/0464.bpo-30501.BWJByG.rst deleted file mode 100644 index 2e8c39d24f..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0464.bpo-30501.BWJByG.rst +++ /dev/null @@ -1,3 +0,0 @@ -The compiler now produces more optimal code for complex condition -expressions in the "if", "while" and "assert" statement, the "if" -expression, and generator expressions and comprehensions. diff --git a/Misc/NEWS.d/next/Core and Builtins/0465.bpo-30682.zZm88E.rst b/Misc/NEWS.d/next/Core and Builtins/0465.bpo-30682.zZm88E.rst deleted file mode 100644 index ad0bde2e0c..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0465.bpo-30682.zZm88E.rst +++ /dev/null @@ -1,2 +0,0 @@ -Removed a too-strict assertion that failed for certain f-strings, such as -eval("f'\\\n'") and eval("f'\\\r'"). diff --git a/Misc/NEWS.d/next/Core and Builtins/0466.bpo-30597.7erHiP.rst b/Misc/NEWS.d/next/Core and Builtins/0466.bpo-30597.7erHiP.rst deleted file mode 100644 index 0114fee02a..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0466.bpo-30597.7erHiP.rst +++ /dev/null @@ -1,2 +0,0 @@ -``print`` now shows expected input in custom error message when used as a -Python 2 statement. Patch by Sanyam Khurana. diff --git a/Misc/NEWS.d/next/Core and Builtins/0467.bpo-30604.zGPGoX.rst b/Misc/NEWS.d/next/Core and Builtins/0467.bpo-30604.zGPGoX.rst deleted file mode 100644 index 3ec21b4a6d..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0467.bpo-30604.zGPGoX.rst +++ /dev/null @@ -1 +0,0 @@ -Move co_extra_freefuncs from per-thread to per-interpreter to avoid crashes. diff --git a/Misc/NEWS.d/next/Core and Builtins/0468.bpo-30736.kA4J9v.rst b/Misc/NEWS.d/next/Core and Builtins/0468.bpo-30736.kA4J9v.rst deleted file mode 100644 index 07d6ceb5d9..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0468.bpo-30736.kA4J9v.rst +++ /dev/null @@ -1 +0,0 @@ -The internal unicodedata database has been upgraded to Unicode 10.0. diff --git a/Misc/NEWS.d/next/Core and Builtins/0469.bpo-30814.HcYsfM.rst b/Misc/NEWS.d/next/Core and Builtins/0469.bpo-30814.HcYsfM.rst deleted file mode 100644 index 8d63a46cbd..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0469.bpo-30814.HcYsfM.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed a race condition when import a submodule from a package. diff --git a/Misc/NEWS.d/next/Core and Builtins/0470.bpo-31161.FcUAA0.rst b/Misc/NEWS.d/next/Core and Builtins/0470.bpo-31161.FcUAA0.rst deleted file mode 100644 index 3ecd404373..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/0470.bpo-31161.FcUAA0.rst +++ /dev/null @@ -1,2 +0,0 @@ -Make sure the 'Missing parentheses' syntax error message is only applied to -SyntaxError, not to subclasses. Patch by Martijn Pieters. diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-06-26-14-29-50.bpo-30765.Q5iBmf.rst b/Misc/NEWS.d/next/Core and Builtins/2017-06-26-14-29-50.bpo-30765.Q5iBmf.rst deleted file mode 100644 index 08d76cb965..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2017-06-26-14-29-50.bpo-30765.Q5iBmf.rst +++ /dev/null @@ -1,2 +0,0 @@ -Avoid blocking in pthread_mutex_lock() when PyThread_acquire_lock() is asked -not to block. diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-06-28-21-07-32.bpo-30703.ULCdFp.rst b/Misc/NEWS.d/next/Core and Builtins/2017-06-28-21-07-32.bpo-30703.ULCdFp.rst deleted file mode 100644 index 9adeb450ae..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2017-06-28-21-07-32.bpo-30703.ULCdFp.rst +++ /dev/null @@ -1,6 +0,0 @@ -Improve signal delivery. - -Avoid using Py_AddPendingCall from signal handler, to avoid calling signal- -unsafe functions. The tests I'm adding here fail without the rest of the -patch, on Linux and OS X. This means our signal delivery logic had defects -(some signals could be lost). diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-07-11-06-31-32.bpo-30876.x35jZX.rst b/Misc/NEWS.d/next/Core and Builtins/2017-07-11-06-31-32.bpo-30876.x35jZX.rst deleted file mode 100644 index 4f3f4d2919..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2017-07-11-06-31-32.bpo-30876.x35jZX.rst +++ /dev/null @@ -1,3 +0,0 @@ -Relative import from unloaded package now reimports the package instead of -failing with SystemError. Relative import from non-package now fails with -ImportError rather than SystemError. diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-07-17-12-12-59.bpo-30808.bA3zOv.rst b/Misc/NEWS.d/next/Core and Builtins/2017-07-17-12-12-59.bpo-30808.bA3zOv.rst deleted file mode 100644 index 8adbbe7dc3..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2017-07-17-12-12-59.bpo-30808.bA3zOv.rst +++ /dev/null @@ -1 +0,0 @@ -Use _Py_atomic API for concurrency-sensitive signal state. diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-07-21-07-39-05.bpo-30978.f0jODc.rst b/Misc/NEWS.d/next/Core and Builtins/2017-07-21-07-39-05.bpo-30978.f0jODc.rst deleted file mode 100644 index bb67a9fb24..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2017-07-21-07-39-05.bpo-30978.f0jODc.rst +++ /dev/null @@ -1,2 +0,0 @@ -str.format_map() now passes key lookup exceptions through. -Previously any exception was replaced with a KeyError exception. diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-07-31-13-28-53.bpo-31071.P9UBDy.rst b/Misc/NEWS.d/next/Core and Builtins/2017-07-31-13-28-53.bpo-31071.P9UBDy.rst deleted file mode 100644 index c34d4751bf..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2017-07-31-13-28-53.bpo-31071.P9UBDy.rst +++ /dev/null @@ -1,2 +0,0 @@ -Avoid masking original TypeError in call with * unpacking when other -arguments are passed. diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-08-01-18-48-30.bpo-31095.bXWZDb.rst b/Misc/NEWS.d/next/Core and Builtins/2017-08-01-18-48-30.bpo-31095.bXWZDb.rst deleted file mode 100644 index ca1f8bafba..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2017-08-01-18-48-30.bpo-31095.bXWZDb.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix potential crash during GC caused by ``tp_dealloc`` which doesn't call -``PyObject_GC_UnTrack()``. diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-08-08-12-00-29.bpo-30747.g2kZRT.rst b/Misc/NEWS.d/next/Core and Builtins/2017-08-08-12-00-29.bpo-30747.g2kZRT.rst deleted file mode 100644 index 04a726a7e6..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2017-08-08-12-00-29.bpo-30747.g2kZRT.rst +++ /dev/null @@ -1,2 +0,0 @@ -Add a non-dummy implementation of _Py_atomic_store and _Py_atomic_load on -MSVC. diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-08-09-09-40-54.bpo-31070.oDyLiI.rst b/Misc/NEWS.d/next/Core and Builtins/2017-08-09-09-40-54.bpo-31070.oDyLiI.rst deleted file mode 100644 index 8f9d7b534b..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2017-08-09-09-40-54.bpo-31070.oDyLiI.rst +++ /dev/null @@ -1 +0,0 @@ -Fix a race condition in importlib _get_module_lock(). diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-08-18-15-15-20.bpo-30721.Hmc56z.rst b/Misc/NEWS.d/next/Core and Builtins/2017-08-18-15-15-20.bpo-30721.Hmc56z.rst deleted file mode 100644 index da553d654e..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2017-08-18-15-15-20.bpo-30721.Hmc56z.rst +++ /dev/null @@ -1,2 +0,0 @@ -``print`` now shows correct usage hint for using Python 2 redirection -syntax. Patch by Sanyam Khurana. diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-08-24-13-34-49.bpo-31243.dRJzqR.rst b/Misc/NEWS.d/next/Core and Builtins/2017-08-24-13-34-49.bpo-31243.dRJzqR.rst deleted file mode 100644 index 166458f2b7..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2017-08-24-13-34-49.bpo-31243.dRJzqR.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix a crash in some methods of `io.TextIOWrapper`, when the decoder's state -is invalid. Patch by Oren Milman. diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-08-25-20-43-22.bpo-31271.YMduKF.rst b/Misc/NEWS.d/next/Core and Builtins/2017-08-25-20-43-22.bpo-31271.YMduKF.rst deleted file mode 100644 index 7bb7880105..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2017-08-25-20-43-22.bpo-31271.YMduKF.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix an assertion failure in the write() method of `io.TextIOWrapper`, when -the encoder doesn't return a bytes object. Patch by Oren Milman. diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-08-28-11-51-29.bpo-31291.t8QggK.rst b/Misc/NEWS.d/next/Core and Builtins/2017-08-28-11-51-29.bpo-31291.t8QggK.rst deleted file mode 100644 index 0576785c7d..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2017-08-28-11-51-29.bpo-31291.t8QggK.rst +++ /dev/null @@ -1,3 +0,0 @@ -Fix an assertion failure in `zipimport.zipimporter.get_data` on Windows, -when the return value of ``pathname.replace('/','\\')`` isn't a string. -Patch by Oren Milman. diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-09-04-14-57-27.bpo-31343.Kl_fS5.rst b/Misc/NEWS.d/next/Core and Builtins/2017-09-04-14-57-27.bpo-31343.Kl_fS5.rst deleted file mode 100644 index 7def54336f..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2017-09-04-14-57-27.bpo-31343.Kl_fS5.rst +++ /dev/null @@ -1,2 +0,0 @@ -Include sys/sysmacros.h for major(), minor(), and makedev(). GNU C libray -plans to remove the functions from sys/types.h. diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-09-04-16-35-06.bpo-31347.KDuf2w.rst b/Misc/NEWS.d/next/Core and Builtins/2017-09-04-16-35-06.bpo-31347.KDuf2w.rst deleted file mode 100644 index 52a6168e63..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2017-09-04-16-35-06.bpo-31347.KDuf2w.rst +++ /dev/null @@ -1 +0,0 @@ -Fix possible undefined behavior in _PyObject_FastCall_Prepend. diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-09-05-13-47-49.bpo-30860.MROpZw.rst b/Misc/NEWS.d/next/Core and Builtins/2017-09-05-13-47-49.bpo-30860.MROpZw.rst deleted file mode 100644 index d8e9d5eeea..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2017-09-05-13-47-49.bpo-30860.MROpZw.rst +++ /dev/null @@ -1,2 +0,0 @@ -Consolidate CPython's global runtime state under a single struct. This -improves discoverability of the runtime state. diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-09-06-10-47-29.bpo-30465.oe-3GD.rst b/Misc/NEWS.d/next/Core and Builtins/2017-09-06-10-47-29.bpo-30465.oe-3GD.rst deleted file mode 100644 index 0d9138ed82..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2017-09-06-10-47-29.bpo-30465.oe-3GD.rst +++ /dev/null @@ -1,3 +0,0 @@ -Location information (``lineno`` and ``col_offset``) in f-strings is now -(mostly) correct. This fixes tools like flake8 from showing warnings on the -wrong line (typically the first line of the file). diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-09-06-15-25-59.bpo-31373.dC4jd4.rst b/Misc/NEWS.d/next/Core and Builtins/2017-09-06-15-25-59.bpo-31373.dC4jd4.rst deleted file mode 100644 index 3ffb409347..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2017-09-06-15-25-59.bpo-31373.dC4jd4.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix several possible instances of undefined behavior due to floating-point -demotions. diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-09-06-20-25-47.bpo-31344.XpFs-q.rst b/Misc/NEWS.d/next/Core and Builtins/2017-09-06-20-25-47.bpo-31344.XpFs-q.rst deleted file mode 100644 index 2b3a386d2b..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2017-09-06-20-25-47.bpo-31344.XpFs-q.rst +++ /dev/null @@ -1,5 +0,0 @@ -For finer control of tracing behaviour when testing the interpreter, two new -frame attributes have been added to control the emission of particular trace -events: ``f_trace_lines`` (``True`` by default) to turn off per-line trace -events; and ``f_trace_opcodes`` (``False`` by default) to turn on per-opcode -trace events. diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-09-11-08-50-41.bpo-31411.HZz82I.rst b/Misc/NEWS.d/next/Core and Builtins/2017-09-11-08-50-41.bpo-31411.HZz82I.rst deleted file mode 100644 index ad1b4b8870..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2017-09-11-08-50-41.bpo-31411.HZz82I.rst +++ /dev/null @@ -1,2 +0,0 @@ -Raise a TypeError instead of SystemError in case warnings.onceregistry is -not a dictionary. Patch by Oren Milman. diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-09-11-09-11-20.bpo-28411.Ax91lz.rst b/Misc/NEWS.d/next/Core and Builtins/2017-09-11-09-11-20.bpo-28411.Ax91lz.rst deleted file mode 100644 index a45f9d8624..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2017-09-11-09-11-20.bpo-28411.Ax91lz.rst +++ /dev/null @@ -1,4 +0,0 @@ -Switch to the abstract API when dealing with ``PyInterpreterState.modules``. -This allows later support for all dict subclasses and other Mapping -implementations. Also add a ``PyImport_GetModule()`` function to reduce -a bunch of duplicated code. diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-09-11-09-24-21.bpo-28411.12SpAm.rst b/Misc/NEWS.d/next/Core and Builtins/2017-09-11-09-24-21.bpo-28411.12SpAm.rst deleted file mode 100644 index 47f9fa684e..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2017-09-11-09-24-21.bpo-28411.12SpAm.rst +++ /dev/null @@ -1,3 +0,0 @@ -Change direct usage of PyInterpreterState.modules to PyImport_GetModuleDict(). -Also introduce more uniformity in other code that deals with sys.modules. -This helps reduce complications when working on sys.modules. diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-09-11-12-54-35.bpo-31416.2hlQFd.rst b/Misc/NEWS.d/next/Core and Builtins/2017-09-11-12-54-35.bpo-31416.2hlQFd.rst deleted file mode 100644 index 148a5c8eda..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2017-09-11-12-54-35.bpo-31416.2hlQFd.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix assertion failures in case of a bad warnings.filters or -warnings.defaultaction. Patch by Oren Milman. diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-09-13-13-03-52.bpo-31418.rS-FlC.rst b/Misc/NEWS.d/next/Core and Builtins/2017-09-13-13-03-52.bpo-31418.rS-FlC.rst deleted file mode 100644 index 6d6cbd8114..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2017-09-13-13-03-52.bpo-31418.rS-FlC.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix an assertion failure in `PyErr_WriteUnraisable()` in case of an -exception with a bad ``__module__`` attribute. Patch by Oren Milman. diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-09-14-19-47-57.bpo-31471.0yiA5Q.rst b/Misc/NEWS.d/next/Core and Builtins/2017-09-14-19-47-57.bpo-31471.0yiA5Q.rst deleted file mode 100644 index 73c444444f..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2017-09-14-19-47-57.bpo-31471.0yiA5Q.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix an assertion failure in `subprocess.Popen()` on Windows, in case the env -argument has a bad keys() method. Patch by Oren Milman. diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-09-16-13-32-35.bpo-31490.r7m2sj.rst b/Misc/NEWS.d/next/Core and Builtins/2017-09-16-13-32-35.bpo-31490.r7m2sj.rst deleted file mode 100644 index d95e825f13..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2017-09-16-13-32-35.bpo-31490.r7m2sj.rst +++ /dev/null @@ -1,3 +0,0 @@ -Fix an assertion failure in `ctypes` class definition, in case the class has -an attribute whose name is specified in ``_anonymous_`` but not in -``_fields_``. Patch by Oren Milman. diff --git a/Misc/NEWS.d/next/Documentation/0051.bpo-28513.L3joAz.rst b/Misc/NEWS.d/next/Documentation/0051.bpo-28513.L3joAz.rst deleted file mode 100644 index b758724fb7..0000000000 --- a/Misc/NEWS.d/next/Documentation/0051.bpo-28513.L3joAz.rst +++ /dev/null @@ -1 +0,0 @@ -Documented command-line interface of zipfile. diff --git a/Misc/NEWS.d/next/Documentation/0052.bpo-23722.nFjY3C.rst b/Misc/NEWS.d/next/Documentation/0052.bpo-23722.nFjY3C.rst deleted file mode 100644 index 4708fb2619..0000000000 --- a/Misc/NEWS.d/next/Documentation/0052.bpo-23722.nFjY3C.rst +++ /dev/null @@ -1,3 +0,0 @@ -The data model reference and the porting section in the 3.6 What's New guide -now cover the additional ``__classcell__`` handling needed for custom -metaclasses to fully support PEP 487 and zero-argument ``super()``. diff --git a/Misc/NEWS.d/next/Documentation/0053.bpo-29349.PjSo-t.rst b/Misc/NEWS.d/next/Documentation/0053.bpo-29349.PjSo-t.rst deleted file mode 100644 index 09f6f3889b..0000000000 --- a/Misc/NEWS.d/next/Documentation/0053.bpo-29349.PjSo-t.rst +++ /dev/null @@ -1 +0,0 @@ -Fix Python 2 syntax in code for building the documentation. diff --git a/Misc/NEWS.d/next/Documentation/0054.bpo-26355.SDq_8Y.rst b/Misc/NEWS.d/next/Documentation/0054.bpo-26355.SDq_8Y.rst deleted file mode 100644 index 2614c0ba85..0000000000 --- a/Misc/NEWS.d/next/Documentation/0054.bpo-26355.SDq_8Y.rst +++ /dev/null @@ -1,2 +0,0 @@ -Add canonical header link on each page to corresponding major version of the -documentation. Patch by Matthias Bussonnier. diff --git a/Misc/NEWS.d/next/Documentation/0055.bpo-25008.CeIzyU.rst b/Misc/NEWS.d/next/Documentation/0055.bpo-25008.CeIzyU.rst deleted file mode 100644 index ea4046ead7..0000000000 --- a/Misc/NEWS.d/next/Documentation/0055.bpo-25008.CeIzyU.rst +++ /dev/null @@ -1,2 +0,0 @@ -Document smtpd.py as effectively deprecated and add a pointer to aiosmtpd, a -third-party asyncio-based replacement. diff --git a/Misc/NEWS.d/next/Documentation/0056.bpo-28929.Md7kb0.rst b/Misc/NEWS.d/next/Documentation/0056.bpo-28929.Md7kb0.rst deleted file mode 100644 index acacdd0132..0000000000 --- a/Misc/NEWS.d/next/Documentation/0056.bpo-28929.Md7kb0.rst +++ /dev/null @@ -1 +0,0 @@ -Link the documentation to its source file on GitHub. diff --git a/Misc/NEWS.d/next/Documentation/0057.bpo-19824.We9an6.rst b/Misc/NEWS.d/next/Documentation/0057.bpo-19824.We9an6.rst deleted file mode 100644 index 3410f7085c..0000000000 --- a/Misc/NEWS.d/next/Documentation/0057.bpo-19824.We9an6.rst +++ /dev/null @@ -1,3 +0,0 @@ -Improve the documentation for, and links to, template strings by emphasizing -their utility for internationalization, and by clarifying some usage -constraints. (See also: bpo-20314, bpo-12518) diff --git a/Misc/NEWS.d/next/Documentation/0058.bpo-26985.NB5_9S.rst b/Misc/NEWS.d/next/Documentation/0058.bpo-26985.NB5_9S.rst deleted file mode 100644 index 3413e05475..0000000000 --- a/Misc/NEWS.d/next/Documentation/0058.bpo-26985.NB5_9S.rst +++ /dev/null @@ -1 +0,0 @@ -Add missing info of code object in inspect documentation. diff --git a/Misc/NEWS.d/next/Documentation/0059.bpo-30052.TpmpaF.rst b/Misc/NEWS.d/next/Documentation/0059.bpo-30052.TpmpaF.rst deleted file mode 100644 index fe8eb2aaa0..0000000000 --- a/Misc/NEWS.d/next/Documentation/0059.bpo-30052.TpmpaF.rst +++ /dev/null @@ -1,8 +0,0 @@ -the link targets for :func:`bytes` and :func:`bytearray` are now their -respective type definitions, rather than the corresponding builtin function -entries. Use :ref:`bytes <func-bytes>` and :ref:`bytearray <func-bytearray>` -to reference the latter. - -In order to ensure this and future cross-reference updates are applied -automatically, the daily documentation builds now disable the default output -caching features in Sphinx. diff --git a/Misc/NEWS.d/next/Documentation/0060.bpo-30176.VivmCg.rst b/Misc/NEWS.d/next/Documentation/0060.bpo-30176.VivmCg.rst deleted file mode 100644 index df73aeda64..0000000000 --- a/Misc/NEWS.d/next/Documentation/0060.bpo-30176.VivmCg.rst +++ /dev/null @@ -1 +0,0 @@ -Add missing attribute related constants in curses documentation. diff --git a/Misc/NEWS.d/next/Documentation/2017-07-29-14-55-50.bpo-30803.6hutqQ.rst b/Misc/NEWS.d/next/Documentation/2017-07-29-14-55-50.bpo-30803.6hutqQ.rst deleted file mode 100644 index 4699713ee6..0000000000 --- a/Misc/NEWS.d/next/Documentation/2017-07-29-14-55-50.bpo-30803.6hutqQ.rst +++ /dev/null @@ -1 +0,0 @@ -Clarify doc on truth value testing. Original patch by Peter Thomassen. diff --git a/Misc/NEWS.d/next/Documentation/2017-08-31.bpo-31128.uoa3cr.rst b/Misc/NEWS.d/next/Documentation/2017-08-31.bpo-31128.uoa3cr.rst deleted file mode 100644 index 480ec6b286..0000000000 --- a/Misc/NEWS.d/next/Documentation/2017-08-31.bpo-31128.uoa3cr.rst +++ /dev/null @@ -1 +0,0 @@ -Allow the pydoc server to bind to arbitrary hostnames. diff --git a/Misc/NEWS.d/next/Documentation/2017-09-06-10-11-57.bpo-21649.EUvqA9.rst b/Misc/NEWS.d/next/Documentation/2017-09-06-10-11-57.bpo-21649.EUvqA9.rst deleted file mode 100644 index a09985aa3d..0000000000 --- a/Misc/NEWS.d/next/Documentation/2017-09-06-10-11-57.bpo-21649.EUvqA9.rst +++ /dev/null @@ -1 +0,0 @@ -Add RFC 7525 and Mozilla server side TLS links to SSL documentation. diff --git a/Misc/NEWS.d/next/Documentation/2017-09-07-20-49-09.bpo-31294.WgI18w.rst b/Misc/NEWS.d/next/Documentation/2017-09-07-20-49-09.bpo-31294.WgI18w.rst deleted file mode 100644 index 2c8f850769..0000000000 --- a/Misc/NEWS.d/next/Documentation/2017-09-07-20-49-09.bpo-31294.WgI18w.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix incomplete code snippet in the ZeroMQSocketListener and -ZeroMQSocketHandler examples and adapt them to Python 3. diff --git a/Misc/NEWS.d/next/IDLE/0089.bpo-28572.1_duKY.rst b/Misc/NEWS.d/next/IDLE/0089.bpo-28572.1_duKY.rst deleted file mode 100644 index efc3bc8c76..0000000000 --- a/Misc/NEWS.d/next/IDLE/0089.bpo-28572.1_duKY.rst +++ /dev/null @@ -1,2 +0,0 @@ -Add 10% to coverage of IDLE's test_configdialog. Update and augment -description of the configuration system. diff --git a/Misc/NEWS.d/next/IDLE/0090.bpo-29071.FCOpJn.rst b/Misc/NEWS.d/next/IDLE/0090.bpo-29071.FCOpJn.rst deleted file mode 100644 index 504d803c7e..0000000000 --- a/Misc/NEWS.d/next/IDLE/0090.bpo-29071.FCOpJn.rst +++ /dev/null @@ -1 +0,0 @@ -IDLE colors f-string prefixes (but not invalid ur prefixes). diff --git a/Misc/NEWS.d/next/IDLE/0091.bpo-30303.2L2F-4.rst b/Misc/NEWS.d/next/IDLE/0091.bpo-30303.2L2F-4.rst deleted file mode 100644 index 3c30eb8b67..0000000000 --- a/Misc/NEWS.d/next/IDLE/0091.bpo-30303.2L2F-4.rst +++ /dev/null @@ -1,2 +0,0 @@ -Add _utest option to textview; add new tests. Increase coverage to 100%. -Patches by Louie Lu and Terry Jan Reedy. diff --git a/Misc/NEWS.d/next/IDLE/0092.bpo-30290.fZ3kod.rst b/Misc/NEWS.d/next/IDLE/0092.bpo-30290.fZ3kod.rst deleted file mode 100644 index fb4e25feb9..0000000000 --- a/Misc/NEWS.d/next/IDLE/0092.bpo-30290.fZ3kod.rst +++ /dev/null @@ -1,2 +0,0 @@ -Help-about: use pep8 names and add tests. Increase coverage to 100%. Patches -by Louie Lu, Cheryl Sabella, and Terry Jan Reedy. diff --git a/Misc/NEWS.d/next/IDLE/0093.bpo-30495.I3i5vL.rst b/Misc/NEWS.d/next/IDLE/0093.bpo-30495.I3i5vL.rst deleted file mode 100644 index 13ac32b24c..0000000000 --- a/Misc/NEWS.d/next/IDLE/0093.bpo-30495.I3i5vL.rst +++ /dev/null @@ -1,2 +0,0 @@ -Add docstrings for textview.py and use PEP8 names. Patches by Cheryl Sabella -and Terry Jan Reedy. diff --git a/Misc/NEWS.d/next/IDLE/0094.bpo-30642.3Zujzt.rst b/Misc/NEWS.d/next/IDLE/0094.bpo-30642.3Zujzt.rst deleted file mode 100644 index ac6b5158dd..0000000000 --- a/Misc/NEWS.d/next/IDLE/0094.bpo-30642.3Zujzt.rst +++ /dev/null @@ -1 +0,0 @@ -Fix reference leaks in IDLE tests. Patches by Louie Lu and Terry Jan Reedy. diff --git a/Misc/NEWS.d/next/IDLE/0095.bpo-25514.882pXa.rst b/Misc/NEWS.d/next/IDLE/0095.bpo-25514.882pXa.rst deleted file mode 100644 index b92e6f9af0..0000000000 --- a/Misc/NEWS.d/next/IDLE/0095.bpo-25514.882pXa.rst +++ /dev/null @@ -1,2 +0,0 @@ -Add doc subsubsection about IDLE failure to start. Popup no-connection -message directs users to this section. diff --git a/Misc/NEWS.d/next/IDLE/0096.bpo-15786._XRbaR.rst b/Misc/NEWS.d/next/IDLE/0096.bpo-15786._XRbaR.rst deleted file mode 100644 index 1c8141e7af..0000000000 --- a/Misc/NEWS.d/next/IDLE/0096.bpo-15786._XRbaR.rst +++ /dev/null @@ -1,4 +0,0 @@ -Fix several problems with IDLE's autocompletion box. The following should -now work: clicking on selection box items; using the scrollbar; selecting an -item by hitting Return. Hangs on MacOSX should no longer happen. Patch by -Louie Lu. diff --git a/Misc/NEWS.d/next/IDLE/2017-06-26-00-28-59.bpo-6739.x5MfhB.rst b/Misc/NEWS.d/next/IDLE/2017-06-26-00-28-59.bpo-6739.x5MfhB.rst deleted file mode 100644 index fee904d9e7..0000000000 --- a/Misc/NEWS.d/next/IDLE/2017-06-26-00-28-59.bpo-6739.x5MfhB.rst +++ /dev/null @@ -1,3 +0,0 @@ -IDLE: Verify user-entered key sequences by trying to bind them with tk. Add -tests for all 3 validation functions. Original patch by G Polo. Tests added -by Cheryl Sabella. diff --git a/Misc/NEWS.d/next/IDLE/2017-06-26-15-47-13.bpo-30728.qH4TGL.rst b/Misc/NEWS.d/next/IDLE/2017-06-26-15-47-13.bpo-30728.qH4TGL.rst deleted file mode 100644 index 014eff369d..0000000000 --- a/Misc/NEWS.d/next/IDLE/2017-06-26-15-47-13.bpo-30728.qH4TGL.rst +++ /dev/null @@ -1,4 +0,0 @@ -Review and change idlelib.configdialog names. -Lowercase method and attribute names. -Replace 'colour' with 'color', expand overly cryptic names, delete unneeded underscores. -Replace ``import *`` with specific imports. Patches by Cheryl Sabella. diff --git a/Misc/NEWS.d/next/IDLE/2017-06-26-22-45-27.bpo-29910.mqHh7u.rst b/Misc/NEWS.d/next/IDLE/2017-06-26-22-45-27.bpo-29910.mqHh7u.rst deleted file mode 100644 index 5157f8bb92..0000000000 --- a/Misc/NEWS.d/next/IDLE/2017-06-26-22-45-27.bpo-29910.mqHh7u.rst +++ /dev/null @@ -1,3 +0,0 @@ -IDLE no longer deletes a character after commenting out a region by a key -shortcut. Add ``return 'break'`` for this and other potential conflicts -between IDLE and default key bindings. diff --git a/Misc/NEWS.d/next/IDLE/2017-06-27-00-29-56.bpo-21519.fTj9T0.rst b/Misc/NEWS.d/next/IDLE/2017-06-27-00-29-56.bpo-21519.fTj9T0.rst deleted file mode 100644 index b224f6b892..0000000000 --- a/Misc/NEWS.d/next/IDLE/2017-06-27-00-29-56.bpo-21519.fTj9T0.rst +++ /dev/null @@ -1,2 +0,0 @@ -IDLE's basic custom key entry dialog now detects duplicates properly. -Original patch by Saimadhav Heblikar. diff --git a/Misc/NEWS.d/next/IDLE/2017-06-27-01-40-34.bpo-30674.ppK_q8.rst b/Misc/NEWS.d/next/IDLE/2017-06-27-01-40-34.bpo-30674.ppK_q8.rst deleted file mode 100644 index 4b718fef01..0000000000 --- a/Misc/NEWS.d/next/IDLE/2017-06-27-01-40-34.bpo-30674.ppK_q8.rst +++ /dev/null @@ -1 +0,0 @@ -IDLE: add docstrings to grep module. Patch by Cheryl Sabella diff --git a/Misc/NEWS.d/next/IDLE/2017-06-27-19-05-40.bpo-30723.rQh06y.rst b/Misc/NEWS.d/next/IDLE/2017-06-27-19-05-40.bpo-30723.rQh06y.rst deleted file mode 100644 index ceb42a2bbc..0000000000 --- a/Misc/NEWS.d/next/IDLE/2017-06-27-19-05-40.bpo-30723.rQh06y.rst +++ /dev/null @@ -1,5 +0,0 @@ -IDLE: Make several improvements to parenmatch. Add 'parens' style to -highlight both opener and closer. Make 'default' style, which is not -default, a synonym for 'opener'. Make time-delay work the same with all -styles. Add help for config dialog extensions tab, including help for -parenmatch. Add new tests. Original patch by Charles Wohlganger. diff --git a/Misc/NEWS.d/next/IDLE/2017-06-29-18-23-06.bpo-30495.qIWgc4.rst b/Misc/NEWS.d/next/IDLE/2017-06-29-18-23-06.bpo-30495.qIWgc4.rst deleted file mode 100644 index 5e046e0069..0000000000 --- a/Misc/NEWS.d/next/IDLE/2017-06-29-18-23-06.bpo-30495.qIWgc4.rst +++ /dev/null @@ -1,2 +0,0 @@ -IDLE: Improve textview with docstrings, PEP8 names, and more tests. Patch by -Cheryl Sabella. diff --git a/Misc/NEWS.d/next/IDLE/2017-07-04-22-45-46.bpo-30777.uxzlMB.rst b/Misc/NEWS.d/next/IDLE/2017-07-04-22-45-46.bpo-30777.uxzlMB.rst deleted file mode 100644 index b7118bf2c2..0000000000 --- a/Misc/NEWS.d/next/IDLE/2017-07-04-22-45-46.bpo-30777.uxzlMB.rst +++ /dev/null @@ -1,2 +0,0 @@ -IDLE: configdialog - Add docstrings and fix comments. Patch by Cheryl -Sabella. diff --git a/Misc/NEWS.d/next/IDLE/2017-07-07-20-26-37.bpo-30779.8KXEXN.rst b/Misc/NEWS.d/next/IDLE/2017-07-07-20-26-37.bpo-30779.8KXEXN.rst deleted file mode 100644 index 1d0dc18130..0000000000 --- a/Misc/NEWS.d/next/IDLE/2017-07-07-20-26-37.bpo-30779.8KXEXN.rst +++ /dev/null @@ -1,8 +0,0 @@ -IDLE: Factor ConfigChanges class from configdialog, put in config; test. * -In config, put dump test code in a function; run it and unittest in 'if -__name__ == '__main__'. * Add class config.ConfigChanges based on -changes_class_v4.py on bpo issue. * Add class test_config.ChangesTest, -partly using configdialog_tests_v1.py. * Revise configdialog to use -ConfigChanges; see tracker msg297804. * Revise test_configdialog to match -configdialog changes. * Remove configdialog functions unused or moved to -ConfigChanges. Cheryl Sabella contributed parts of the patch. diff --git a/Misc/NEWS.d/next/IDLE/2017-07-07-21-10-55.bpo-8231.yEge3L.rst b/Misc/NEWS.d/next/IDLE/2017-07-07-21-10-55.bpo-8231.yEge3L.rst deleted file mode 100644 index c96cc4e143..0000000000 --- a/Misc/NEWS.d/next/IDLE/2017-07-07-21-10-55.bpo-8231.yEge3L.rst +++ /dev/null @@ -1 +0,0 @@ -IDLE: call config.IdleConf.GetUserCfgDir only once. diff --git a/Misc/NEWS.d/next/IDLE/2017-07-08-17-57-04.bpo-30870.IcR2pf.rst b/Misc/NEWS.d/next/IDLE/2017-07-08-17-57-04.bpo-30870.IcR2pf.rst deleted file mode 100644 index 1bd0cbb6ab..0000000000 --- a/Misc/NEWS.d/next/IDLE/2017-07-08-17-57-04.bpo-30870.IcR2pf.rst +++ /dev/null @@ -1,2 +0,0 @@ -IDLE: In Settings dialog, select font with Up, Down keys as well as mouse. -Initial patch by Louie Lu. diff --git a/Misc/NEWS.d/next/IDLE/2017-07-09-23-53-00.bpo-30851.AHXBYa.rst b/Misc/NEWS.d/next/IDLE/2017-07-09-23-53-00.bpo-30851.AHXBYa.rst deleted file mode 100644 index 5ed7c8bb1a..0000000000 --- a/Misc/NEWS.d/next/IDLE/2017-07-09-23-53-00.bpo-30851.AHXBYa.rst +++ /dev/null @@ -1,2 +0,0 @@ -IDLE: Remove unused variables in configdialog. One is a duplicate, one is -set but cannot be altered by users. Patch by Cheryl Sabella. diff --git a/Misc/NEWS.d/next/IDLE/2017-07-11-02-21-42.bpo-30881.4KAq_9.rst b/Misc/NEWS.d/next/IDLE/2017-07-11-02-21-42.bpo-30881.4KAq_9.rst deleted file mode 100644 index 4e4e0e69a0..0000000000 --- a/Misc/NEWS.d/next/IDLE/2017-07-11-02-21-42.bpo-30881.4KAq_9.rst +++ /dev/null @@ -1 +0,0 @@ -IDLE: Add docstrings to browser.py. Patch by Cheryl Sabella. diff --git a/Misc/NEWS.d/next/IDLE/2017-07-11-02-26-17.bpo-30899.SQmVO8.rst b/Misc/NEWS.d/next/IDLE/2017-07-11-02-26-17.bpo-30899.SQmVO8.rst deleted file mode 100644 index 665c7cd5bb..0000000000 --- a/Misc/NEWS.d/next/IDLE/2017-07-11-02-26-17.bpo-30899.SQmVO8.rst +++ /dev/null @@ -1 +0,0 @@ -IDLE: Add tests for ConfigParser subclasses in config. Patch by Louie Lu. diff --git a/Misc/NEWS.d/next/IDLE/2017-07-13-23-07-33.bpo-30913.aezn_e.rst b/Misc/NEWS.d/next/IDLE/2017-07-13-23-07-33.bpo-30913.aezn_e.rst deleted file mode 100644 index 23a9fe86cc..0000000000 --- a/Misc/NEWS.d/next/IDLE/2017-07-13-23-07-33.bpo-30913.aezn_e.rst +++ /dev/null @@ -1,3 +0,0 @@ -IDLE: Document ConfigDialog tk Vars, methods, and widgets in docstrings This -will facilitate improving the dialog and splitting up the class. Original -patch by Cheryl Sabella. diff --git a/Misc/NEWS.d/next/IDLE/2017-07-15-22-26-57.bpo-30934.BanuSB.rst b/Misc/NEWS.d/next/IDLE/2017-07-15-22-26-57.bpo-30934.BanuSB.rst deleted file mode 100644 index 53beb43159..0000000000 --- a/Misc/NEWS.d/next/IDLE/2017-07-15-22-26-57.bpo-30934.BanuSB.rst +++ /dev/null @@ -1,7 +0,0 @@ -Document coverage details for idlelib tests. - -* Add section to idlelib/idle-test/README.txt. - -* Include check that branches are taken both ways. - -* Exclude IDLE-specific code that does not run during unit tests. diff --git a/Misc/NEWS.d/next/IDLE/2017-07-17-23-35-57.bpo-30917.hSiuuO.rst b/Misc/NEWS.d/next/IDLE/2017-07-17-23-35-57.bpo-30917.hSiuuO.rst deleted file mode 100644 index c2cc9ccdd1..0000000000 --- a/Misc/NEWS.d/next/IDLE/2017-07-17-23-35-57.bpo-30917.hSiuuO.rst +++ /dev/null @@ -1,3 +0,0 @@ -Add tests for idlelib.config.IdleConf. -Increase coverage from 46% to 96%. -Patch by Louie Lu. diff --git a/Misc/NEWS.d/next/IDLE/2017-07-21-00-54-52.bpo-28523.OPcqYJ.rst b/Misc/NEWS.d/next/IDLE/2017-07-21-00-54-52.bpo-28523.OPcqYJ.rst deleted file mode 100644 index d7c5f54c7c..0000000000 --- a/Misc/NEWS.d/next/IDLE/2017-07-21-00-54-52.bpo-28523.OPcqYJ.rst +++ /dev/null @@ -1 +0,0 @@ -IDLE: replace 'colour' with 'color' in configdialog. diff --git a/Misc/NEWS.d/next/IDLE/2017-07-21-01-55-14.bpo-30981.ZFvQPt.rst b/Misc/NEWS.d/next/IDLE/2017-07-21-01-55-14.bpo-30981.ZFvQPt.rst deleted file mode 100644 index 48d477ed2e..0000000000 --- a/Misc/NEWS.d/next/IDLE/2017-07-21-01-55-14.bpo-30981.ZFvQPt.rst +++ /dev/null @@ -1 +0,0 @@ -IDLE -- Add more configdialog font page tests. diff --git a/Misc/NEWS.d/next/IDLE/2017-07-22-18-08-41.bpo-30993.34vJkB.rst b/Misc/NEWS.d/next/IDLE/2017-07-22-18-08-41.bpo-30993.34vJkB.rst deleted file mode 100644 index 04c9434916..0000000000 --- a/Misc/NEWS.d/next/IDLE/2017-07-22-18-08-41.bpo-30993.34vJkB.rst +++ /dev/null @@ -1,5 +0,0 @@ -IDLE - Improve configdialog font page and tests. - -In configdialog: Document causal pathways in create_font_tab docstring. Simplify some attribute names. Move set_samples calls to var_changed_font (idea from Cheryl Sabella). Move related functions to positions after the create widgets function. - -In test_configdialog: Fix test_font_set so not order dependent. Fix renamed test_indent_scale so it tests the widget. Adjust tests for movement of set_samples call. Add tests for load functions. Put all font tests in one class and tab indent tests in another. Except for two lines, these tests completely cover the related functions. diff --git a/Misc/NEWS.d/next/IDLE/2017-07-25-01-28-35.bpo-31003.bYINVH.rst b/Misc/NEWS.d/next/IDLE/2017-07-25-01-28-35.bpo-31003.bYINVH.rst deleted file mode 100644 index f3dab0fd9e..0000000000 --- a/Misc/NEWS.d/next/IDLE/2017-07-25-01-28-35.bpo-31003.bYINVH.rst +++ /dev/null @@ -1 +0,0 @@ -IDLE: Add more tests for General tab. diff --git a/Misc/NEWS.d/next/IDLE/2017-07-27-10-01-14.bpo-30853.enPvvc.rst b/Misc/NEWS.d/next/IDLE/2017-07-27-10-01-14.bpo-30853.enPvvc.rst deleted file mode 100644 index 9cabca193b..0000000000 --- a/Misc/NEWS.d/next/IDLE/2017-07-27-10-01-14.bpo-30853.enPvvc.rst +++ /dev/null @@ -1,5 +0,0 @@ -IDLE -- Factor a VarTrace class out of ConfigDialog. - -Instance tracers manages pairs consisting of a tk variable and a -callback function. When tracing is turned on, setting the variable -calls the function. Test coverage for the new class is 100%. diff --git a/Misc/NEWS.d/next/IDLE/2017-07-27-14-48-42.bpo-31060.GdY_VY.rst b/Misc/NEWS.d/next/IDLE/2017-07-27-14-48-42.bpo-31060.GdY_VY.rst deleted file mode 100644 index 1d202c7fa2..0000000000 --- a/Misc/NEWS.d/next/IDLE/2017-07-27-14-48-42.bpo-31060.GdY_VY.rst +++ /dev/null @@ -1,3 +0,0 @@ -IDLE - Finish rearranging methods of ConfigDialog Grouping methods -pertaining to each tab and the buttons will aid writing tests and improving -the tabs and will enable splitting the groups into classes. diff --git a/Misc/NEWS.d/next/IDLE/2017-07-28-18-59-06.bpo-30781.ud5m18.rst b/Misc/NEWS.d/next/IDLE/2017-07-28-18-59-06.bpo-30781.ud5m18.rst deleted file mode 100644 index 3031adff71..0000000000 --- a/Misc/NEWS.d/next/IDLE/2017-07-28-18-59-06.bpo-30781.ud5m18.rst +++ /dev/null @@ -1,2 +0,0 @@ -IDLE - Use ttk widgets in ConfigDialog. -Patches by Terry Jan Reedy and Cheryl Sabella. diff --git a/Misc/NEWS.d/next/IDLE/2017-07-30-01-00-58.bpo-31004.m8cc1t.rst b/Misc/NEWS.d/next/IDLE/2017-07-30-01-00-58.bpo-31004.m8cc1t.rst deleted file mode 100644 index 47fed949d1..0000000000 --- a/Misc/NEWS.d/next/IDLE/2017-07-30-01-00-58.bpo-31004.m8cc1t.rst +++ /dev/null @@ -1,4 +0,0 @@ -IDLE - Factor FontPage(Frame) class from ConfigDialog. - -Slightly modified tests continue to pass. Fix General tests. Patch mostly by -Cheryl Sabella. diff --git a/Misc/NEWS.d/next/IDLE/2017-07-30-17-39-59.bpo-31050.AXR3kP.rst b/Misc/NEWS.d/next/IDLE/2017-07-30-17-39-59.bpo-31050.AXR3kP.rst deleted file mode 100644 index e33b2e231d..0000000000 --- a/Misc/NEWS.d/next/IDLE/2017-07-30-17-39-59.bpo-31050.AXR3kP.rst +++ /dev/null @@ -1,2 +0,0 @@ -Factor GenPage(Frame) class from ConfigDialog. The slightly modified tests -continue to pass. Patch by Cheryl Sabella. diff --git a/Misc/NEWS.d/next/IDLE/2017-07-31-23-20-51.bpo-31083.991FXm.rst b/Misc/NEWS.d/next/IDLE/2017-07-31-23-20-51.bpo-31083.991FXm.rst deleted file mode 100644 index 3bb337562d..0000000000 --- a/Misc/NEWS.d/next/IDLE/2017-07-31-23-20-51.bpo-31083.991FXm.rst +++ /dev/null @@ -1,3 +0,0 @@ -IDLE - Add an outline of a TabPage class in configdialog. -Update existing classes to match outline. -Initial patch by Cheryl Sabella. diff --git a/Misc/NEWS.d/next/IDLE/2017-08-03-14-08-42.bpo-19903.sqE1FS.rst b/Misc/NEWS.d/next/IDLE/2017-08-03-14-08-42.bpo-19903.sqE1FS.rst deleted file mode 100644 index f25fc80c3d..0000000000 --- a/Misc/NEWS.d/next/IDLE/2017-08-03-14-08-42.bpo-19903.sqE1FS.rst +++ /dev/null @@ -1,3 +0,0 @@ -IDLE: Calltips use `inspect.signature` instead of `inspect.getfullargspec`. -This improves calltips for builtins converted to use Argument Clinic. -Patch by Louie Lu. diff --git a/Misc/NEWS.d/next/IDLE/2017-08-03-17-54-02.bpo-31002.kUSgTE.rst b/Misc/NEWS.d/next/IDLE/2017-08-03-17-54-02.bpo-31002.kUSgTE.rst deleted file mode 100644 index 1708be72b8..0000000000 --- a/Misc/NEWS.d/next/IDLE/2017-08-03-17-54-02.bpo-31002.kUSgTE.rst +++ /dev/null @@ -1 +0,0 @@ -Add tests for configdialog keys tab. Patch by Cheryl Sabella. diff --git a/Misc/NEWS.d/next/IDLE/2017-08-07-14-02-56.bpo-31130.FbsC7f.rst b/Misc/NEWS.d/next/IDLE/2017-08-07-14-02-56.bpo-31130.FbsC7f.rst deleted file mode 100644 index c57728fda2..0000000000 --- a/Misc/NEWS.d/next/IDLE/2017-08-07-14-02-56.bpo-31130.FbsC7f.rst +++ /dev/null @@ -1 +0,0 @@ -IDLE -- stop leaks in test_configdialog. Initial patch by Victor Stinner. diff --git a/Misc/NEWS.d/next/IDLE/2017-08-15-12-58-23.bpo-31205.iuziZ5.rst b/Misc/NEWS.d/next/IDLE/2017-08-15-12-58-23.bpo-31205.iuziZ5.rst deleted file mode 100644 index 007a2e2fc5..0000000000 --- a/Misc/NEWS.d/next/IDLE/2017-08-15-12-58-23.bpo-31205.iuziZ5.rst +++ /dev/null @@ -1,2 +0,0 @@ -IDLE: Factor KeysPage(Frame) class from ConfigDialog. The slightly -modified tests continue to pass. Patch by Cheryl Sabella. diff --git a/Misc/NEWS.d/next/IDLE/2017-08-17-15-00-20.bpo-31001.KLxYHC.rst b/Misc/NEWS.d/next/IDLE/2017-08-17-15-00-20.bpo-31001.KLxYHC.rst deleted file mode 100644 index 5e1eeee041..0000000000 --- a/Misc/NEWS.d/next/IDLE/2017-08-17-15-00-20.bpo-31001.KLxYHC.rst +++ /dev/null @@ -1 +0,0 @@ -Add tests for configdialog highlight tab. Patch by Cheryl Sabella. diff --git a/Misc/NEWS.d/next/IDLE/2017-08-18-14-13-42.bpo-31206.F1-tKK.rst b/Misc/NEWS.d/next/IDLE/2017-08-18-14-13-42.bpo-31206.F1-tKK.rst deleted file mode 100644 index ba984065e8..0000000000 --- a/Misc/NEWS.d/next/IDLE/2017-08-18-14-13-42.bpo-31206.F1-tKK.rst +++ /dev/null @@ -1,2 +0,0 @@ -IDLE: Factor HighPage(Frame) class from ConfigDialog. Patch by Cheryl -Sabella. diff --git a/Misc/NEWS.d/next/IDLE/2017-08-24-13-48-16.bpo-27099.rENefC.rst b/Misc/NEWS.d/next/IDLE/2017-08-24-13-48-16.bpo-27099.rENefC.rst deleted file mode 100644 index 9b59fbabe5..0000000000 --- a/Misc/NEWS.d/next/IDLE/2017-08-24-13-48-16.bpo-27099.rENefC.rst +++ /dev/null @@ -1,20 +0,0 @@ -Convert IDLE's built-in 'extensions' to regular features. - -About 10 IDLE features were implemented as supposedly optional -extensions. Their different behavior could be confusing or worse for -users and not good for maintenance. Hence the conversion. - -The main difference for users is that user configurable key bindings -for builtin features are now handled uniformly. Now, editing a binding -in a keyset only affects its value in the keyset. All bindings are -defined together in the system-specific default keysets in config- -extensions.def. All custom keysets are saved as a whole in config- -extension.cfg. All take effect as soon as one clicks Apply or Ok. - -The affected events are '<<force-open-completions>>', '<<expand-word>>', -'<<force-open-calltip>>', '<<flash-paren>>', '<<format-paragraph>>', -'<<run-module>>', '<<check-module>>', and '<<zoom-height>>'. Any -(global) customizations made before 3.6.3 will not affect their keyset- -specific customization after 3.6.3. and vice versa. - -Inital patch by Charles Wohlganger. diff --git a/Misc/NEWS.d/next/IDLE/2017-08-27-15-31-33.bpo-31287.aZERfI.rst b/Misc/NEWS.d/next/IDLE/2017-08-27-15-31-33.bpo-31287.aZERfI.rst deleted file mode 100644 index 9cd55573f8..0000000000 --- a/Misc/NEWS.d/next/IDLE/2017-08-27-15-31-33.bpo-31287.aZERfI.rst +++ /dev/null @@ -1 +0,0 @@ -IDLE - Do not modify tkinter.message in test_configdialog. diff --git a/Misc/NEWS.d/next/IDLE/2017-08-27-16-49-36.bpo-30617.UHnswr.rst b/Misc/NEWS.d/next/IDLE/2017-08-27-16-49-36.bpo-30617.UHnswr.rst deleted file mode 100644 index 262674c32d..0000000000 --- a/Misc/NEWS.d/next/IDLE/2017-08-27-16-49-36.bpo-30617.UHnswr.rst +++ /dev/null @@ -1,4 +0,0 @@ -IDLE - Add docstrings and tests for outwin subclass of editor. - -Move some data and functions from the class to module level. Patch by Cheryl -Sabella. diff --git a/Misc/NEWS.d/next/IDLE/2017-08-30-00-06-58.bpo-31051.50Jp_Q.rst b/Misc/NEWS.d/next/IDLE/2017-08-30-00-06-58.bpo-31051.50Jp_Q.rst deleted file mode 100644 index fe515911b0..0000000000 --- a/Misc/NEWS.d/next/IDLE/2017-08-30-00-06-58.bpo-31051.50Jp_Q.rst +++ /dev/null @@ -1 +0,0 @@ -Rearrange IDLE condigdialog GenPage into Window, Editor, and Help sections. diff --git a/Misc/NEWS.d/next/IDLE/2017-09-11-15-46-05.bpo-31414.wiepgK.rst b/Misc/NEWS.d/next/IDLE/2017-09-11-15-46-05.bpo-31414.wiepgK.rst deleted file mode 100644 index aa49d882d0..0000000000 --- a/Misc/NEWS.d/next/IDLE/2017-09-11-15-46-05.bpo-31414.wiepgK.rst +++ /dev/null @@ -1,2 +0,0 @@ -IDLE -- fix tk entry box tests by deleting first. Adding to an int entry is -not the same as deleting and inserting because int('') will fail. diff --git a/Misc/NEWS.d/next/IDLE/2017-09-12-08-38-27.bpo-31421.mYfQNq.rst b/Misc/NEWS.d/next/IDLE/2017-09-12-08-38-27.bpo-31421.mYfQNq.rst deleted file mode 100644 index f3e4ab2232..0000000000 --- a/Misc/NEWS.d/next/IDLE/2017-09-12-08-38-27.bpo-31421.mYfQNq.rst +++ /dev/null @@ -1,4 +0,0 @@ -Document how IDLE runs tkinter programs. IDLE calls tcl/tk update in the -background in order to make live - -interaction and experimentatin with tkinter applications much easier. diff --git a/Misc/NEWS.d/next/IDLE/2017-09-14-17-53-53.bpo-31480.4WJ0pl.rst b/Misc/NEWS.d/next/IDLE/2017-09-14-17-53-53.bpo-31480.4WJ0pl.rst deleted file mode 100644 index 5999e9a8f2..0000000000 --- a/Misc/NEWS.d/next/IDLE/2017-09-14-17-53-53.bpo-31480.4WJ0pl.rst +++ /dev/null @@ -1 +0,0 @@ -IDLE - make tests pass with zzdummy extension disabled by default. diff --git a/Misc/NEWS.d/next/IDLE/2017-09-15-12-38-47.bpo-31477.n__6sa.rst b/Misc/NEWS.d/next/IDLE/2017-09-15-12-38-47.bpo-31477.n__6sa.rst deleted file mode 100644 index 4b47ed3f53..0000000000 --- a/Misc/NEWS.d/next/IDLE/2017-09-15-12-38-47.bpo-31477.n__6sa.rst +++ /dev/null @@ -1,2 +0,0 @@ -IDLE - Improve rstrip entry in doc. Strip trailing whitespace strips more -than blank spaces. Multiline string literals are not skipped. diff --git a/Misc/NEWS.d/next/IDLE/2017-09-16-01-21-20.bpo-31488.0rtXIT.rst b/Misc/NEWS.d/next/IDLE/2017-09-16-01-21-20.bpo-31488.0rtXIT.rst deleted file mode 100644 index 258fc1ba75..0000000000 --- a/Misc/NEWS.d/next/IDLE/2017-09-16-01-21-20.bpo-31488.0rtXIT.rst +++ /dev/null @@ -1,4 +0,0 @@ -IDLE - Update non-key options in former extension classes. When applying -configdialog changes, call .reload for each feature class. Change ParenMatch -so updated options affect existing instances attached to existing editor -windows. diff --git a/Misc/NEWS.d/next/IDLE/2017-09-16-23-43-39.bpo-31493.nmHMCR.rst b/Misc/NEWS.d/next/IDLE/2017-09-16-23-43-39.bpo-31493.nmHMCR.rst deleted file mode 100644 index 7fbf7b2779..0000000000 --- a/Misc/NEWS.d/next/IDLE/2017-09-16-23-43-39.bpo-31493.nmHMCR.rst +++ /dev/null @@ -1,3 +0,0 @@ -IDLE code context -- fix code update and font update timers. - -Canceling timers prevents a warning message when test_idle completes. diff --git a/Misc/NEWS.d/next/Library/0097.bpo-30177.JGIJNL.rst b/Misc/NEWS.d/next/Library/0097.bpo-30177.JGIJNL.rst deleted file mode 100644 index 8c0674a0f5..0000000000 --- a/Misc/NEWS.d/next/Library/0097.bpo-30177.JGIJNL.rst +++ /dev/null @@ -1,2 +0,0 @@ -path.resolve(strict=False) no longer cuts the path after the first element -not present in the filesystem. Patch by Antoine Pietri. diff --git a/Misc/NEWS.d/next/Library/0098.bpo-25532.ey4Yez.rst b/Misc/NEWS.d/next/Library/0098.bpo-25532.ey4Yez.rst deleted file mode 100644 index 8146dcdc6d..0000000000 --- a/Misc/NEWS.d/next/Library/0098.bpo-25532.ey4Yez.rst +++ /dev/null @@ -1,3 +0,0 @@ -inspect.unwrap() will now only try to unwrap an object -sys.getrecursionlimit() times, to protect against objects which create a new -object on every attribute access. diff --git a/Misc/NEWS.d/next/Library/0099.bpo-29581.gHCrxP.rst b/Misc/NEWS.d/next/Library/0099.bpo-29581.gHCrxP.rst deleted file mode 100644 index 10b11a4dcd..0000000000 --- a/Misc/NEWS.d/next/Library/0099.bpo-29581.gHCrxP.rst +++ /dev/null @@ -1,2 +0,0 @@ -ABCMeta.__new__ now accepts ``**kwargs``, allowing abstract base classes to -use keyword parameters in __init_subclass__. Patch by Nate Soares. diff --git a/Misc/NEWS.d/next/Library/0100.bpo-24142.IrZnFs.rst b/Misc/NEWS.d/next/Library/0100.bpo-24142.IrZnFs.rst deleted file mode 100644 index be376cdafa..0000000000 --- a/Misc/NEWS.d/next/Library/0100.bpo-24142.IrZnFs.rst +++ /dev/null @@ -1,2 +0,0 @@ -Reading a corrupt config file left configparser in an invalid state. -Original patch by Florian Höch. diff --git a/Misc/NEWS.d/next/Library/0101.bpo-27972.ZK-GFm.rst b/Misc/NEWS.d/next/Library/0101.bpo-27972.ZK-GFm.rst deleted file mode 100644 index 6ffaab0e73..0000000000 --- a/Misc/NEWS.d/next/Library/0101.bpo-27972.ZK-GFm.rst +++ /dev/null @@ -1 +0,0 @@ -Prohibit Tasks to await on themselves. diff --git a/Misc/NEWS.d/next/Library/0102.bpo-28399.QKIqRX.rst b/Misc/NEWS.d/next/Library/0102.bpo-28399.QKIqRX.rst deleted file mode 100644 index f3becad177..0000000000 --- a/Misc/NEWS.d/next/Library/0102.bpo-28399.QKIqRX.rst +++ /dev/null @@ -1 +0,0 @@ -Remove UNIX socket from FS before binding. Patch by Коренберг Марк. diff --git a/Misc/NEWS.d/next/Library/0103.bpo-28372.njcIPk.rst b/Misc/NEWS.d/next/Library/0103.bpo-28372.njcIPk.rst deleted file mode 100644 index 9adfb94081..0000000000 --- a/Misc/NEWS.d/next/Library/0103.bpo-28372.njcIPk.rst +++ /dev/null @@ -1 +0,0 @@ -Fix asyncio to support formatting of non-python coroutines. diff --git a/Misc/NEWS.d/next/Library/0104.bpo-28371.U9Zqdk.rst b/Misc/NEWS.d/next/Library/0104.bpo-28371.U9Zqdk.rst deleted file mode 100644 index bf3594afff..0000000000 --- a/Misc/NEWS.d/next/Library/0104.bpo-28371.U9Zqdk.rst +++ /dev/null @@ -1 +0,0 @@ -Deprecate passing asyncio.Handles to run_in_executor. diff --git a/Misc/NEWS.d/next/Library/0105.bpo-28370.18jBuZ.rst b/Misc/NEWS.d/next/Library/0105.bpo-28370.18jBuZ.rst deleted file mode 100644 index 5a8ab80e0d..0000000000 --- a/Misc/NEWS.d/next/Library/0105.bpo-28370.18jBuZ.rst +++ /dev/null @@ -1 +0,0 @@ -Speedup asyncio.StreamReader.readexactly. Patch by Коренберг Марк. diff --git a/Misc/NEWS.d/next/Library/0106.bpo-28369.8DTANe.rst b/Misc/NEWS.d/next/Library/0106.bpo-28369.8DTANe.rst deleted file mode 100644 index 62d5f45b5c..0000000000 --- a/Misc/NEWS.d/next/Library/0106.bpo-28369.8DTANe.rst +++ /dev/null @@ -1,2 +0,0 @@ -Raise RuntimeError when transport's FD is used with add_reader, add_writer, -etc. diff --git a/Misc/NEWS.d/next/Library/0107.bpo-28368.n594X4.rst b/Misc/NEWS.d/next/Library/0107.bpo-28368.n594X4.rst deleted file mode 100644 index 3385265a51..0000000000 --- a/Misc/NEWS.d/next/Library/0107.bpo-28368.n594X4.rst +++ /dev/null @@ -1,2 +0,0 @@ -Refuse monitoring processes if the child watcher has no loop attached. Patch -by Vincent Michel. diff --git a/Misc/NEWS.d/next/Library/0108.bpo-28325.wAHmnK.rst b/Misc/NEWS.d/next/Library/0108.bpo-28325.wAHmnK.rst deleted file mode 100644 index 8a53daac3c..0000000000 --- a/Misc/NEWS.d/next/Library/0108.bpo-28325.wAHmnK.rst +++ /dev/null @@ -1 +0,0 @@ -Remove vestigial MacOS 9 macurl2path module and its tests. diff --git a/Misc/NEWS.d/next/Library/0109.bpo-27759.qpMDGq.rst b/Misc/NEWS.d/next/Library/0109.bpo-27759.qpMDGq.rst deleted file mode 100644 index f262c84a51..0000000000 --- a/Misc/NEWS.d/next/Library/0109.bpo-27759.qpMDGq.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix selectors incorrectly retain invalid file descriptors. Patch by Mark -Williams. diff --git a/Misc/NEWS.d/next/Library/0110.bpo-28176.sU8R6L.rst b/Misc/NEWS.d/next/Library/0110.bpo-28176.sU8R6L.rst deleted file mode 100644 index 79bdb480d2..0000000000 --- a/Misc/NEWS.d/next/Library/0110.bpo-28176.sU8R6L.rst +++ /dev/null @@ -1 +0,0 @@ -Fix callbacks race in asyncio.SelectorLoop.sock_connect. diff --git a/Misc/NEWS.d/next/Library/0111.bpo-26909.ASiakT.rst b/Misc/NEWS.d/next/Library/0111.bpo-26909.ASiakT.rst deleted file mode 100644 index 1add3ddc31..0000000000 --- a/Misc/NEWS.d/next/Library/0111.bpo-26909.ASiakT.rst +++ /dev/null @@ -1 +0,0 @@ -Fix slow pipes IO in asyncio. Patch by INADA Naoki. diff --git a/Misc/NEWS.d/next/Library/0112.bpo-26654.XtzTE9.rst b/Misc/NEWS.d/next/Library/0112.bpo-26654.XtzTE9.rst deleted file mode 100644 index 81f3f525c6..0000000000 --- a/Misc/NEWS.d/next/Library/0112.bpo-26654.XtzTE9.rst +++ /dev/null @@ -1 +0,0 @@ -Inspect functools.partial in asyncio.Handle.__repr__. Patch by iceboy. diff --git a/Misc/NEWS.d/next/Library/0113.bpo-28174.CV1UdI.rst b/Misc/NEWS.d/next/Library/0113.bpo-28174.CV1UdI.rst deleted file mode 100644 index e67ba9606e..0000000000 --- a/Misc/NEWS.d/next/Library/0113.bpo-28174.CV1UdI.rst +++ /dev/null @@ -1,2 +0,0 @@ -Handle when SO_REUSEPORT isn't properly supported. Patch by Seth Michael -Larson. diff --git a/Misc/NEWS.d/next/Library/0114.bpo-27906.TBBXrv.rst b/Misc/NEWS.d/next/Library/0114.bpo-27906.TBBXrv.rst deleted file mode 100644 index 9e261ccd85..0000000000 --- a/Misc/NEWS.d/next/Library/0114.bpo-27906.TBBXrv.rst +++ /dev/null @@ -1 +0,0 @@ -Fix socket accept exhaustion during high TCP traffic. Patch by Kevin Conway. diff --git a/Misc/NEWS.d/next/Library/0115.bpo-27599.itvm8T.rst b/Misc/NEWS.d/next/Library/0115.bpo-27599.itvm8T.rst deleted file mode 100644 index 71905507f1..0000000000 --- a/Misc/NEWS.d/next/Library/0115.bpo-27599.itvm8T.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed buffer overrun in binascii.b2a_qp() and binascii.a2b_qp(). diff --git a/Misc/NEWS.d/next/Library/0116.bpo-28114.gmFXsA.rst b/Misc/NEWS.d/next/Library/0116.bpo-28114.gmFXsA.rst deleted file mode 100644 index 9c567f0c1c..0000000000 --- a/Misc/NEWS.d/next/Library/0116.bpo-28114.gmFXsA.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix a crash in parse_envlist() when env contains byte strings. Patch by Eryk -Sun. diff --git a/Misc/NEWS.d/next/Library/0117.bpo-25895.j92qoQ.rst b/Misc/NEWS.d/next/Library/0117.bpo-25895.j92qoQ.rst deleted file mode 100644 index 8690675e56..0000000000 --- a/Misc/NEWS.d/next/Library/0117.bpo-25895.j92qoQ.rst +++ /dev/null @@ -1,2 +0,0 @@ -Enable WebSocket URL schemes in urllib.parse.urljoin. Patch by Gergely Imreh -and Markus Holtermann. diff --git a/Misc/NEWS.d/next/Library/0118.bpo-28181.NGc4Yv.rst b/Misc/NEWS.d/next/Library/0118.bpo-28181.NGc4Yv.rst deleted file mode 100644 index 104fa1a011..0000000000 --- a/Misc/NEWS.d/next/Library/0118.bpo-28181.NGc4Yv.rst +++ /dev/null @@ -1 +0,0 @@ -Get antigravity over HTTPS. Patch by Kaartic Sivaraam. diff --git a/Misc/NEWS.d/next/Library/0119.bpo-25270.jrZruM.rst b/Misc/NEWS.d/next/Library/0119.bpo-25270.jrZruM.rst deleted file mode 100644 index fe11915953..0000000000 --- a/Misc/NEWS.d/next/Library/0119.bpo-25270.jrZruM.rst +++ /dev/null @@ -1,2 +0,0 @@ -Prevent codecs.escape_encode() from raising SystemError when an empty -bytestring is passed. diff --git a/Misc/NEWS.d/next/Library/0120.bpo-22493.Mv_hZf.rst b/Misc/NEWS.d/next/Library/0120.bpo-22493.Mv_hZf.rst deleted file mode 100644 index fedd5a5fd1..0000000000 --- a/Misc/NEWS.d/next/Library/0120.bpo-22493.Mv_hZf.rst +++ /dev/null @@ -1,2 +0,0 @@ -Warning message emitted by using inline flags in the middle of regular -expression now contains a (truncated) regex pattern. Patch by Tim Graham. diff --git a/Misc/NEWS.d/next/Library/0121.bpo-28075.aLiUs9.rst b/Misc/NEWS.d/next/Library/0121.bpo-28075.aLiUs9.rst deleted file mode 100644 index 8a44468e8d..0000000000 --- a/Misc/NEWS.d/next/Library/0121.bpo-28075.aLiUs9.rst +++ /dev/null @@ -1,2 +0,0 @@ -Check for ERROR_ACCESS_DENIED in Windows implementation of os.stat(). Patch -by Eryk Sun. diff --git a/Misc/NEWS.d/next/Library/0122.bpo-0.iPpjqX.rst b/Misc/NEWS.d/next/Library/0122.bpo-0.iPpjqX.rst deleted file mode 100644 index 8dd432b964..0000000000 --- a/Misc/NEWS.d/next/Library/0122.bpo-0.iPpjqX.rst +++ /dev/null @@ -1 +0,0 @@ -Fix UnboundLocalError in socket._sendfile_use_sendfile. diff --git a/Misc/NEWS.d/next/Library/0123.bpo-27932.mtgl-6.rst b/Misc/NEWS.d/next/Library/0123.bpo-27932.mtgl-6.rst deleted file mode 100644 index d60eefe466..0000000000 --- a/Misc/NEWS.d/next/Library/0123.bpo-27932.mtgl-6.rst +++ /dev/null @@ -1 +0,0 @@ -Prevent memory leak in win32_ver(). diff --git a/Misc/NEWS.d/next/Library/0124.bpo-25400.d9Qn0E.rst b/Misc/NEWS.d/next/Library/0124.bpo-25400.d9Qn0E.rst deleted file mode 100644 index 60180e7b01..0000000000 --- a/Misc/NEWS.d/next/Library/0124.bpo-25400.d9Qn0E.rst +++ /dev/null @@ -1,2 +0,0 @@ -RobotFileParser now correctly returns default values for crawl_delay and -request_rate. Initial patch by Peter Wirtz. diff --git a/Misc/NEWS.d/next/Library/0125.bpo-28200.4IEbr7.rst b/Misc/NEWS.d/next/Library/0125.bpo-28200.4IEbr7.rst deleted file mode 100644 index 8cb460c76b..0000000000 --- a/Misc/NEWS.d/next/Library/0125.bpo-28200.4IEbr7.rst +++ /dev/null @@ -1 +0,0 @@ -Fix memory leak on Windows in the os module (fix path_converter() function). diff --git a/Misc/NEWS.d/next/Library/0126.bpo-27778.Yyo1aP.rst b/Misc/NEWS.d/next/Library/0126.bpo-27778.Yyo1aP.rst deleted file mode 100644 index 8e4d1c9349..0000000000 --- a/Misc/NEWS.d/next/Library/0126.bpo-27778.Yyo1aP.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix a memory leak in os.getrandom() when the getrandom() is interrupted by a -signal and a signal handler raises a Python exception. diff --git a/Misc/NEWS.d/next/Library/0127.bpo-25651.3UhyPo.rst b/Misc/NEWS.d/next/Library/0127.bpo-25651.3UhyPo.rst deleted file mode 100644 index 33809ea0f3..0000000000 --- a/Misc/NEWS.d/next/Library/0127.bpo-25651.3UhyPo.rst +++ /dev/null @@ -1 +0,0 @@ -Allow falsy values to be used for msg parameter of subTest(). diff --git a/Misc/NEWS.d/next/Library/0128.bpo-27348.tDx7Vw.rst b/Misc/NEWS.d/next/Library/0128.bpo-27348.tDx7Vw.rst deleted file mode 100644 index 846b80adfa..0000000000 --- a/Misc/NEWS.d/next/Library/0128.bpo-27348.tDx7Vw.rst +++ /dev/null @@ -1,2 +0,0 @@ -In the traceback module, restore the formatting of exception messages like -"Exception: None". This fixes a regression introduced in 3.5a2. diff --git a/Misc/NEWS.d/next/Library/0129.bpo-27611.A_ArH_.rst b/Misc/NEWS.d/next/Library/0129.bpo-27611.A_ArH_.rst deleted file mode 100644 index 090049151b..0000000000 --- a/Misc/NEWS.d/next/Library/0129.bpo-27611.A_ArH_.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fixed support of default root window in the tkinter.tix module. Added the -master parameter in the DisplayStyle constructor. diff --git a/Misc/NEWS.d/next/Library/0130.bpo-18893.osiX5c.rst b/Misc/NEWS.d/next/Library/0130.bpo-18893.osiX5c.rst deleted file mode 100644 index 31683232e4..0000000000 --- a/Misc/NEWS.d/next/Library/0130.bpo-18893.osiX5c.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix invalid exception handling in Lib/ctypes/macholib/dyld.py. Patch by -Madison May. diff --git a/Misc/NEWS.d/next/Library/0131.bpo-18844.fQsEdn.rst b/Misc/NEWS.d/next/Library/0131.bpo-18844.fQsEdn.rst deleted file mode 100644 index f9fa640938..0000000000 --- a/Misc/NEWS.d/next/Library/0131.bpo-18844.fQsEdn.rst +++ /dev/null @@ -1,3 +0,0 @@ -random.choices() now has k as a keyword-only argument to improve the -readability of common cases and come into line with the signature used in -other languages. diff --git a/Misc/NEWS.d/next/Library/0132.bpo-27897.I0Ppmx.rst b/Misc/NEWS.d/next/Library/0132.bpo-27897.I0Ppmx.rst deleted file mode 100644 index da0793afa0..0000000000 --- a/Misc/NEWS.d/next/Library/0132.bpo-27897.I0Ppmx.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fixed possible crash in sqlite3.Connection.create_collation() if pass -invalid string-like object as a name. Patch by Xiang Zhang. diff --git a/Misc/NEWS.d/next/Library/0133.bpo-28275.EhWIsz.rst b/Misc/NEWS.d/next/Library/0133.bpo-28275.EhWIsz.rst deleted file mode 100644 index cff7838f52..0000000000 --- a/Misc/NEWS.d/next/Library/0133.bpo-28275.EhWIsz.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fixed possible use after free in the decompress() methods of the -LZMADecompressor and BZ2Decompressor classes. Original patch by John Leitch. diff --git a/Misc/NEWS.d/next/Library/0134.bpo-28253.aLfmhe.rst b/Misc/NEWS.d/next/Library/0134.bpo-28253.aLfmhe.rst deleted file mode 100644 index b25f981746..0000000000 --- a/Misc/NEWS.d/next/Library/0134.bpo-28253.aLfmhe.rst +++ /dev/null @@ -1,4 +0,0 @@ -Fixed calendar functions for extreme months: 0001-01 and 9999-12. - -Methods itermonthdays() and itermonthdays2() are reimplemented so that they -don't call itermonthdates() which can cause datetime.date under/overflow. diff --git a/Misc/NEWS.d/next/Library/0135.bpo-28148.Flzndx.rst b/Misc/NEWS.d/next/Library/0135.bpo-28148.Flzndx.rst deleted file mode 100644 index 49304e63d6..0000000000 --- a/Misc/NEWS.d/next/Library/0135.bpo-28148.Flzndx.rst +++ /dev/null @@ -1,4 +0,0 @@ -Stop using localtime() and gmtime() in the time module. - -Introduced platform independent _PyTime_localtime API that is similar to -POSIX localtime_r, but available on all platforms. Patch by Ed Schouten. diff --git a/Misc/NEWS.d/next/Library/0136.bpo-28314.N7YrkN.rst b/Misc/NEWS.d/next/Library/0136.bpo-28314.N7YrkN.rst deleted file mode 100644 index 7f9b9afa6b..0000000000 --- a/Misc/NEWS.d/next/Library/0136.bpo-28314.N7YrkN.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix function declaration (C flags) for the getiterator() method of -xml.etree.ElementTree.Element. diff --git a/Misc/NEWS.d/next/Library/0137.bpo-28226.nMXiwU.rst b/Misc/NEWS.d/next/Library/0137.bpo-28226.nMXiwU.rst deleted file mode 100644 index fc5d14e38c..0000000000 --- a/Misc/NEWS.d/next/Library/0137.bpo-28226.nMXiwU.rst +++ /dev/null @@ -1 +0,0 @@ -compileall now supports pathlib. diff --git a/Misc/NEWS.d/next/Library/0138.bpo-28228.1qBwdM.rst b/Misc/NEWS.d/next/Library/0138.bpo-28228.1qBwdM.rst deleted file mode 100644 index b3e7ba5bf1..0000000000 --- a/Misc/NEWS.d/next/Library/0138.bpo-28228.1qBwdM.rst +++ /dev/null @@ -1 +0,0 @@ -imghdr now supports pathlib. diff --git a/Misc/NEWS.d/next/Library/0139.bpo-28322.l9hzap.rst b/Misc/NEWS.d/next/Library/0139.bpo-28322.l9hzap.rst deleted file mode 100644 index 5e33ba12c0..0000000000 --- a/Misc/NEWS.d/next/Library/0139.bpo-28322.l9hzap.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fixed possible crashes when unpickle itertools objects from incorrect pickle -data. Based on patch by John Leitch. diff --git a/Misc/NEWS.d/next/Library/0140.bpo-28257.SVD_IH.rst b/Misc/NEWS.d/next/Library/0140.bpo-28257.SVD_IH.rst deleted file mode 100644 index ebf241afd5..0000000000 --- a/Misc/NEWS.d/next/Library/0140.bpo-28257.SVD_IH.rst +++ /dev/null @@ -1,2 +0,0 @@ -Improved error message when passing a non-iterable as a var-positional -argument. Added opcode BUILD_TUPLE_UNPACK_WITH_CALL. diff --git a/Misc/NEWS.d/next/Library/0141.bpo-27358.t288Iv.rst b/Misc/NEWS.d/next/Library/0141.bpo-27358.t288Iv.rst deleted file mode 100644 index 2ca6fedd02..0000000000 --- a/Misc/NEWS.d/next/Library/0141.bpo-27358.t288Iv.rst +++ /dev/null @@ -1,2 +0,0 @@ -Optimized merging var-keyword arguments and improved error message when -passing a non-mapping as a var-keyword argument. diff --git a/Misc/NEWS.d/next/Library/0142.bpo-28332.Ed8fNk.rst b/Misc/NEWS.d/next/Library/0142.bpo-28332.Ed8fNk.rst deleted file mode 100644 index e315ecc00b..0000000000 --- a/Misc/NEWS.d/next/Library/0142.bpo-28332.Ed8fNk.rst +++ /dev/null @@ -1,2 +0,0 @@ -Deprecated silent truncations in socket.htons and socket.ntohs. Original -patch by Oren Milman. diff --git a/Misc/NEWS.d/next/Library/0143.bpo-28227.7lUz8i.rst b/Misc/NEWS.d/next/Library/0143.bpo-28227.7lUz8i.rst deleted file mode 100644 index eb21cffc39..0000000000 --- a/Misc/NEWS.d/next/Library/0143.bpo-28227.7lUz8i.rst +++ /dev/null @@ -1 +0,0 @@ -gzip now supports pathlib. Patch by Ethan Furman. diff --git a/Misc/NEWS.d/next/Library/0144.bpo-28225.6N28nu.rst b/Misc/NEWS.d/next/Library/0144.bpo-28225.6N28nu.rst deleted file mode 100644 index 6abd1a078a..0000000000 --- a/Misc/NEWS.d/next/Library/0144.bpo-28225.6N28nu.rst +++ /dev/null @@ -1 +0,0 @@ -bz2 module now supports pathlib. Initial patch by Ethan Furman. diff --git a/Misc/NEWS.d/next/Library/0145.bpo-28321.bQ-IIX.rst b/Misc/NEWS.d/next/Library/0145.bpo-28321.bQ-IIX.rst deleted file mode 100644 index 69bd193641..0000000000 --- a/Misc/NEWS.d/next/Library/0145.bpo-28321.bQ-IIX.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed writing non-BMP characters with binary format in plistlib. diff --git a/Misc/NEWS.d/next/Library/0146.bpo-28229.BKAxcS.rst b/Misc/NEWS.d/next/Library/0146.bpo-28229.BKAxcS.rst deleted file mode 100644 index 5d2a7763cb..0000000000 --- a/Misc/NEWS.d/next/Library/0146.bpo-28229.BKAxcS.rst +++ /dev/null @@ -1 +0,0 @@ -lzma module now supports pathlib. diff --git a/Misc/NEWS.d/next/Library/0147.bpo-28380.jKPMzH.rst b/Misc/NEWS.d/next/Library/0147.bpo-28380.jKPMzH.rst deleted file mode 100644 index 35d26ae41e..0000000000 --- a/Misc/NEWS.d/next/Library/0147.bpo-28380.jKPMzH.rst +++ /dev/null @@ -1,2 +0,0 @@ -unittest.mock Mock autospec functions now properly support assert_called, -assert_not_called, and assert_called_once. diff --git a/Misc/NEWS.d/next/Library/0148.bpo-28317.LgHleA.rst b/Misc/NEWS.d/next/Library/0148.bpo-28317.LgHleA.rst deleted file mode 100644 index 3d3a19ba47..0000000000 --- a/Misc/NEWS.d/next/Library/0148.bpo-28317.LgHleA.rst +++ /dev/null @@ -1 +0,0 @@ -The disassembler now decodes FORMAT_VALUE argument. diff --git a/Misc/NEWS.d/next/Library/0149.bpo-27998.CPhy4H.rst b/Misc/NEWS.d/next/Library/0149.bpo-27998.CPhy4H.rst deleted file mode 100644 index 040b4c0888..0000000000 --- a/Misc/NEWS.d/next/Library/0149.bpo-27998.CPhy4H.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed bytes path support in os.scandir() on Windows. Patch by Eryk Sun. diff --git a/Misc/NEWS.d/next/Library/0150.bpo-20766.4kvCzx.rst b/Misc/NEWS.d/next/Library/0150.bpo-20766.4kvCzx.rst deleted file mode 100644 index 5495b78356..0000000000 --- a/Misc/NEWS.d/next/Library/0150.bpo-20766.4kvCzx.rst +++ /dev/null @@ -1 +0,0 @@ -Fix references leaked by pdb in the handling of SIGINT handlers. diff --git a/Misc/NEWS.d/next/Library/0151.bpo-24452.pVsjt0.rst b/Misc/NEWS.d/next/Library/0151.bpo-24452.pVsjt0.rst deleted file mode 100644 index 26bb026dd0..0000000000 --- a/Misc/NEWS.d/next/Library/0151.bpo-24452.pVsjt0.rst +++ /dev/null @@ -1 +0,0 @@ -Make webbrowser support Chrome on Mac OS X. Patch by Ned Batchelder. diff --git a/Misc/NEWS.d/next/Library/0152.bpo-0.5Y0ngw.rst b/Misc/NEWS.d/next/Library/0152.bpo-0.5Y0ngw.rst deleted file mode 100644 index c3cf076e46..0000000000 --- a/Misc/NEWS.d/next/Library/0152.bpo-0.5Y0ngw.rst +++ /dev/null @@ -1,4 +0,0 @@ -Distutils.sdist now looks for README and setup.py files with case -sensitivity. This behavior matches that found in Setuptools 6.0 and later. -See `setuptools 100 <https://github.com/pypa/setuptools/issues/100>`_ for -rationale. diff --git a/Misc/NEWS.d/next/Library/0153.bpo-28240.cXljq-.rst b/Misc/NEWS.d/next/Library/0153.bpo-28240.cXljq-.rst deleted file mode 100644 index d2c24f3671..0000000000 --- a/Misc/NEWS.d/next/Library/0153.bpo-28240.cXljq-.rst +++ /dev/null @@ -1,3 +0,0 @@ -timeit autorange now uses a single loop iteration if the benchmark takes -less than 10 seconds, instead of 10 iterations. "python3 -m timeit -s -'import time' 'time.sleep(1)'" now takes 4 seconds instead of 40 seconds. diff --git a/Misc/NEWS.d/next/Library/0154.bpo-28240.IwQMgd.rst b/Misc/NEWS.d/next/Library/0154.bpo-28240.IwQMgd.rst deleted file mode 100644 index 650c94ad71..0000000000 --- a/Misc/NEWS.d/next/Library/0154.bpo-28240.IwQMgd.rst +++ /dev/null @@ -1,2 +0,0 @@ -timeit now repeats the benchmarks 5 times instead of only 3 to make -benchmarks more reliable. diff --git a/Misc/NEWS.d/next/Library/0155.bpo-28240.hqzQvS.rst b/Misc/NEWS.d/next/Library/0155.bpo-28240.hqzQvS.rst deleted file mode 100644 index 377b3dc2e7..0000000000 --- a/Misc/NEWS.d/next/Library/0155.bpo-28240.hqzQvS.rst +++ /dev/null @@ -1,2 +0,0 @@ -timeit: remove ``-c/--clock`` and ``-t/--time`` command line options which -were deprecated since Python 3.3. diff --git a/Misc/NEWS.d/next/Library/0156.bpo-28480.9lHw6m.rst b/Misc/NEWS.d/next/Library/0156.bpo-28480.9lHw6m.rst deleted file mode 100644 index 786ff2c1a6..0000000000 --- a/Misc/NEWS.d/next/Library/0156.bpo-28480.9lHw6m.rst +++ /dev/null @@ -1 +0,0 @@ -Fix error building socket module when multithreading is disabled. diff --git a/Misc/NEWS.d/next/Library/0157.bpo-23214.-4Q5Z7.rst b/Misc/NEWS.d/next/Library/0157.bpo-23214.-4Q5Z7.rst deleted file mode 100644 index a09e1d8cba..0000000000 --- a/Misc/NEWS.d/next/Library/0157.bpo-23214.-4Q5Z7.rst +++ /dev/null @@ -1,3 +0,0 @@ -In the "io" module, the argument to BufferedReader and BytesIO's read1() -methods is now optional and can be -1, matching the BufferedIOBase -specification. diff --git a/Misc/NEWS.d/next/Library/0158.bpo-28448.5bduWe.rst b/Misc/NEWS.d/next/Library/0158.bpo-28448.5bduWe.rst deleted file mode 100644 index bb3f32b374..0000000000 --- a/Misc/NEWS.d/next/Library/0158.bpo-28448.5bduWe.rst +++ /dev/null @@ -1 +0,0 @@ -Fix C implemented asyncio.Future didn't work on Windows. diff --git a/Misc/NEWS.d/next/Library/0159.bpo-18219.1ANQN1.rst b/Misc/NEWS.d/next/Library/0159.bpo-18219.1ANQN1.rst deleted file mode 100644 index cf19d7e04c..0000000000 --- a/Misc/NEWS.d/next/Library/0159.bpo-18219.1ANQN1.rst +++ /dev/null @@ -1,2 +0,0 @@ -Optimize csv.DictWriter for large number of columns. Patch by Mariatta -Wijaya. diff --git a/Misc/NEWS.d/next/Library/0160.bpo-28115.4FIjIE.rst b/Misc/NEWS.d/next/Library/0160.bpo-28115.4FIjIE.rst deleted file mode 100644 index b8a77f7876..0000000000 --- a/Misc/NEWS.d/next/Library/0160.bpo-28115.4FIjIE.rst +++ /dev/null @@ -1,2 +0,0 @@ -Command-line interface of the zipfile module now uses argparse. Added -support of long options. diff --git a/Misc/NEWS.d/next/Library/0161.bpo-28469.QZW1Np.rst b/Misc/NEWS.d/next/Library/0161.bpo-28469.QZW1Np.rst deleted file mode 100644 index ef2d476639..0000000000 --- a/Misc/NEWS.d/next/Library/0161.bpo-28469.QZW1Np.rst +++ /dev/null @@ -1,2 +0,0 @@ -timeit now uses the sequence 1, 2, 5, 10, 20, 50,... instead of 1, 10, -100,... for autoranging. diff --git a/Misc/NEWS.d/next/Library/0162.bpo-25953.EKKJAQ.rst b/Misc/NEWS.d/next/Library/0162.bpo-25953.EKKJAQ.rst deleted file mode 100644 index 72a8f59d12..0000000000 --- a/Misc/NEWS.d/next/Library/0162.bpo-25953.EKKJAQ.rst +++ /dev/null @@ -1,4 +0,0 @@ -re.sub() now raises an error for invalid numerical group reference in -replacement template even if the pattern is not found in the string. Error -message for invalid group reference now includes the group index and the -position of the reference. Based on patch by SilentGhost. diff --git a/Misc/NEWS.d/next/Library/0163.bpo-28488.TgO112.rst b/Misc/NEWS.d/next/Library/0163.bpo-28488.TgO112.rst deleted file mode 100644 index f8d370c0b2..0000000000 --- a/Misc/NEWS.d/next/Library/0163.bpo-28488.TgO112.rst +++ /dev/null @@ -1 +0,0 @@ -shutil.make_archive() no longer adds entry "./" to ZIP archive. diff --git a/Misc/NEWS.d/next/Library/0164.bpo-25464.HDUTCu.rst b/Misc/NEWS.d/next/Library/0164.bpo-25464.HDUTCu.rst deleted file mode 100644 index 4b90795b47..0000000000 --- a/Misc/NEWS.d/next/Library/0164.bpo-25464.HDUTCu.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fixed HList.header_exists() in tkinter.tix module by addin a workaround to -Tix library bug. diff --git a/Misc/NEWS.d/next/Library/0165.bpo-27025.foAViS.rst b/Misc/NEWS.d/next/Library/0165.bpo-27025.foAViS.rst deleted file mode 100644 index ca1f183e0c..0000000000 --- a/Misc/NEWS.d/next/Library/0165.bpo-27025.foAViS.rst +++ /dev/null @@ -1,2 +0,0 @@ -Generated names for Tkinter widgets now start by the "!" prefix for -readability. diff --git a/Misc/NEWS.d/next/Library/0166.bpo-28430.4MiEYT.rst b/Misc/NEWS.d/next/Library/0166.bpo-28430.4MiEYT.rst deleted file mode 100644 index 90394c4603..0000000000 --- a/Misc/NEWS.d/next/Library/0166.bpo-28430.4MiEYT.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix iterator of C implemented asyncio.Future doesn't accept non-None value -is passed to it.send(val). diff --git a/Misc/NEWS.d/next/Library/0167.bpo-28353.sKGbLL.rst b/Misc/NEWS.d/next/Library/0167.bpo-28353.sKGbLL.rst deleted file mode 100644 index 74f33025c1..0000000000 --- a/Misc/NEWS.d/next/Library/0167.bpo-28353.sKGbLL.rst +++ /dev/null @@ -1 +0,0 @@ -os.fwalk() no longer fails on broken links. diff --git a/Misc/NEWS.d/next/Library/0168.bpo-20491.ObgnQ2.rst b/Misc/NEWS.d/next/Library/0168.bpo-20491.ObgnQ2.rst deleted file mode 100644 index a2a3f29543..0000000000 --- a/Misc/NEWS.d/next/Library/0168.bpo-20491.ObgnQ2.rst +++ /dev/null @@ -1,2 +0,0 @@ -The textwrap.TextWrapper class now honors non-breaking spaces. Based on -patch by Kaarle Ritvanen. diff --git a/Misc/NEWS.d/next/Library/0169.bpo-28255.fHNZu0.rst b/Misc/NEWS.d/next/Library/0169.bpo-28255.fHNZu0.rst deleted file mode 100644 index 6818da9048..0000000000 --- a/Misc/NEWS.d/next/Library/0169.bpo-28255.fHNZu0.rst +++ /dev/null @@ -1,2 +0,0 @@ -calendar.TextCalendar.prmonth() no longer prints a space at the start of new -line after printing a month's calendar. Patch by Xiang Zhang. diff --git a/Misc/NEWS.d/next/Library/0170.bpo-28255.G3iOPm.rst b/Misc/NEWS.d/next/Library/0170.bpo-28255.G3iOPm.rst deleted file mode 100644 index 56c6d653cd..0000000000 --- a/Misc/NEWS.d/next/Library/0170.bpo-28255.G3iOPm.rst +++ /dev/null @@ -1,3 +0,0 @@ -calendar.TextCalendar.prweek() no longer prints a space after a weeks's -calendar. calendar.TextCalendar.pryear() no longer prints redundant newline -after a year's calendar. Based on patch by Xiang Zhang. diff --git a/Misc/NEWS.d/next/Library/0171.bpo-27939.mTfADV.rst b/Misc/NEWS.d/next/Library/0171.bpo-27939.mTfADV.rst deleted file mode 100644 index 53c40580f2..0000000000 --- a/Misc/NEWS.d/next/Library/0171.bpo-27939.mTfADV.rst +++ /dev/null @@ -1,3 +0,0 @@ -Fixed bugs in tkinter.ttk.LabeledScale and tkinter.Scale caused by -representing the scale as float value internally in Tk. tkinter.IntVar now -works if float value is set to underlying Tk variable. diff --git a/Misc/NEWS.d/next/Library/0172.bpo-24241.y7N12p.rst b/Misc/NEWS.d/next/Library/0172.bpo-24241.y7N12p.rst deleted file mode 100644 index 0aa7db90a9..0000000000 --- a/Misc/NEWS.d/next/Library/0172.bpo-24241.y7N12p.rst +++ /dev/null @@ -1,4 +0,0 @@ -The webbrowser in an X environment now prefers using the default browser -directly. Also, the webbrowser register() function now has a documented -'preferred' argument, to specify browsers to be returned by get() with no -arguments. Patch by David Steele diff --git a/Misc/NEWS.d/next/Library/0173.bpo-23262.6EVB7N.rst b/Misc/NEWS.d/next/Library/0173.bpo-23262.6EVB7N.rst deleted file mode 100644 index dba0be1c22..0000000000 --- a/Misc/NEWS.d/next/Library/0173.bpo-23262.6EVB7N.rst +++ /dev/null @@ -1,2 +0,0 @@ -The webbrowser module now supports Firefox 36+ and derived browsers. Based -on patch by Oleg Broytman. diff --git a/Misc/NEWS.d/next/Library/0174.bpo-28449.5JK6ES.rst b/Misc/NEWS.d/next/Library/0174.bpo-28449.5JK6ES.rst deleted file mode 100644 index 896227d0f1..0000000000 --- a/Misc/NEWS.d/next/Library/0174.bpo-28449.5JK6ES.rst +++ /dev/null @@ -1,3 +0,0 @@ -tarfile.open() with mode "r" or "r:" now tries to open a tar file with -compression before trying to open it without compression. Otherwise it had -50% chance failed with ignore_zeros=True. diff --git a/Misc/NEWS.d/next/Library/0175.bpo-28549.ShnM2y.rst b/Misc/NEWS.d/next/Library/0175.bpo-28549.ShnM2y.rst deleted file mode 100644 index 237e66dd08..0000000000 --- a/Misc/NEWS.d/next/Library/0175.bpo-28549.ShnM2y.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed segfault in curses's addch() with ncurses6. diff --git a/Misc/NEWS.d/next/Library/0176.bpo-27517.1CYM8A.rst b/Misc/NEWS.d/next/Library/0176.bpo-27517.1CYM8A.rst deleted file mode 100644 index c9e5b8dd2c..0000000000 --- a/Misc/NEWS.d/next/Library/0176.bpo-27517.1CYM8A.rst +++ /dev/null @@ -1,2 +0,0 @@ -LZMA compressor and decompressor no longer raise exceptions if given empty -data twice. Patch by Benjamin Fogle. diff --git a/Misc/NEWS.d/next/Library/0177.bpo-28387.1clJu7.rst b/Misc/NEWS.d/next/Library/0177.bpo-28387.1clJu7.rst deleted file mode 100644 index aa8e29d97c..0000000000 --- a/Misc/NEWS.d/next/Library/0177.bpo-28387.1clJu7.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fixed possible crash in _io.TextIOWrapper deallocator when the garbage -collector is invoked in other thread. Based on patch by Sebastian Cufre. diff --git a/Misc/NEWS.d/next/Library/0178.bpo-28563.iweEiw.rst b/Misc/NEWS.d/next/Library/0178.bpo-28563.iweEiw.rst deleted file mode 100644 index 9da96ab9ba..0000000000 --- a/Misc/NEWS.d/next/Library/0178.bpo-28563.iweEiw.rst +++ /dev/null @@ -1,3 +0,0 @@ -Fixed possible DoS and arbitrary code execution when handle plural form -selections in the gettext module. The expression parser now supports exact -syntax supported by GNU gettext. diff --git a/Misc/NEWS.d/next/Library/0179.bpo-19717.HXCAIz.rst b/Misc/NEWS.d/next/Library/0179.bpo-19717.HXCAIz.rst deleted file mode 100644 index 9d0622b33f..0000000000 --- a/Misc/NEWS.d/next/Library/0179.bpo-19717.HXCAIz.rst +++ /dev/null @@ -1,2 +0,0 @@ -Makes Path.resolve() succeed on paths that do not exist. Patch by Vajrasky -Kok diff --git a/Misc/NEWS.d/next/Library/0180.bpo-28548.IeNrnG.rst b/Misc/NEWS.d/next/Library/0180.bpo-28548.IeNrnG.rst deleted file mode 100644 index daa0cdaf81..0000000000 --- a/Misc/NEWS.d/next/Library/0180.bpo-28548.IeNrnG.rst +++ /dev/null @@ -1,2 +0,0 @@ -In the "http.server" module, parse the protocol version if possible, to -avoid using HTTP 0.9 in some error responses. diff --git a/Misc/NEWS.d/next/Library/0181.bpo-25659.lE2IlT.rst b/Misc/NEWS.d/next/Library/0181.bpo-25659.lE2IlT.rst deleted file mode 100644 index 8c12033b7c..0000000000 --- a/Misc/NEWS.d/next/Library/0181.bpo-25659.lE2IlT.rst +++ /dev/null @@ -1,2 +0,0 @@ -In ctypes, prevent a crash calling the from_buffer() and from_buffer_copy() -methods on abstract classes like Array. diff --git a/Misc/NEWS.d/next/Library/0182.bpo-20572.NCRmvz.rst b/Misc/NEWS.d/next/Library/0182.bpo-20572.NCRmvz.rst deleted file mode 100644 index 9f712803e1..0000000000 --- a/Misc/NEWS.d/next/Library/0182.bpo-20572.NCRmvz.rst +++ /dev/null @@ -1,2 +0,0 @@ -Remove the subprocess.Popen.wait endtime parameter. It was deprecated in -3.4 and undocumented prior to that. diff --git a/Misc/NEWS.d/next/Library/0183.bpo-28727.ubZP_b.rst b/Misc/NEWS.d/next/Library/0183.bpo-28727.ubZP_b.rst deleted file mode 100644 index 682cb16bfe..0000000000 --- a/Misc/NEWS.d/next/Library/0183.bpo-28727.ubZP_b.rst +++ /dev/null @@ -1,4 +0,0 @@ -Regular expression patterns, _sre.SRE_Pattern objects created by -re.compile(), become comparable (only x==y and x!=y operators). This change -should fix the issue #18383: don't duplicate warning filters when the -warnings module is reloaded (thing usually only done in unit tests). diff --git a/Misc/NEWS.d/next/Library/0184.bpo-28752.Q-4oRE.rst b/Misc/NEWS.d/next/Library/0184.bpo-28752.Q-4oRE.rst deleted file mode 100644 index 0c5730600f..0000000000 --- a/Misc/NEWS.d/next/Library/0184.bpo-28752.Q-4oRE.rst +++ /dev/null @@ -1 +0,0 @@ -Restored the __reduce__() methods of datetime objects. diff --git a/Misc/NEWS.d/next/Library/0185.bpo-26273.ilNIWN.rst b/Misc/NEWS.d/next/Library/0185.bpo-26273.ilNIWN.rst deleted file mode 100644 index dc603f0a4f..0000000000 --- a/Misc/NEWS.d/next/Library/0185.bpo-26273.ilNIWN.rst +++ /dev/null @@ -1,3 +0,0 @@ -Add new :data:`socket.TCP_CONGESTION` (Linux 2.6.13) and -:data:`socket.TCP_USER_TIMEOUT` (Linux 2.6.37) constants. Patch written by -Omar Sandoval. diff --git a/Misc/NEWS.d/next/Library/0186.bpo-28740.rY8kz-.rst b/Misc/NEWS.d/next/Library/0186.bpo-28740.rY8kz-.rst deleted file mode 100644 index 2cdfc78e69..0000000000 --- a/Misc/NEWS.d/next/Library/0186.bpo-28740.rY8kz-.rst +++ /dev/null @@ -1,2 +0,0 @@ -Add sys.getandroidapilevel(): return the build time API version of Android -as an integer. Function only available on Android. diff --git a/Misc/NEWS.d/next/Library/0187.bpo-27172.mVKfLT.rst b/Misc/NEWS.d/next/Library/0187.bpo-27172.mVKfLT.rst deleted file mode 100644 index e49ec2e2b8..0000000000 --- a/Misc/NEWS.d/next/Library/0187.bpo-27172.mVKfLT.rst +++ /dev/null @@ -1,4 +0,0 @@ -To assist with upgrades from 2.7, the previously documented deprecation of -``inspect.getfullargspec()`` has been reversed. This decision may be -revisited again after the Python 2.7 branch is no longer officially -supported. diff --git a/Misc/NEWS.d/next/Library/0188.bpo-28835.iWBYH7.rst b/Misc/NEWS.d/next/Library/0188.bpo-28835.iWBYH7.rst deleted file mode 100644 index af92a019eb..0000000000 --- a/Misc/NEWS.d/next/Library/0188.bpo-28835.iWBYH7.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix a regression introduced in warnings.catch_warnings(): call -warnings.showwarning() if it was overridden inside the context manager. diff --git a/Misc/NEWS.d/next/Library/0189.bpo-27030.GoGlFH.rst b/Misc/NEWS.d/next/Library/0189.bpo-27030.GoGlFH.rst deleted file mode 100644 index a05f572ad1..0000000000 --- a/Misc/NEWS.d/next/Library/0189.bpo-27030.GoGlFH.rst +++ /dev/null @@ -1,2 +0,0 @@ -Unknown escapes consisting of ``'\'`` and an ASCII letter in re.sub() -replacement templates regular expressions now are errors. diff --git a/Misc/NEWS.d/next/Library/0190.bpo-28847.GiWd9w.rst b/Misc/NEWS.d/next/Library/0190.bpo-28847.GiWd9w.rst deleted file mode 100644 index 1e1e8a0ca9..0000000000 --- a/Misc/NEWS.d/next/Library/0190.bpo-28847.GiWd9w.rst +++ /dev/null @@ -1,4 +0,0 @@ -dbm.dumb now supports reading read-only files and no longer writes the index -file when it is not changed. A deprecation warning is now emitted if the -index file is missed and recreated in the 'r' and 'w' modes (will be an -error in future Python releases). diff --git a/Misc/NEWS.d/next/Library/0191.bpo-26937.c9kgiA.rst b/Misc/NEWS.d/next/Library/0191.bpo-26937.c9kgiA.rst deleted file mode 100644 index 3d0e17fe5c..0000000000 --- a/Misc/NEWS.d/next/Library/0191.bpo-26937.c9kgiA.rst +++ /dev/null @@ -1,2 +0,0 @@ -The chown() method of the tarfile.TarFile class does not fail now when the -grp module cannot be imported, as for example on Android platforms. diff --git a/Misc/NEWS.d/next/Library/0192.bpo-28779.t-mjED.rst b/Misc/NEWS.d/next/Library/0192.bpo-28779.t-mjED.rst deleted file mode 100644 index 63b22ee36c..0000000000 --- a/Misc/NEWS.d/next/Library/0192.bpo-28779.t-mjED.rst +++ /dev/null @@ -1,3 +0,0 @@ -multiprocessing.set_forkserver_preload() would crash the forkserver process -if a preloaded module instantiated some multiprocessing objects such as -locks. diff --git a/Misc/NEWS.d/next/Library/0193.bpo-16255.p2YA85.rst b/Misc/NEWS.d/next/Library/0193.bpo-16255.p2YA85.rst deleted file mode 100644 index c7fd44b665..0000000000 --- a/Misc/NEWS.d/next/Library/0193.bpo-16255.p2YA85.rst +++ /dev/null @@ -1,2 +0,0 @@ -subprocess.Popen uses /system/bin/sh on Android as the shell, instead of -/bin/sh. diff --git a/Misc/NEWS.d/next/Library/0194.bpo-20191.Q7uZCS.rst b/Misc/NEWS.d/next/Library/0194.bpo-20191.Q7uZCS.rst deleted file mode 100644 index 8ea757bb42..0000000000 --- a/Misc/NEWS.d/next/Library/0194.bpo-20191.Q7uZCS.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fixed a crash in resource.prlimit() when passing a sequence that doesn't own -its elements as limits. diff --git a/Misc/NEWS.d/next/Library/0195.bpo-19542.5tCkaK.rst b/Misc/NEWS.d/next/Library/0195.bpo-19542.5tCkaK.rst deleted file mode 100644 index b330241c2a..0000000000 --- a/Misc/NEWS.d/next/Library/0195.bpo-19542.5tCkaK.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix bugs in WeakValueDictionary.setdefault() and WeakValueDictionary.pop() -when a GC collection happens in another thread. diff --git a/Misc/NEWS.d/next/Library/0196.bpo-28871.cPMXCJ.rst b/Misc/NEWS.d/next/Library/0196.bpo-28871.cPMXCJ.rst deleted file mode 100644 index 43830548b8..0000000000 --- a/Misc/NEWS.d/next/Library/0196.bpo-28871.cPMXCJ.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed a crash when deallocate deep ElementTree. diff --git a/Misc/NEWS.d/next/Library/0197.bpo-28923.naVULD.rst b/Misc/NEWS.d/next/Library/0197.bpo-28923.naVULD.rst deleted file mode 100644 index 5470585f69..0000000000 --- a/Misc/NEWS.d/next/Library/0197.bpo-28923.naVULD.rst +++ /dev/null @@ -1 +0,0 @@ -Remove editor artifacts from Tix.py. diff --git a/Misc/NEWS.d/next/Library/0198.bpo-28427.vUd-va.rst b/Misc/NEWS.d/next/Library/0198.bpo-28427.vUd-va.rst deleted file mode 100644 index e6eab05306..0000000000 --- a/Misc/NEWS.d/next/Library/0198.bpo-28427.vUd-va.rst +++ /dev/null @@ -1,2 +0,0 @@ -old keys should not remove new values from WeakValueDictionary when -collecting from another thread. diff --git a/Misc/NEWS.d/next/Library/0199.bpo-9770.WJJnwP.rst b/Misc/NEWS.d/next/Library/0199.bpo-9770.WJJnwP.rst deleted file mode 100644 index 18abe3d6d2..0000000000 --- a/Misc/NEWS.d/next/Library/0199.bpo-9770.WJJnwP.rst +++ /dev/null @@ -1 +0,0 @@ -curses.ascii predicates now work correctly with negative integers. diff --git a/Misc/NEWS.d/next/Library/0200.bpo-13051.YzC1Te.rst b/Misc/NEWS.d/next/Library/0200.bpo-13051.YzC1Te.rst deleted file mode 100644 index 87fe36e34a..0000000000 --- a/Misc/NEWS.d/next/Library/0200.bpo-13051.YzC1Te.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fixed recursion errors in large or resized curses.textpad.Textbox. Based on -patch by Tycho Andersen. diff --git a/Misc/NEWS.d/next/Library/0201.bpo-29079.g4YLix.rst b/Misc/NEWS.d/next/Library/0201.bpo-29079.g4YLix.rst deleted file mode 100644 index 2bc4cd4115..0000000000 --- a/Misc/NEWS.d/next/Library/0201.bpo-29079.g4YLix.rst +++ /dev/null @@ -1 +0,0 @@ -Prevent infinite loop in pathlib.resolve() on Windows diff --git a/Misc/NEWS.d/next/Library/0202.bpo-28985.TMWJFg.rst b/Misc/NEWS.d/next/Library/0202.bpo-28985.TMWJFg.rst deleted file mode 100644 index 8b41a1f631..0000000000 --- a/Misc/NEWS.d/next/Library/0202.bpo-28985.TMWJFg.rst +++ /dev/null @@ -1 +0,0 @@ -Update authorizer constants in sqlite3 module. Patch by Dingyuan Wang. diff --git a/Misc/NEWS.d/next/Library/0203.bpo-15812.R1U-Ec.rst b/Misc/NEWS.d/next/Library/0203.bpo-15812.R1U-Ec.rst deleted file mode 100644 index 6df13d27c5..0000000000 --- a/Misc/NEWS.d/next/Library/0203.bpo-15812.R1U-Ec.rst +++ /dev/null @@ -1,2 +0,0 @@ -inspect.getframeinfo() now correctly shows the first line of a context. -Patch by Sam Breese. diff --git a/Misc/NEWS.d/next/Library/0204.bpo-28961.Rt93vg.rst b/Misc/NEWS.d/next/Library/0204.bpo-28961.Rt93vg.rst deleted file mode 100644 index 31d81af985..0000000000 --- a/Misc/NEWS.d/next/Library/0204.bpo-28961.Rt93vg.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix unittest.mock._Call helper: don't ignore the name parameter anymore. -Patch written by Jiajun Huang. diff --git a/Misc/NEWS.d/next/Library/0205.bpo-29142.xo6kAv.rst b/Misc/NEWS.d/next/Library/0205.bpo-29142.xo6kAv.rst deleted file mode 100644 index fd5465baa9..0000000000 --- a/Misc/NEWS.d/next/Library/0205.bpo-29142.xo6kAv.rst +++ /dev/null @@ -1,3 +0,0 @@ -In urllib.request, suffixes in no_proxy environment variable with leading -dots could match related hostnames again (e.g. .b.c matches a.b.c). Patch by -Milan Oberkirch. diff --git a/Misc/NEWS.d/next/Library/0206.bpo-20804.XyZhvi.rst b/Misc/NEWS.d/next/Library/0206.bpo-20804.XyZhvi.rst deleted file mode 100644 index b2e9bce519..0000000000 --- a/Misc/NEWS.d/next/Library/0206.bpo-20804.XyZhvi.rst +++ /dev/null @@ -1,2 +0,0 @@ -The unittest.mock.sentinel attributes now preserve their identity when they -are copied or pickled. diff --git a/Misc/NEWS.d/next/Library/0207.bpo-28969.j3HJYO.rst b/Misc/NEWS.d/next/Library/0207.bpo-28969.j3HJYO.rst deleted file mode 100644 index f2a4171294..0000000000 --- a/Misc/NEWS.d/next/Library/0207.bpo-28969.j3HJYO.rst +++ /dev/null @@ -1,3 +0,0 @@ -Fixed race condition in C implementation of functools.lru_cache. KeyError -could be raised when cached function with full cache was simultaneously -called from differen threads with the same uncached arguments. diff --git a/Misc/NEWS.d/next/Library/0208.bpo-29195.vK5LjU.rst b/Misc/NEWS.d/next/Library/0208.bpo-29195.vK5LjU.rst deleted file mode 100644 index 47123d98f6..0000000000 --- a/Misc/NEWS.d/next/Library/0208.bpo-29195.vK5LjU.rst +++ /dev/null @@ -1,2 +0,0 @@ -Removed support of deprecated undocumented keyword arguments in methods of -regular expression objects. diff --git a/Misc/NEWS.d/next/Library/0209.bpo-29193.CgcjEx.rst b/Misc/NEWS.d/next/Library/0209.bpo-29193.CgcjEx.rst deleted file mode 100644 index b87246f5a0..0000000000 --- a/Misc/NEWS.d/next/Library/0209.bpo-29193.CgcjEx.rst +++ /dev/null @@ -1,2 +0,0 @@ -A format string argument for string.Formatter.format() is now positional- -only. diff --git a/Misc/NEWS.d/next/Library/0210.bpo-29192.mY31H8.rst b/Misc/NEWS.d/next/Library/0210.bpo-29192.mY31H8.rst deleted file mode 100644 index e23778956b..0000000000 --- a/Misc/NEWS.d/next/Library/0210.bpo-29192.mY31H8.rst +++ /dev/null @@ -1 +0,0 @@ -Removed deprecated features in the http.cookies module. diff --git a/Misc/NEWS.d/next/Library/0211.bpo-29219.kxui7t.rst b/Misc/NEWS.d/next/Library/0211.bpo-29219.kxui7t.rst deleted file mode 100644 index ab6725f596..0000000000 --- a/Misc/NEWS.d/next/Library/0211.bpo-29219.kxui7t.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed infinite recursion in the repr of uninitialized ctypes.CDLL instances. diff --git a/Misc/NEWS.d/next/Library/0212.bpo-29210.y1UHWf.rst b/Misc/NEWS.d/next/Library/0212.bpo-29210.y1UHWf.rst deleted file mode 100644 index 02452fe88d..0000000000 --- a/Misc/NEWS.d/next/Library/0212.bpo-29210.y1UHWf.rst +++ /dev/null @@ -1 +0,0 @@ -Removed support of deprecated argument "exclude" in tarfile.TarFile.add(). diff --git a/Misc/NEWS.d/next/Library/0213.bpo-29197.sZssFZ.rst b/Misc/NEWS.d/next/Library/0213.bpo-29197.sZssFZ.rst deleted file mode 100644 index 9e9fc4fbcf..0000000000 --- a/Misc/NEWS.d/next/Library/0213.bpo-29197.sZssFZ.rst +++ /dev/null @@ -1 +0,0 @@ -Removed deprecated function ntpath.splitunc(). diff --git a/Misc/NEWS.d/next/Library/0214.bpo-28735.admHLO.rst b/Misc/NEWS.d/next/Library/0214.bpo-28735.admHLO.rst deleted file mode 100644 index 1ec6247bb9..0000000000 --- a/Misc/NEWS.d/next/Library/0214.bpo-28735.admHLO.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed the comparison of mock.MagickMock with mock.ANY. diff --git a/Misc/NEWS.d/next/Library/0215.bpo-29290.XBqptF.rst b/Misc/NEWS.d/next/Library/0215.bpo-29290.XBqptF.rst deleted file mode 100644 index a4ac1f0725..0000000000 --- a/Misc/NEWS.d/next/Library/0215.bpo-29290.XBqptF.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix a regression in argparse that help messages would wrap at non-breaking -spaces. diff --git a/Misc/NEWS.d/next/Library/0216.bpo-29335._KC7IK.rst b/Misc/NEWS.d/next/Library/0216.bpo-29335._KC7IK.rst deleted file mode 100644 index 79e1748229..0000000000 --- a/Misc/NEWS.d/next/Library/0216.bpo-29335._KC7IK.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix subprocess.Popen.wait() when the child process has exited to a stopped -instead of terminated state (ex: when under ptrace). diff --git a/Misc/NEWS.d/next/Library/0217.bpo-29338.EpvQJl.rst b/Misc/NEWS.d/next/Library/0217.bpo-29338.EpvQJl.rst deleted file mode 100644 index a9e5315e8e..0000000000 --- a/Misc/NEWS.d/next/Library/0217.bpo-29338.EpvQJl.rst +++ /dev/null @@ -1,2 +0,0 @@ -The help of a builtin or extension class now includes the constructor -signature if __text_signature__ is provided for the class. diff --git a/Misc/NEWS.d/next/Library/0218.bpo-29368.nTtA_V.rst b/Misc/NEWS.d/next/Library/0218.bpo-29368.nTtA_V.rst deleted file mode 100644 index 04c7dfce8a..0000000000 --- a/Misc/NEWS.d/next/Library/0218.bpo-29368.nTtA_V.rst +++ /dev/null @@ -1,3 +0,0 @@ -The extend() method is now called instead of the append() method when -unpickle collections.deque and other list-like objects. This can speed up -unpickling to 2 times. diff --git a/Misc/NEWS.d/next/Library/0219.bpo-29218.-Qoti0.rst b/Misc/NEWS.d/next/Library/0219.bpo-29218.-Qoti0.rst deleted file mode 100644 index cd7c117d52..0000000000 --- a/Misc/NEWS.d/next/Library/0219.bpo-29218.-Qoti0.rst +++ /dev/null @@ -1,2 +0,0 @@ -Unused install_misc command is now removed. It has been documented as -unused since 2000. Patch by Eric N. Vander Weele. diff --git a/Misc/NEWS.d/next/Library/0220.bpo-29377.4AvSrC.rst b/Misc/NEWS.d/next/Library/0220.bpo-29377.4AvSrC.rst deleted file mode 100644 index 4b7bd5a944..0000000000 --- a/Misc/NEWS.d/next/Library/0220.bpo-29377.4AvSrC.rst +++ /dev/null @@ -1,2 +0,0 @@ -Add WrapperDescriptorType, MethodWrapperType, and MethodDescriptorType -built-in types to types module. Original patch by Manuel Krebber. diff --git a/Misc/NEWS.d/next/Library/0221.bpo-29444.cEwgmk.rst b/Misc/NEWS.d/next/Library/0221.bpo-29444.cEwgmk.rst deleted file mode 100644 index 05e96fb79d..0000000000 --- a/Misc/NEWS.d/next/Library/0221.bpo-29444.cEwgmk.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fixed out-of-bounds buffer access in the group() method of the match object. -Based on patch by WGH. diff --git a/Misc/NEWS.d/next/Library/0222.bpo-29416.KJGyI_.rst b/Misc/NEWS.d/next/Library/0222.bpo-29416.KJGyI_.rst deleted file mode 100644 index b0b9838b37..0000000000 --- a/Misc/NEWS.d/next/Library/0222.bpo-29416.KJGyI_.rst +++ /dev/null @@ -1 +0,0 @@ -Prevent infinite loop in pathlib.Path.mkdir diff --git a/Misc/NEWS.d/next/Library/0223.bpo-29100.LAAERS.rst b/Misc/NEWS.d/next/Library/0223.bpo-29100.LAAERS.rst deleted file mode 100644 index d12217a34b..0000000000 --- a/Misc/NEWS.d/next/Library/0223.bpo-29100.LAAERS.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix datetime.fromtimestamp() regression introduced in Python 3.6.0: check -minimum and maximum years. diff --git a/Misc/NEWS.d/next/Library/0224.bpo-28556.p6967e.rst b/Misc/NEWS.d/next/Library/0224.bpo-28556.p6967e.rst deleted file mode 100644 index 5b1c326f48..0000000000 --- a/Misc/NEWS.d/next/Library/0224.bpo-28556.p6967e.rst +++ /dev/null @@ -1,3 +0,0 @@ -Various updates to typing module: typing.Counter, typing.ChainMap, improved -ABC caching, etc. Original PRs by Jelle Zijlstra, Ivan Levkivskyi, Manuel -Krebber, and Łukasz Langa. diff --git a/Misc/NEWS.d/next/Library/0225.bpo-29851.jqs_5s.rst b/Misc/NEWS.d/next/Library/0225.bpo-29851.jqs_5s.rst deleted file mode 100644 index c346c36424..0000000000 --- a/Misc/NEWS.d/next/Library/0225.bpo-29851.jqs_5s.rst +++ /dev/null @@ -1,2 +0,0 @@ -importlib.reload() now raises ModuleNotFoundError if the module lacks a -spec. diff --git a/Misc/NEWS.d/next/Library/0226.bpo-10379.mRlZsT.rst b/Misc/NEWS.d/next/Library/0226.bpo-10379.mRlZsT.rst deleted file mode 100644 index 38866c3a29..0000000000 --- a/Misc/NEWS.d/next/Library/0226.bpo-10379.mRlZsT.rst +++ /dev/null @@ -1,2 +0,0 @@ -locale.format_string now supports the 'monetary' keyword argument, and -locale.format is deprecated. diff --git a/Misc/NEWS.d/next/Library/0227.bpo-29534.Ug3HPU.rst b/Misc/NEWS.d/next/Library/0227.bpo-29534.Ug3HPU.rst deleted file mode 100644 index 94a015c396..0000000000 --- a/Misc/NEWS.d/next/Library/0227.bpo-29534.Ug3HPU.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fixed different behaviour of Decimal.from_float() for _decimal and -_pydecimal. Thanks Andrew Nester. diff --git a/Misc/NEWS.d/next/Library/0228.bpo-29576.F-b8_5.rst b/Misc/NEWS.d/next/Library/0228.bpo-29576.F-b8_5.rst deleted file mode 100644 index 789bb3e688..0000000000 --- a/Misc/NEWS.d/next/Library/0228.bpo-29576.F-b8_5.rst +++ /dev/null @@ -1,2 +0,0 @@ -Improve some deprecations in importlib. Some deprecated methods now emit -DeprecationWarnings and have better descriptive messages. diff --git a/Misc/NEWS.d/next/Library/0229.bpo-22807.VmoSkZ.rst b/Misc/NEWS.d/next/Library/0229.bpo-22807.VmoSkZ.rst deleted file mode 100644 index af151acec5..0000000000 --- a/Misc/NEWS.d/next/Library/0229.bpo-22807.VmoSkZ.rst +++ /dev/null @@ -1,3 +0,0 @@ -Add uuid.SafeUUID and uuid.UUID.is_safe to relay information from the -platform about whether generated UUIDs are generated with a multiprocessing -safe method. diff --git a/Misc/NEWS.d/next/Library/0230.bpo-29110.wmE-_T.rst b/Misc/NEWS.d/next/Library/0230.bpo-29110.wmE-_T.rst deleted file mode 100644 index 10c495cb90..0000000000 --- a/Misc/NEWS.d/next/Library/0230.bpo-29110.wmE-_T.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix file object leak in aifc.open() when file is given as a filesystem path -and is not in valid AIFF format. Patch by Anthony Zhang. diff --git a/Misc/NEWS.d/next/Library/0231.bpo-29532.YCwVQn.rst b/Misc/NEWS.d/next/Library/0231.bpo-29532.YCwVQn.rst deleted file mode 100644 index 9e3a25e290..0000000000 --- a/Misc/NEWS.d/next/Library/0231.bpo-29532.YCwVQn.rst +++ /dev/null @@ -1,2 +0,0 @@ -Altering a kwarg dictionary passed to functools.partial() no longer affects -a partial object after creation. diff --git a/Misc/NEWS.d/next/Library/0232.bpo-16285.4f5gbp.rst b/Misc/NEWS.d/next/Library/0232.bpo-16285.4f5gbp.rst deleted file mode 100644 index f1db485970..0000000000 --- a/Misc/NEWS.d/next/Library/0232.bpo-16285.4f5gbp.rst +++ /dev/null @@ -1,3 +0,0 @@ -urrlib.parse.quote is now based on RFC 3986 and hence includes '~' in the -set of characters that is not quoted by default. Patch by Christian Theune -and Ratnadeep Debnath. diff --git a/Misc/NEWS.d/next/Library/0233.bpo-29742.8hqfEO.rst b/Misc/NEWS.d/next/Library/0233.bpo-29742.8hqfEO.rst deleted file mode 100644 index af487f02ef..0000000000 --- a/Misc/NEWS.d/next/Library/0233.bpo-29742.8hqfEO.rst +++ /dev/null @@ -1,2 +0,0 @@ -get_extra_info() raises exception if get called on closed ssl transport. -Patch by Nikolay Kim. diff --git a/Misc/NEWS.d/next/Library/0234.bpo-28518.o-Q2Nw.rst b/Misc/NEWS.d/next/Library/0234.bpo-28518.o-Q2Nw.rst deleted file mode 100644 index c40da62495..0000000000 --- a/Misc/NEWS.d/next/Library/0234.bpo-28518.o-Q2Nw.rst +++ /dev/null @@ -1,2 +0,0 @@ -Start a transaction implicitly before a DML statement. Patch by Aviv -Palivoda. diff --git a/Misc/NEWS.d/next/Library/0235.bpo-28624.43TJib.rst b/Misc/NEWS.d/next/Library/0235.bpo-28624.43TJib.rst deleted file mode 100644 index caf5197fd5..0000000000 --- a/Misc/NEWS.d/next/Library/0235.bpo-28624.43TJib.rst +++ /dev/null @@ -1,2 +0,0 @@ -Add a test that checks that cwd parameter of Popen() accepts PathLike -objects. Patch by Sayan Chowdhury. diff --git a/Misc/NEWS.d/next/Library/0236.bpo-29376.rrJhJy.rst b/Misc/NEWS.d/next/Library/0236.bpo-29376.rrJhJy.rst deleted file mode 100644 index 5b610c4589..0000000000 --- a/Misc/NEWS.d/next/Library/0236.bpo-29376.rrJhJy.rst +++ /dev/null @@ -1 +0,0 @@ -Fix assertion error in threading._DummyThread.is_alive(). diff --git a/Misc/NEWS.d/next/Library/0237.bpo-7769.xGRJWh.rst b/Misc/NEWS.d/next/Library/0237.bpo-7769.xGRJWh.rst deleted file mode 100644 index a9ccebebb9..0000000000 --- a/Misc/NEWS.d/next/Library/0237.bpo-7769.xGRJWh.rst +++ /dev/null @@ -1,2 +0,0 @@ -Method register_function() of xmlrpc.server.SimpleXMLRPCDispatcher and its -subclasses can now be used as a decorator. diff --git a/Misc/NEWS.d/next/Library/0238.bpo-29615.OpFKzg.rst b/Misc/NEWS.d/next/Library/0238.bpo-29615.OpFKzg.rst deleted file mode 100644 index 4cef50404a..0000000000 --- a/Misc/NEWS.d/next/Library/0238.bpo-29615.OpFKzg.rst +++ /dev/null @@ -1,2 +0,0 @@ -SimpleXMLRPCDispatcher no longer chains KeyError (or any other exception) to -exception(s) raised in the dispatched methods. Patch by Petr Motejlek. diff --git a/Misc/NEWS.d/next/Library/0239.bpo-29703.ZdsPCR.rst b/Misc/NEWS.d/next/Library/0239.bpo-29703.ZdsPCR.rst deleted file mode 100644 index ce844f7b2b..0000000000 --- a/Misc/NEWS.d/next/Library/0239.bpo-29703.ZdsPCR.rst +++ /dev/null @@ -1 +0,0 @@ -Fix asyncio to support instantiation of new event loops in child processes. diff --git a/Misc/NEWS.d/next/Library/0240.bpo-29271.y8Vj2v.rst b/Misc/NEWS.d/next/Library/0240.bpo-29271.y8Vj2v.rst deleted file mode 100644 index fd3f2aea90..0000000000 --- a/Misc/NEWS.d/next/Library/0240.bpo-29271.y8Vj2v.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix Task.current_task and Task.all_tasks implemented in C to accept None -argument as their pure Python implementation. diff --git a/Misc/NEWS.d/next/Library/0241.bpo-29704.WHbx27.rst b/Misc/NEWS.d/next/Library/0241.bpo-29704.WHbx27.rst deleted file mode 100644 index c371cedc08..0000000000 --- a/Misc/NEWS.d/next/Library/0241.bpo-29704.WHbx27.rst +++ /dev/null @@ -1,2 +0,0 @@ -asyncio.subprocess.SubprocessStreamProtocol no longer closes before all -pipes are closed. diff --git a/Misc/NEWS.d/next/Library/0242.bpo-28963.tPl8dq.rst b/Misc/NEWS.d/next/Library/0242.bpo-28963.tPl8dq.rst deleted file mode 100644 index 15e3471025..0000000000 --- a/Misc/NEWS.d/next/Library/0242.bpo-28963.tPl8dq.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix out of bound iteration in asyncio.Future.remove_done_callback -implemented in C. diff --git a/Misc/NEWS.d/next/Library/0243.bpo-9303.kDZRSd.rst b/Misc/NEWS.d/next/Library/0243.bpo-9303.kDZRSd.rst deleted file mode 100644 index edad62bc1e..0000000000 --- a/Misc/NEWS.d/next/Library/0243.bpo-9303.kDZRSd.rst +++ /dev/null @@ -1 +0,0 @@ -Migrate sqlite3 module to _v2 API. Patch by Aviv Palivoda. diff --git a/Misc/NEWS.d/next/Library/0244.bpo-29623.D3-NP2.rst b/Misc/NEWS.d/next/Library/0244.bpo-29623.D3-NP2.rst deleted file mode 100644 index 331fc02ae5..0000000000 --- a/Misc/NEWS.d/next/Library/0244.bpo-29623.D3-NP2.rst +++ /dev/null @@ -1,2 +0,0 @@ -Allow use of path-like object as a single argument in ConfigParser.read(). -Patch by David Ellis. diff --git a/Misc/NEWS.d/next/Library/0245.bpo-29728.37jMwb.rst b/Misc/NEWS.d/next/Library/0245.bpo-29728.37jMwb.rst deleted file mode 100644 index 81786e3325..0000000000 --- a/Misc/NEWS.d/next/Library/0245.bpo-29728.37jMwb.rst +++ /dev/null @@ -1,2 +0,0 @@ -Add new :data:`socket.TCP_NOTSENT_LOWAT` (Linux 3.12) constant. Patch by -Nathaniel J. Smith. diff --git a/Misc/NEWS.d/next/Library/0246.bpo-28682.hUxdej.rst b/Misc/NEWS.d/next/Library/0246.bpo-28682.hUxdej.rst deleted file mode 100644 index 480325cf9e..0000000000 --- a/Misc/NEWS.d/next/Library/0246.bpo-28682.hUxdej.rst +++ /dev/null @@ -1 +0,0 @@ -Added support for bytes paths in os.fwalk(). diff --git a/Misc/NEWS.d/next/Library/0247.bpo-26915.qShJZO.rst b/Misc/NEWS.d/next/Library/0247.bpo-26915.qShJZO.rst deleted file mode 100644 index cb9fd02e1c..0000000000 --- a/Misc/NEWS.d/next/Library/0247.bpo-26915.qShJZO.rst +++ /dev/null @@ -1,2 +0,0 @@ -index() and count() methods of collections.abc.Sequence now check identity -before checking equality when do comparisons. diff --git a/Misc/NEWS.d/next/Library/0248.bpo-28231.MG1X09.rst b/Misc/NEWS.d/next/Library/0248.bpo-28231.MG1X09.rst deleted file mode 100644 index b706b0641a..0000000000 --- a/Misc/NEWS.d/next/Library/0248.bpo-28231.MG1X09.rst +++ /dev/null @@ -1 +0,0 @@ -The zipfile module now accepts path-like objects for external paths. diff --git a/Misc/NEWS.d/next/Library/0249.bpo-29645.XCxTHM.rst b/Misc/NEWS.d/next/Library/0249.bpo-29645.XCxTHM.rst deleted file mode 100644 index 8f194b8a23..0000000000 --- a/Misc/NEWS.d/next/Library/0249.bpo-29645.XCxTHM.rst +++ /dev/null @@ -1,2 +0,0 @@ -Speed up importing the webbrowser module. webbrowser.register() is now -thread-safe. diff --git a/Misc/NEWS.d/next/Library/0250.bpo-28298.PNOPsT.rst b/Misc/NEWS.d/next/Library/0250.bpo-28298.PNOPsT.rst deleted file mode 100644 index 1e5ba95344..0000000000 --- a/Misc/NEWS.d/next/Library/0250.bpo-28298.PNOPsT.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix a bug that prevented array 'Q', 'L' and 'I' from accepting big intables -(objects that have __int__) as elements. diff --git a/Misc/NEWS.d/next/Library/0251.bpo-29619.WIGVxO.rst b/Misc/NEWS.d/next/Library/0251.bpo-29619.WIGVxO.rst deleted file mode 100644 index ae8df9ffdd..0000000000 --- a/Misc/NEWS.d/next/Library/0251.bpo-29619.WIGVxO.rst +++ /dev/null @@ -1,2 +0,0 @@ -os.stat() and os.DirEntry.inode() now convert inode (st_ino) using unsigned -integers. diff --git a/Misc/NEWS.d/next/Library/0252.bpo-26121.LX-pQA.rst b/Misc/NEWS.d/next/Library/0252.bpo-26121.LX-pQA.rst deleted file mode 100644 index 82a54e5d9e..0000000000 --- a/Misc/NEWS.d/next/Library/0252.bpo-26121.LX-pQA.rst +++ /dev/null @@ -1 +0,0 @@ -Use C library implementation for math functions erf() and erfc(). diff --git a/Misc/NEWS.d/next/Library/0253.bpo-28692.CDt-Gb.rst b/Misc/NEWS.d/next/Library/0253.bpo-28692.CDt-Gb.rst deleted file mode 100644 index a99463b03f..0000000000 --- a/Misc/NEWS.d/next/Library/0253.bpo-28692.CDt-Gb.rst +++ /dev/null @@ -1,2 +0,0 @@ -Using non-integer value for selecting a plural form in gettext is now -deprecated. diff --git a/Misc/NEWS.d/next/Library/0254.bpo-8256.jAwGQH.rst b/Misc/NEWS.d/next/Library/0254.bpo-8256.jAwGQH.rst deleted file mode 100644 index 3a9fc7c07b..0000000000 --- a/Misc/NEWS.d/next/Library/0254.bpo-8256.jAwGQH.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fixed possible failing or crashing input() if attributes "encoding" or -"errors" of sys.stdin or sys.stdout are not set or are not strings. diff --git a/Misc/NEWS.d/next/Library/0255.bpo-29800.d2xASa.rst b/Misc/NEWS.d/next/Library/0255.bpo-29800.d2xASa.rst deleted file mode 100644 index e4aba4b88e..0000000000 --- a/Misc/NEWS.d/next/Library/0255.bpo-29800.d2xASa.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix crashes in partial.__repr__ if the keys of partial.keywords are not -strings. Patch by Michael Seifert. diff --git a/Misc/NEWS.d/next/Library/0256.bpo-25455.ZsahHN.rst b/Misc/NEWS.d/next/Library/0256.bpo-25455.ZsahHN.rst deleted file mode 100644 index ee68d5b6c8..0000000000 --- a/Misc/NEWS.d/next/Library/0256.bpo-25455.ZsahHN.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed crashes in repr of recursive buffered file-like objects. diff --git a/Misc/NEWS.d/next/Library/0257.bpo-29884.kWXR8W.rst b/Misc/NEWS.d/next/Library/0257.bpo-29884.kWXR8W.rst deleted file mode 100644 index 90b5f0cf9a..0000000000 --- a/Misc/NEWS.d/next/Library/0257.bpo-29884.kWXR8W.rst +++ /dev/null @@ -1,2 +0,0 @@ -faulthandler: Restore the old sigaltstack during teardown. Patch by -Christophe Zeitouny. diff --git a/Misc/NEWS.d/next/Library/0258.bpo-19930.QCjO6A.rst b/Misc/NEWS.d/next/Library/0258.bpo-19930.QCjO6A.rst deleted file mode 100644 index 50075da9ec..0000000000 --- a/Misc/NEWS.d/next/Library/0258.bpo-19930.QCjO6A.rst +++ /dev/null @@ -1,2 +0,0 @@ -The mode argument of os.makedirs() no longer affects the file permission -bits of newly-created intermediate-level directories. diff --git a/Misc/NEWS.d/next/Library/0259.bpo-29861.t2ZoRK.rst b/Misc/NEWS.d/next/Library/0259.bpo-29861.t2ZoRK.rst deleted file mode 100644 index c14091ab5b..0000000000 --- a/Misc/NEWS.d/next/Library/0259.bpo-29861.t2ZoRK.rst +++ /dev/null @@ -1,2 +0,0 @@ -Release references to tasks, their arguments and their results as soon as -they are finished in multiprocessing.Pool. diff --git a/Misc/NEWS.d/next/Library/0260.bpo-25803.CPDR0W.rst b/Misc/NEWS.d/next/Library/0260.bpo-25803.CPDR0W.rst deleted file mode 100644 index 2ca8488f39..0000000000 --- a/Misc/NEWS.d/next/Library/0260.bpo-25803.CPDR0W.rst +++ /dev/null @@ -1,2 +0,0 @@ -Avoid incorrect errors raised by Path.mkdir(exist_ok=True) when the OS gives -priority to errors such as EACCES over EEXIST. diff --git a/Misc/NEWS.d/next/Library/0261.bpo-29901.QdgMvW.rst b/Misc/NEWS.d/next/Library/0261.bpo-29901.QdgMvW.rst deleted file mode 100644 index 51fde26f1e..0000000000 --- a/Misc/NEWS.d/next/Library/0261.bpo-29901.QdgMvW.rst +++ /dev/null @@ -1,2 +0,0 @@ -The zipapp module now supports general path-like objects, not just -pathlib.Path. diff --git a/Misc/NEWS.d/next/Library/0262.bpo-23890.GCFAAZ.rst b/Misc/NEWS.d/next/Library/0262.bpo-23890.GCFAAZ.rst deleted file mode 100644 index 7a589f1dcd..0000000000 --- a/Misc/NEWS.d/next/Library/0262.bpo-23890.GCFAAZ.rst +++ /dev/null @@ -1,2 +0,0 @@ -unittest.TestCase.assertRaises() now manually breaks a reference cycle to -not keep objects alive longer than expected. diff --git a/Misc/NEWS.d/next/Library/0263.bpo-28699.wZztZP.rst b/Misc/NEWS.d/next/Library/0263.bpo-28699.wZztZP.rst deleted file mode 100644 index 5ea6808390..0000000000 --- a/Misc/NEWS.d/next/Library/0263.bpo-28699.wZztZP.rst +++ /dev/null @@ -1,3 +0,0 @@ -Fixed a bug in pools in multiprocessing.pool that raising an exception at -the very first of an iterable may swallow the exception or make the program -hang. Patch by Davin Potts and Xiang Zhang. diff --git a/Misc/NEWS.d/next/Library/0264.bpo-25996.L2_giP.rst b/Misc/NEWS.d/next/Library/0264.bpo-25996.L2_giP.rst deleted file mode 100644 index b2786264aa..0000000000 --- a/Misc/NEWS.d/next/Library/0264.bpo-25996.L2_giP.rst +++ /dev/null @@ -1,2 +0,0 @@ -Added support of file descriptors in os.scandir() on Unix. os.fwalk() is -sped up by 2 times by using os.scandir(). diff --git a/Misc/NEWS.d/next/Library/0265.bpo-27863.pPYHHI.rst b/Misc/NEWS.d/next/Library/0265.bpo-27863.pPYHHI.rst deleted file mode 100644 index 49f0f03d7b..0000000000 --- a/Misc/NEWS.d/next/Library/0265.bpo-27863.pPYHHI.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fixed multiple crashes in ElementTree caused by race conditions and wrong -types. diff --git a/Misc/NEWS.d/next/Library/0266.bpo-29204.8Hbqn2.rst b/Misc/NEWS.d/next/Library/0266.bpo-29204.8Hbqn2.rst deleted file mode 100644 index cde465f4b2..0000000000 --- a/Misc/NEWS.d/next/Library/0266.bpo-29204.8Hbqn2.rst +++ /dev/null @@ -1,3 +0,0 @@ -Element.getiterator() and the html parameter of XMLParser() were deprecated -only in the documentation (since Python 3.2 and 3.4 correspondintly). Now -using them emits a deprecation warning. diff --git a/Misc/NEWS.d/next/Library/0267.bpo-10030.ZdhU3k.rst b/Misc/NEWS.d/next/Library/0267.bpo-10030.ZdhU3k.rst deleted file mode 100644 index e215fc2faa..0000000000 --- a/Misc/NEWS.d/next/Library/0267.bpo-10030.ZdhU3k.rst +++ /dev/null @@ -1 +0,0 @@ -Sped up reading encrypted ZIP files by 2 times. diff --git a/Misc/NEWS.d/next/Library/0268.bpo-29942.CsGNuT.rst b/Misc/NEWS.d/next/Library/0268.bpo-29942.CsGNuT.rst deleted file mode 100644 index 39b8ba8f3e..0000000000 --- a/Misc/NEWS.d/next/Library/0268.bpo-29942.CsGNuT.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix a crash in itertools.chain.from_iterable when encountering long runs of -empty iterables. diff --git a/Misc/NEWS.d/next/Library/0269.bpo-29953.Q1hSt-.rst b/Misc/NEWS.d/next/Library/0269.bpo-29953.Q1hSt-.rst deleted file mode 100644 index 214fd31b80..0000000000 --- a/Misc/NEWS.d/next/Library/0269.bpo-29953.Q1hSt-.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fixed memory leaks in the replace() method of datetime and time objects when -pass out of bound fold argument. diff --git a/Misc/NEWS.d/next/Library/0270.bpo-29931.tfcTwK.rst b/Misc/NEWS.d/next/Library/0270.bpo-29931.tfcTwK.rst deleted file mode 100644 index cb098ff6b0..0000000000 --- a/Misc/NEWS.d/next/Library/0270.bpo-29931.tfcTwK.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fixed comparison check for ipaddress.ip_interface objects. Patch by Sanjay -Sundaresan. diff --git a/Misc/NEWS.d/next/Library/0271.bpo-29654.xRFPge.rst b/Misc/NEWS.d/next/Library/0271.bpo-29654.xRFPge.rst deleted file mode 100644 index 26ef8ef1f4..0000000000 --- a/Misc/NEWS.d/next/Library/0271.bpo-29654.xRFPge.rst +++ /dev/null @@ -1,2 +0,0 @@ -Support If-Modified-Since HTTP header (browser cache). Patch by Pierre -Quentel. diff --git a/Misc/NEWS.d/next/Library/0272.bpo-29649.2eIxQ8.rst b/Misc/NEWS.d/next/Library/0272.bpo-29649.2eIxQ8.rst deleted file mode 100644 index 58c8a8e2f3..0000000000 --- a/Misc/NEWS.d/next/Library/0272.bpo-29649.2eIxQ8.rst +++ /dev/null @@ -1,2 +0,0 @@ -Improve struct.pack_into() exception messages for problems with the buffer -size and offset. Patch by Andrew Nester. diff --git a/Misc/NEWS.d/next/Library/0273.bpo-29962.r-ibsN.rst b/Misc/NEWS.d/next/Library/0273.bpo-29962.r-ibsN.rst deleted file mode 100644 index 4844525f23..0000000000 --- a/Misc/NEWS.d/next/Library/0273.bpo-29962.r-ibsN.rst +++ /dev/null @@ -1,2 +0,0 @@ -Add math.remainder operation, implementing remainder as specified in IEEE -754. diff --git a/Misc/NEWS.d/next/Library/0274.bpo-29995.b3mOqx.rst b/Misc/NEWS.d/next/Library/0274.bpo-29995.b3mOqx.rst deleted file mode 100644 index 5e6637873b..0000000000 --- a/Misc/NEWS.d/next/Library/0274.bpo-29995.b3mOqx.rst +++ /dev/null @@ -1 +0,0 @@ -re.escape() now escapes only regex special characters. diff --git a/Misc/NEWS.d/next/Library/0275.bpo-29998.poeIKD.rst b/Misc/NEWS.d/next/Library/0275.bpo-29998.poeIKD.rst deleted file mode 100644 index 1999770e5d..0000000000 --- a/Misc/NEWS.d/next/Library/0275.bpo-29998.poeIKD.rst +++ /dev/null @@ -1 +0,0 @@ -Pickling and copying ImportError now preserves name and path attributes. diff --git a/Misc/NEWS.d/next/Library/0276.bpo-30017.cKBuhU.rst b/Misc/NEWS.d/next/Library/0276.bpo-30017.cKBuhU.rst deleted file mode 100644 index d57348eeb2..0000000000 --- a/Misc/NEWS.d/next/Library/0276.bpo-30017.cKBuhU.rst +++ /dev/null @@ -1,2 +0,0 @@ -Allowed calling the close() method of the zip entry writer object multiple -times. Writing to a closed writer now always produces a ValueError. diff --git a/Misc/NEWS.d/next/Library/0277.bpo-26187.aViyiR.rst b/Misc/NEWS.d/next/Library/0277.bpo-26187.aViyiR.rst deleted file mode 100644 index f21f7a7dc6..0000000000 --- a/Misc/NEWS.d/next/Library/0277.bpo-26187.aViyiR.rst +++ /dev/null @@ -1,3 +0,0 @@ -Test that sqlite3 trace callback is not called multiple times when schema is -changing. Indirectly fixed by switching to use sqlite3_prepare_v2() in -bpo-9303. Patch by Aviv Palivoda. diff --git a/Misc/NEWS.d/next/Library/0278.bpo-29692.oyWrAE.rst b/Misc/NEWS.d/next/Library/0278.bpo-29692.oyWrAE.rst deleted file mode 100644 index 118475deca..0000000000 --- a/Misc/NEWS.d/next/Library/0278.bpo-29692.oyWrAE.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fixed arbitrary unchaining of RuntimeError exceptions in -contextlib.contextmanager. Patch by Siddharth Velankar. diff --git a/Misc/NEWS.d/next/Library/0279.bpo-29694.LWKxb1.rst b/Misc/NEWS.d/next/Library/0279.bpo-29694.LWKxb1.rst deleted file mode 100644 index fd91668c3d..0000000000 --- a/Misc/NEWS.d/next/Library/0279.bpo-29694.LWKxb1.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fixed race condition in pathlib mkdir with flags parents=True. Patch by -Armin Rigo. diff --git a/Misc/NEWS.d/next/Library/0280.bpo-30068.n4q47r.rst b/Misc/NEWS.d/next/Library/0280.bpo-30068.n4q47r.rst deleted file mode 100644 index 429673b83a..0000000000 --- a/Misc/NEWS.d/next/Library/0280.bpo-30068.n4q47r.rst +++ /dev/null @@ -1 +0,0 @@ -_io._IOBase.readlines will check if it's closed first when hint is present. diff --git a/Misc/NEWS.d/next/Library/0281.bpo-10076.qCnwly.rst b/Misc/NEWS.d/next/Library/0281.bpo-10076.qCnwly.rst deleted file mode 100644 index 842aa953b4..0000000000 --- a/Misc/NEWS.d/next/Library/0281.bpo-10076.qCnwly.rst +++ /dev/null @@ -1,2 +0,0 @@ -Compiled regular expression and match objects in the re module now support -copy.copy() and copy.deepcopy() (they are considered atomic). diff --git a/Misc/NEWS.d/next/Library/0282.bpo-30218.ab5oIg.rst b/Misc/NEWS.d/next/Library/0282.bpo-30218.ab5oIg.rst deleted file mode 100644 index bf1ff7d472..0000000000 --- a/Misc/NEWS.d/next/Library/0282.bpo-30218.ab5oIg.rst +++ /dev/null @@ -1 +0,0 @@ -Fix PathLike support for shutil.unpack_archive. Patch by Jelle Zijlstra. diff --git a/Misc/NEWS.d/next/Library/0283.bpo-30061.2w_dX9.rst b/Misc/NEWS.d/next/Library/0283.bpo-30061.2w_dX9.rst deleted file mode 100644 index 0b181f6084..0000000000 --- a/Misc/NEWS.d/next/Library/0283.bpo-30061.2w_dX9.rst +++ /dev/null @@ -1,4 +0,0 @@ -Fixed crashes in IOBase methods __next__() and readlines() when readline() -or __next__() respectively return non-sizeable object. Fixed possible other -errors caused by not checking results of PyObject_Size(), PySequence_Size(), -or PyMapping_Size(). diff --git a/Misc/NEWS.d/next/Library/0284.bpo-22352.gIQ5qC.rst b/Misc/NEWS.d/next/Library/0284.bpo-22352.gIQ5qC.rst deleted file mode 100644 index e74ad0ed97..0000000000 --- a/Misc/NEWS.d/next/Library/0284.bpo-22352.gIQ5qC.rst +++ /dev/null @@ -1,2 +0,0 @@ -Column widths in the output of dis.dis() are now adjusted for large line -numbers and instruction offsets. diff --git a/Misc/NEWS.d/next/Library/0285.bpo-30070.XM_B41.rst b/Misc/NEWS.d/next/Library/0285.bpo-30070.XM_B41.rst deleted file mode 100644 index 8e31371216..0000000000 --- a/Misc/NEWS.d/next/Library/0285.bpo-30070.XM_B41.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed leaks and crashes in errors handling in the parser module. diff --git a/Misc/NEWS.d/next/Library/0286.bpo-29960.g0wr3r.rst b/Misc/NEWS.d/next/Library/0286.bpo-29960.g0wr3r.rst deleted file mode 100644 index 0b37a4b96d..0000000000 --- a/Misc/NEWS.d/next/Library/0286.bpo-29960.g0wr3r.rst +++ /dev/null @@ -1,2 +0,0 @@ -Preserve generator state when _random.Random.setstate() raises an exception. -Patch by Bryan Olson. diff --git a/Misc/NEWS.d/next/Library/0287.bpo-29822.G7dX13.rst b/Misc/NEWS.d/next/Library/0287.bpo-29822.G7dX13.rst deleted file mode 100644 index a9ed2719b4..0000000000 --- a/Misc/NEWS.d/next/Library/0287.bpo-29822.G7dX13.rst +++ /dev/null @@ -1,2 +0,0 @@ -inspect.isabstract() now works during __init_subclass__. Patch by Nate -Soares. diff --git a/Misc/NEWS.d/next/Library/0288.bpo-30101.hxUqSL.rst b/Misc/NEWS.d/next/Library/0288.bpo-30101.hxUqSL.rst deleted file mode 100644 index cb1577550a..0000000000 --- a/Misc/NEWS.d/next/Library/0288.bpo-30101.hxUqSL.rst +++ /dev/null @@ -1 +0,0 @@ -Add support for curses.A_ITALIC. diff --git a/Misc/NEWS.d/next/Library/0289.bpo-30190.5E7Hyb.rst b/Misc/NEWS.d/next/Library/0289.bpo-30190.5E7Hyb.rst deleted file mode 100644 index 7c52e0693e..0000000000 --- a/Misc/NEWS.d/next/Library/0289.bpo-30190.5E7Hyb.rst +++ /dev/null @@ -1,3 +0,0 @@ -unittest's assertAlmostEqual and assertNotAlmostEqual provide a better -message in case of failure which includes the difference between left and -right arguments. (patch by Giampaolo Rodola') diff --git a/Misc/NEWS.d/next/Library/0290.bpo-30228.nF8Ov4.rst b/Misc/NEWS.d/next/Library/0290.bpo-30228.nF8Ov4.rst deleted file mode 100644 index fdd33cc002..0000000000 --- a/Misc/NEWS.d/next/Library/0290.bpo-30228.nF8Ov4.rst +++ /dev/null @@ -1,2 +0,0 @@ -The seek() and tell() methods of io.FileIO now set the internal seekable -attribute to avoid one syscall on open() (in buffered or text mode). diff --git a/Misc/NEWS.d/next/Library/0291.bpo-30205.BsxO34.rst b/Misc/NEWS.d/next/Library/0291.bpo-30205.BsxO34.rst deleted file mode 100644 index 2692614a80..0000000000 --- a/Misc/NEWS.d/next/Library/0291.bpo-30205.BsxO34.rst +++ /dev/null @@ -1 +0,0 @@ -Fix getsockname() for unbound AF_UNIX sockets on Linux. diff --git a/Misc/NEWS.d/next/Library/0292.bpo-28556.51gjbP.rst b/Misc/NEWS.d/next/Library/0292.bpo-28556.51gjbP.rst deleted file mode 100644 index dd8fc74567..0000000000 --- a/Misc/NEWS.d/next/Library/0292.bpo-28556.51gjbP.rst +++ /dev/null @@ -1,3 +0,0 @@ -Various updates to typing module: add typing.NoReturn type, use -WrapperDescriptorType, minor bug-fixes. Original PRs by Jim Fasarakis- -Hilliard and Ivan Levkivskyi. diff --git a/Misc/NEWS.d/next/Library/0293.bpo-30103.mmPjf5.rst b/Misc/NEWS.d/next/Library/0293.bpo-30103.mmPjf5.rst deleted file mode 100644 index b49ba6f2ce..0000000000 --- a/Misc/NEWS.d/next/Library/0293.bpo-30103.mmPjf5.rst +++ /dev/null @@ -1,2 +0,0 @@ -binascii.b2a_uu() and uu.encode() now support using ``'`'`` as zero instead -of space. diff --git a/Misc/NEWS.d/next/Library/0294.bpo-30185.Tiu1n8.rst b/Misc/NEWS.d/next/Library/0294.bpo-30185.Tiu1n8.rst deleted file mode 100644 index f19d47c7af..0000000000 --- a/Misc/NEWS.d/next/Library/0294.bpo-30185.Tiu1n8.rst +++ /dev/null @@ -1,2 +0,0 @@ -Avoid KeyboardInterrupt tracebacks in forkserver helper process when Ctrl-C -is received. diff --git a/Misc/NEWS.d/next/Library/0295.bpo-30215.SY8738.rst b/Misc/NEWS.d/next/Library/0295.bpo-30215.SY8738.rst deleted file mode 100644 index 36e2939c90..0000000000 --- a/Misc/NEWS.d/next/Library/0295.bpo-30215.SY8738.rst +++ /dev/null @@ -1,3 +0,0 @@ -Compiled regular expression objects with the re.LOCALE flag no longer depend -on the locale at compile time. Only the locale at matching time affects the -result of matching. diff --git a/Misc/NEWS.d/next/Library/0296.bpo-30243.RHQt0v.rst b/Misc/NEWS.d/next/Library/0296.bpo-30243.RHQt0v.rst deleted file mode 100644 index 6037eaf255..0000000000 --- a/Misc/NEWS.d/next/Library/0296.bpo-30243.RHQt0v.rst +++ /dev/null @@ -1,3 +0,0 @@ -Removed the __init__ methods of _json's scanner and encoder. Misusing them -could cause memory leaks or crashes. Now scanner and encoder objects are -completely initialized in the __new__ methods. diff --git a/Misc/NEWS.d/next/Library/0297.bpo-29979.jGBMyE.rst b/Misc/NEWS.d/next/Library/0297.bpo-29979.jGBMyE.rst deleted file mode 100644 index ea6329d395..0000000000 --- a/Misc/NEWS.d/next/Library/0297.bpo-29979.jGBMyE.rst +++ /dev/null @@ -1,3 +0,0 @@ -rewrite cgi.parse_multipart, reusing the FieldStorage class and making its -results consistent with those of FieldStorage for multipart/form-data -requests. Patch by Pierre Quentel. diff --git a/Misc/NEWS.d/next/Library/0298.bpo-29990.HWV6KE.rst b/Misc/NEWS.d/next/Library/0298.bpo-29990.HWV6KE.rst deleted file mode 100644 index 7a6793095f..0000000000 --- a/Misc/NEWS.d/next/Library/0298.bpo-29990.HWV6KE.rst +++ /dev/null @@ -1 +0,0 @@ -Fix range checking in GB18030 decoder. Original patch by Ma Lin. diff --git a/Misc/NEWS.d/next/Library/0299.bpo-30285.s1vpsO.rst b/Misc/NEWS.d/next/Library/0299.bpo-30285.s1vpsO.rst deleted file mode 100644 index 2e09fb9304..0000000000 --- a/Misc/NEWS.d/next/Library/0299.bpo-30285.s1vpsO.rst +++ /dev/null @@ -1 +0,0 @@ -Optimized case-insensitive matching and searching of regular expressions. diff --git a/Misc/NEWS.d/next/Library/0300.bpo-30298.ZN-bWo.rst b/Misc/NEWS.d/next/Library/0300.bpo-30298.ZN-bWo.rst deleted file mode 100644 index d0102a01a4..0000000000 --- a/Misc/NEWS.d/next/Library/0300.bpo-30298.ZN-bWo.rst +++ /dev/null @@ -1,4 +0,0 @@ -Weaken the condition of deprecation warnings for inline modifiers. Now -allowed several subsequential inline modifiers at the start of the pattern -(e.g. ``'(?i)(?s)...'``). In verbose mode whitespaces and comments now are -allowed before and between inline modifiers (e.g. ``'(?x) (?i) (?s)...'``). diff --git a/Misc/NEWS.d/next/Library/0301.bpo-30340.kvtGm-.rst b/Misc/NEWS.d/next/Library/0301.bpo-30340.kvtGm-.rst deleted file mode 100644 index d79acef676..0000000000 --- a/Misc/NEWS.d/next/Library/0301.bpo-30340.kvtGm-.rst +++ /dev/null @@ -1,2 +0,0 @@ -Enhanced regular expressions optimization. This increased the performance of -matching some patterns up to 25 times. diff --git a/Misc/NEWS.d/next/Library/0302.bpo-30266.YJzHAH.rst b/Misc/NEWS.d/next/Library/0302.bpo-30266.YJzHAH.rst deleted file mode 100644 index c9154526dd..0000000000 --- a/Misc/NEWS.d/next/Library/0302.bpo-30266.YJzHAH.rst +++ /dev/null @@ -1,3 +0,0 @@ -contextlib.AbstractContextManager now supports anti-registration by setting -__enter__ = None or __exit__ = None, following the pattern introduced in -bpo-25958. Patch by Jelle Zijlstra. diff --git a/Misc/NEWS.d/next/Library/0303.bpo-30048.ELRx8R.rst b/Misc/NEWS.d/next/Library/0303.bpo-30048.ELRx8R.rst deleted file mode 100644 index ee47a9e583..0000000000 --- a/Misc/NEWS.d/next/Library/0303.bpo-30048.ELRx8R.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fixed ``Task.cancel()`` can be ignored when the task is running coroutine -and the coroutine returned without any more ``await``. diff --git a/Misc/NEWS.d/next/Library/0304.bpo-30299.O-5d4A.rst b/Misc/NEWS.d/next/Library/0304.bpo-30299.O-5d4A.rst deleted file mode 100644 index 00702b5d1e..0000000000 --- a/Misc/NEWS.d/next/Library/0304.bpo-30299.O-5d4A.rst +++ /dev/null @@ -1,2 +0,0 @@ -Compiling regular expression in debug mode on CPython now displays the -compiled bytecode in human readable form. diff --git a/Misc/NEWS.d/next/Library/0305.bpo-9850.c6SMxt.rst b/Misc/NEWS.d/next/Library/0305.bpo-9850.c6SMxt.rst deleted file mode 100644 index c1e4112dc0..0000000000 --- a/Misc/NEWS.d/next/Library/0305.bpo-9850.c6SMxt.rst +++ /dev/null @@ -1 +0,0 @@ -The :mod:`macpath` is now deprecated and will be removed in Python 3.8. diff --git a/Misc/NEWS.d/next/Library/0306.bpo-29196.qBq9eB.rst b/Misc/NEWS.d/next/Library/0306.bpo-29196.qBq9eB.rst deleted file mode 100644 index a435b8246f..0000000000 --- a/Misc/NEWS.d/next/Library/0306.bpo-29196.qBq9eB.rst +++ /dev/null @@ -1,4 +0,0 @@ -Removed previously deprecated in Python 2.4 classes Plist, Dict and -_InternalDict in the plistlib module. Dict values in the result of -functions readPlist() and readPlistFromBytes() are now normal dicts. You no -longer can use attribute access to access items of these dictionaries. diff --git a/Misc/NEWS.d/next/Library/0307.bpo-30329.EuT36N.rst b/Misc/NEWS.d/next/Library/0307.bpo-30329.EuT36N.rst deleted file mode 100644 index d9d7be37e4..0000000000 --- a/Misc/NEWS.d/next/Library/0307.bpo-30329.EuT36N.rst +++ /dev/null @@ -1,3 +0,0 @@ -imaplib and poplib now catch the Windows socket WSAEINVAL error (code 10022) -on shutdown(SHUT_RDWR): An invalid operation was attempted. This error -occurs sometimes on SSL connections. diff --git a/Misc/NEWS.d/next/Library/0308.bpo-30375.9c8qM7.rst b/Misc/NEWS.d/next/Library/0308.bpo-30375.9c8qM7.rst deleted file mode 100644 index cb0f7eb038..0000000000 --- a/Misc/NEWS.d/next/Library/0308.bpo-30375.9c8qM7.rst +++ /dev/null @@ -1,3 +0,0 @@ -Warnings emitted when compile a regular expression now always point to the -line in the user code. Previously they could point into inners of the re -module if emitted from inside of groups or conditionals. diff --git a/Misc/NEWS.d/next/Library/0309.bpo-30301.ywOkjN.rst b/Misc/NEWS.d/next/Library/0309.bpo-30301.ywOkjN.rst deleted file mode 100644 index 0479f10483..0000000000 --- a/Misc/NEWS.d/next/Library/0309.bpo-30301.ywOkjN.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix AttributeError when using SimpleQueue.empty() under *spawn* and -*forkserver* start methods. diff --git a/Misc/NEWS.d/next/Library/0310.bpo-30436.b3zqE7.rst b/Misc/NEWS.d/next/Library/0310.bpo-30436.b3zqE7.rst deleted file mode 100644 index ad6724d5f0..0000000000 --- a/Misc/NEWS.d/next/Library/0310.bpo-30436.b3zqE7.rst +++ /dev/null @@ -1,3 +0,0 @@ -importlib.find_spec() raises ModuleNotFoundError instead of AttributeError -if the specified parent module is not a package (i.e. lacks a __path__ -attribute). diff --git a/Misc/NEWS.d/next/Library/0311.bpo-30149.hE649r.rst b/Misc/NEWS.d/next/Library/0311.bpo-30149.hE649r.rst deleted file mode 100644 index 44a69f47ce..0000000000 --- a/Misc/NEWS.d/next/Library/0311.bpo-30149.hE649r.rst +++ /dev/null @@ -1,2 +0,0 @@ -inspect.signature() now supports callables with variable-argument parameters -wrapped with partialmethod. Patch by Dong-hee Na. diff --git a/Misc/NEWS.d/next/Library/0312.bpo-30003.BOl9HE.rst b/Misc/NEWS.d/next/Library/0312.bpo-30003.BOl9HE.rst deleted file mode 100644 index ac449728fd..0000000000 --- a/Misc/NEWS.d/next/Library/0312.bpo-30003.BOl9HE.rst +++ /dev/null @@ -1 +0,0 @@ -Fix handling escape characters in HZ codec. Based on patch by Ma Lin. diff --git a/Misc/NEWS.d/next/Library/0313.bpo-30414.jGl1Lb.rst b/Misc/NEWS.d/next/Library/0313.bpo-30414.jGl1Lb.rst deleted file mode 100644 index 3bd0a23069..0000000000 --- a/Misc/NEWS.d/next/Library/0313.bpo-30414.jGl1Lb.rst +++ /dev/null @@ -1,2 +0,0 @@ -multiprocessing.Queue._feed background running thread do not break from main -loop on exception. diff --git a/Misc/NEWS.d/next/Library/0314.bpo-30470.wAYhUc.rst b/Misc/NEWS.d/next/Library/0314.bpo-30470.wAYhUc.rst deleted file mode 100644 index 666175af75..0000000000 --- a/Misc/NEWS.d/next/Library/0314.bpo-30470.wAYhUc.rst +++ /dev/null @@ -1,2 +0,0 @@ -Deprecate invalid ctypes call protection on Windows. Patch by Mariatta -Wijaya. diff --git a/Misc/NEWS.d/next/Library/0315.bpo-16500.9ypo9k.rst b/Misc/NEWS.d/next/Library/0315.bpo-16500.9ypo9k.rst deleted file mode 100644 index 5b1b3f9d4d..0000000000 --- a/Misc/NEWS.d/next/Library/0315.bpo-16500.9ypo9k.rst +++ /dev/null @@ -1 +0,0 @@ -Allow registering at-fork handlers. diff --git a/Misc/NEWS.d/next/Library/0316.bpo-30378.R_19_5.rst b/Misc/NEWS.d/next/Library/0316.bpo-30378.R_19_5.rst deleted file mode 100644 index 5994abe142..0000000000 --- a/Misc/NEWS.d/next/Library/0316.bpo-30378.R_19_5.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix the problem that logging.handlers.SysLogHandler cannot handle IPv6 -addresses. diff --git a/Misc/NEWS.d/next/Library/0317.bpo-30245.Xoa_8Y.rst b/Misc/NEWS.d/next/Library/0317.bpo-30245.Xoa_8Y.rst deleted file mode 100644 index f7c1b254c5..0000000000 --- a/Misc/NEWS.d/next/Library/0317.bpo-30245.Xoa_8Y.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix possible overflow when organize struct.pack_into error message. Patch -by Yuan Liu. diff --git a/Misc/NEWS.d/next/Library/0318.bpo-30526.7zTG30.rst b/Misc/NEWS.d/next/Library/0318.bpo-30526.7zTG30.rst deleted file mode 100644 index ab5a622021..0000000000 --- a/Misc/NEWS.d/next/Library/0318.bpo-30526.7zTG30.rst +++ /dev/null @@ -1 +0,0 @@ -Add TextIOWrapper.reconfigure() and a TextIOWrapper.write_through attribute. diff --git a/Misc/NEWS.d/next/Library/0319.bpo-30557.uykrLf.rst b/Misc/NEWS.d/next/Library/0319.bpo-30557.uykrLf.rst deleted file mode 100644 index f9f2870007..0000000000 --- a/Misc/NEWS.d/next/Library/0319.bpo-30557.uykrLf.rst +++ /dev/null @@ -1 +0,0 @@ -faulthandler now correctly filters and displays exception codes on Windows diff --git a/Misc/NEWS.d/next/Library/0320.bpo-30520.VYzaSn.rst b/Misc/NEWS.d/next/Library/0320.bpo-30520.VYzaSn.rst deleted file mode 100644 index 87b18d9f47..0000000000 --- a/Misc/NEWS.d/next/Library/0320.bpo-30520.VYzaSn.rst +++ /dev/null @@ -1 +0,0 @@ -Loggers are now pickleable. diff --git a/Misc/NEWS.d/next/Library/0321.bpo-30463.CdOuSl.rst b/Misc/NEWS.d/next/Library/0321.bpo-30463.CdOuSl.rst deleted file mode 100644 index 588d17e8ee..0000000000 --- a/Misc/NEWS.d/next/Library/0321.bpo-30463.CdOuSl.rst +++ /dev/null @@ -1,2 +0,0 @@ -Addded empty __slots__ to abc.ABC. This allows subclassers to deny __dict__ -and __weakref__ creation. Patch by Aaron Hall. diff --git a/Misc/NEWS.d/next/Library/0322.bpo-30418.EwISQm.rst b/Misc/NEWS.d/next/Library/0322.bpo-30418.EwISQm.rst deleted file mode 100644 index 43e149daff..0000000000 --- a/Misc/NEWS.d/next/Library/0322.bpo-30418.EwISQm.rst +++ /dev/null @@ -1,2 +0,0 @@ -On Windows, subprocess.Popen.communicate() now also ignore EINVAL on -stdin.write() if the child process is still running but closed the pipe. diff --git a/Misc/NEWS.d/next/Library/0323.bpo-30014.x7Yx6o.rst b/Misc/NEWS.d/next/Library/0323.bpo-30014.x7Yx6o.rst deleted file mode 100644 index 8292e857a9..0000000000 --- a/Misc/NEWS.d/next/Library/0323.bpo-30014.x7Yx6o.rst +++ /dev/null @@ -1,2 +0,0 @@ -modify() method of poll(), epoll() and devpoll() based classes of selectors -module is around 10% faster. Patch by Giampaolo Rodola'. diff --git a/Misc/NEWS.d/next/Library/0324.bpo-27585.0Ugqqu.rst b/Misc/NEWS.d/next/Library/0324.bpo-27585.0Ugqqu.rst deleted file mode 100644 index 3e31ab1b85..0000000000 --- a/Misc/NEWS.d/next/Library/0324.bpo-27585.0Ugqqu.rst +++ /dev/null @@ -1 +0,0 @@ -Fix waiter cancellation in asyncio.Lock. Patch by Mathieu Sornay. diff --git a/Misc/NEWS.d/next/Library/0325.bpo-29743.en2P4s.rst b/Misc/NEWS.d/next/Library/0325.bpo-29743.en2P4s.rst deleted file mode 100644 index c4264b45ce..0000000000 --- a/Misc/NEWS.d/next/Library/0325.bpo-29743.en2P4s.rst +++ /dev/null @@ -1,2 +0,0 @@ -Closing transport during handshake process leaks open socket. Patch by -Nikolay Kim diff --git a/Misc/NEWS.d/next/Library/0326.bpo-29870.p960Ih.rst b/Misc/NEWS.d/next/Library/0326.bpo-29870.p960Ih.rst deleted file mode 100644 index 55b78a7a79..0000000000 --- a/Misc/NEWS.d/next/Library/0326.bpo-29870.p960Ih.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix ssl sockets leaks when connection is aborted in asyncio/ssl -implementation. Patch by Michaël Sghaïer. diff --git a/Misc/NEWS.d/next/Library/0327.bpo-30605.XqGz1r.rst b/Misc/NEWS.d/next/Library/0327.bpo-30605.XqGz1r.rst deleted file mode 100644 index a01c8dda8a..0000000000 --- a/Misc/NEWS.d/next/Library/0327.bpo-30605.XqGz1r.rst +++ /dev/null @@ -1,2 +0,0 @@ -re.compile() no longer raises a BytesWarning when compiling a bytes instance -with misplaced inline modifier. Patch by Roy Williams. diff --git a/Misc/NEWS.d/next/Library/0328.bpo-28556.mESP7G.rst b/Misc/NEWS.d/next/Library/0328.bpo-28556.mESP7G.rst deleted file mode 100644 index 96a4eeb3cb..0000000000 --- a/Misc/NEWS.d/next/Library/0328.bpo-28556.mESP7G.rst +++ /dev/null @@ -1,3 +0,0 @@ -Updates to typing module: Add generic AsyncContextManager, add support for -ContextManager on all versions. Original PRs by Jelle Zijlstra and Ivan -Levkivskyi diff --git a/Misc/NEWS.d/next/Library/0329.bpo-30595.d0nRRA.rst b/Misc/NEWS.d/next/Library/0329.bpo-30595.d0nRRA.rst deleted file mode 100644 index 6f3e2b62eb..0000000000 --- a/Misc/NEWS.d/next/Library/0329.bpo-30595.d0nRRA.rst +++ /dev/null @@ -1,3 +0,0 @@ -multiprocessing.Queue.get() with a timeout now polls its reader in non- -blocking mode if it succeeded to acquire the lock but the acquire took -longer than the timeout. diff --git a/Misc/NEWS.d/next/Library/0330.bpo-30624.g5oVSn.rst b/Misc/NEWS.d/next/Library/0330.bpo-30624.g5oVSn.rst deleted file mode 100644 index 26cb1cb041..0000000000 --- a/Misc/NEWS.d/next/Library/0330.bpo-30624.g5oVSn.rst +++ /dev/null @@ -1,2 +0,0 @@ -selectors does not take KeyboardInterrupt and SystemExit into account, -leaving a fd in a bad state in case of error. Patch by Giampaolo Rodola'. diff --git a/Misc/NEWS.d/next/Library/0331.bpo-11822.GQmKw3.rst b/Misc/NEWS.d/next/Library/0331.bpo-11822.GQmKw3.rst deleted file mode 100644 index b8cec56c0a..0000000000 --- a/Misc/NEWS.d/next/Library/0331.bpo-11822.GQmKw3.rst +++ /dev/null @@ -1 +0,0 @@ -The dis.dis() function now is able to disassemble nested code objects. diff --git a/Misc/NEWS.d/next/Library/0332.bpo-30645.xihJ4Y.rst b/Misc/NEWS.d/next/Library/0332.bpo-30645.xihJ4Y.rst deleted file mode 100644 index 309908f7cf..0000000000 --- a/Misc/NEWS.d/next/Library/0332.bpo-30645.xihJ4Y.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix path calculation in `imp.load_package()`, fixing it for cases when a -package is only shipped with bytecodes. Patch by Alexandru Ardelean. diff --git a/Misc/NEWS.d/next/Library/0333.bpo-30508.wNWRS2.rst b/Misc/NEWS.d/next/Library/0333.bpo-30508.wNWRS2.rst deleted file mode 100644 index c0322082e8..0000000000 --- a/Misc/NEWS.d/next/Library/0333.bpo-30508.wNWRS2.rst +++ /dev/null @@ -1 +0,0 @@ -Don't log exceptions if Task/Future "cancel()" method was called. diff --git a/Misc/NEWS.d/next/Library/0334.bpo-28994.9vzun1.rst b/Misc/NEWS.d/next/Library/0334.bpo-28994.9vzun1.rst deleted file mode 100644 index 80de944b4e..0000000000 --- a/Misc/NEWS.d/next/Library/0334.bpo-28994.9vzun1.rst +++ /dev/null @@ -1,2 +0,0 @@ -The traceback no longer displayed for SystemExit raised in a callback -registered by atexit. diff --git a/Misc/NEWS.d/next/Library/0335.bpo-30589.xyZGM0.rst b/Misc/NEWS.d/next/Library/0335.bpo-30589.xyZGM0.rst deleted file mode 100644 index ac5f0bb2f1..0000000000 --- a/Misc/NEWS.d/next/Library/0335.bpo-30589.xyZGM0.rst +++ /dev/null @@ -1,3 +0,0 @@ -Fix multiprocessing.Process.exitcode to return the opposite of the signal -number when the process is killed by a signal (instead of 255) when using -the "forkserver" method. diff --git a/Misc/NEWS.d/next/Library/0336.bpo-24484.vFem8K.rst b/Misc/NEWS.d/next/Library/0336.bpo-24484.vFem8K.rst deleted file mode 100644 index ac5b648a25..0000000000 --- a/Misc/NEWS.d/next/Library/0336.bpo-24484.vFem8K.rst +++ /dev/null @@ -1 +0,0 @@ -Avoid race condition in multiprocessing cleanup. diff --git a/Misc/NEWS.d/next/Library/0337.bpo-24744.NKxUj3.rst b/Misc/NEWS.d/next/Library/0337.bpo-24744.NKxUj3.rst deleted file mode 100644 index 5a87ccb421..0000000000 --- a/Misc/NEWS.d/next/Library/0337.bpo-24744.NKxUj3.rst +++ /dev/null @@ -1,2 +0,0 @@ -pkgutil.walk_packages function now raises ValueError if *path* is a string. -Patch by Sanyam Khurana. diff --git a/Misc/NEWS.d/next/Library/0339.bpo-23894.k2pADV.rst b/Misc/NEWS.d/next/Library/0339.bpo-23894.k2pADV.rst deleted file mode 100644 index 16004ccc3a..0000000000 --- a/Misc/NEWS.d/next/Library/0339.bpo-23894.k2pADV.rst +++ /dev/null @@ -1 +0,0 @@ -lib2to3 now recognizes ``rb'...'`` and ``f'...'`` strings. diff --git a/Misc/NEWS.d/next/Library/0340.bpo-30038.vb4DWk.rst b/Misc/NEWS.d/next/Library/0340.bpo-30038.vb4DWk.rst deleted file mode 100644 index bfb9a1df80..0000000000 --- a/Misc/NEWS.d/next/Library/0340.bpo-30038.vb4DWk.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix race condition between signal delivery and wakeup file descriptor. -Patch by Nathaniel Smith. diff --git a/Misc/NEWS.d/next/Library/0341.bpo-30616.I2mDTz.rst b/Misc/NEWS.d/next/Library/0341.bpo-30616.I2mDTz.rst deleted file mode 100644 index e254768b94..0000000000 --- a/Misc/NEWS.d/next/Library/0341.bpo-30616.I2mDTz.rst +++ /dev/null @@ -1 +0,0 @@ -Functional API of enum allows to create empty enums. Patched by Dong-hee Na diff --git a/Misc/NEWS.d/next/Library/0343.bpo-29755.diQcY_.rst b/Misc/NEWS.d/next/Library/0343.bpo-29755.diQcY_.rst deleted file mode 100644 index f4f1b277c1..0000000000 --- a/Misc/NEWS.d/next/Library/0343.bpo-29755.diQcY_.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fixed the lgettext() family of functions in the gettext module. They now -always return bytes. diff --git a/Misc/NEWS.d/next/Library/0345.bpo-29212.HmTdef.rst b/Misc/NEWS.d/next/Library/0345.bpo-29212.HmTdef.rst deleted file mode 100644 index 9395b6bc7b..0000000000 --- a/Misc/NEWS.d/next/Library/0345.bpo-29212.HmTdef.rst +++ /dev/null @@ -1,3 +0,0 @@ -Fix concurrent.futures.thread.ThreadPoolExecutor threads to have a non -repr() based thread name by default when no thread_name_prefix is supplied. -They will now identify themselves as "ThreadPoolExecutor-y_n". diff --git a/Misc/NEWS.d/next/Library/0346.bpo-21071.Sw37rs.rst b/Misc/NEWS.d/next/Library/0346.bpo-21071.Sw37rs.rst deleted file mode 100644 index 5e54970454..0000000000 --- a/Misc/NEWS.d/next/Library/0346.bpo-21071.Sw37rs.rst +++ /dev/null @@ -1 +0,0 @@ -struct.Struct.format type is now :class:`str` instead of :class:`bytes`. diff --git a/Misc/NEWS.d/next/Library/0348.bpo-30664.oyqiUl.rst b/Misc/NEWS.d/next/Library/0348.bpo-30664.oyqiUl.rst deleted file mode 100644 index 2636960523..0000000000 --- a/Misc/NEWS.d/next/Library/0348.bpo-30664.oyqiUl.rst +++ /dev/null @@ -1,2 +0,0 @@ -The description of a unittest subtest now preserves the order of keyword -arguments of TestCase.subTest(). diff --git a/Misc/NEWS.d/next/Library/0349.bpo-30746.7drQI0.rst b/Misc/NEWS.d/next/Library/0349.bpo-30746.7drQI0.rst deleted file mode 100644 index 94803bb5f1..0000000000 --- a/Misc/NEWS.d/next/Library/0349.bpo-30746.7drQI0.rst +++ /dev/null @@ -1,2 +0,0 @@ -Prohibited the '=' character in environment variable names in -``os.putenv()`` and ``os.spawn*()``. diff --git a/Misc/NEWS.d/next/Library/0350.bpo-30879.N3KI-o.rst b/Misc/NEWS.d/next/Library/0350.bpo-30879.N3KI-o.rst deleted file mode 100644 index 862c114aef..0000000000 --- a/Misc/NEWS.d/next/Library/0350.bpo-30879.N3KI-o.rst +++ /dev/null @@ -1,2 +0,0 @@ -os.listdir() and os.scandir() now emit bytes names when called with bytes- -like argument. diff --git a/Misc/NEWS.d/next/Library/0351.bpo-30119.4UMLNh.rst b/Misc/NEWS.d/next/Library/0351.bpo-30119.4UMLNh.rst deleted file mode 100644 index a37d370384..0000000000 --- a/Misc/NEWS.d/next/Library/0351.bpo-30119.4UMLNh.rst +++ /dev/null @@ -1,2 +0,0 @@ -ftplib.FTP.putline() now throws ValueError on commands that contains CR or -LF. Patch by Dong-hee Na. diff --git a/Misc/NEWS.d/next/Library/0352.bpo-29169.8ypApm.rst b/Misc/NEWS.d/next/Library/0352.bpo-29169.8ypApm.rst deleted file mode 100644 index 96d066d41d..0000000000 --- a/Misc/NEWS.d/next/Library/0352.bpo-29169.8ypApm.rst +++ /dev/null @@ -1 +0,0 @@ -Update zlib to 1.2.11. diff --git a/Misc/NEWS.d/next/Library/2017-05-24-00-00-00.bpo-9146.pinky_.rst b/Misc/NEWS.d/next/Library/2017-05-24-00-00-00.bpo-9146.pinky_.rst deleted file mode 100644 index 8c45bcef5f..0000000000 --- a/Misc/NEWS.d/next/Library/2017-05-24-00-00-00.bpo-9146.pinky_.rst +++ /dev/null @@ -1,3 +0,0 @@ -Fix a segmentation fault in _hashopenssl when standard hash functions -such as md5 are not available in the linked OpenSSL library. As in -some special FIPS-140 build environments. diff --git a/Misc/NEWS.d/next/Library/2017-06-24-18-55-58.bpo-30596.VhB8iG.rst b/Misc/NEWS.d/next/Library/2017-06-24-18-55-58.bpo-30596.VhB8iG.rst deleted file mode 100644 index 6b9e9a17c4..0000000000 --- a/Misc/NEWS.d/next/Library/2017-06-24-18-55-58.bpo-30596.VhB8iG.rst +++ /dev/null @@ -1 +0,0 @@ -Add a ``close()`` method to ``multiprocessing.Process``. diff --git a/Misc/NEWS.d/next/Library/2017-06-26-11-01-59.bpo-30532.qTeL1o.rst b/Misc/NEWS.d/next/Library/2017-06-26-11-01-59.bpo-30532.qTeL1o.rst deleted file mode 100644 index adce85fbc2..0000000000 --- a/Misc/NEWS.d/next/Library/2017-06-26-11-01-59.bpo-30532.qTeL1o.rst +++ /dev/null @@ -1 +0,0 @@ -Fix email header value parser dropping folding white space in certain cases. diff --git a/Misc/NEWS.d/next/Library/2017-06-29-00-07-22.bpo-29293.Z6WZjD.rst b/Misc/NEWS.d/next/Library/2017-06-29-00-07-22.bpo-29293.Z6WZjD.rst deleted file mode 100644 index 9ef3ace090..0000000000 --- a/Misc/NEWS.d/next/Library/2017-06-29-00-07-22.bpo-29293.Z6WZjD.rst +++ /dev/null @@ -1,5 +0,0 @@ -Add missing parameter "n" on multiprocessing.Condition.notify(). - -The doc claims multiprocessing.Condition behaves like threading.Condition, -but its notify() method lacked the optional "n" argument (to specify the -number of sleepers to wake up) that threading.Condition.notify() accepts. diff --git a/Misc/NEWS.d/next/Library/2017-06-29-00-17-38.bpo-29585.x2V0my.rst b/Misc/NEWS.d/next/Library/2017-06-29-00-17-38.bpo-29585.x2V0my.rst deleted file mode 100644 index c841f1b225..0000000000 --- a/Misc/NEWS.d/next/Library/2017-06-29-00-17-38.bpo-29585.x2V0my.rst +++ /dev/null @@ -1,2 +0,0 @@ -Avoid importing ``sysconfig`` from ``site`` to improve startup speed. Python -startup is about 5% faster on Linux and 30% faster on macOS. diff --git a/Misc/NEWS.d/next/Library/2017-06-29-14-25-14.bpo-30441.3Wh9kc.rst b/Misc/NEWS.d/next/Library/2017-06-29-14-25-14.bpo-30441.3Wh9kc.rst deleted file mode 100644 index 55dd6136c8..0000000000 --- a/Misc/NEWS.d/next/Library/2017-06-29-14-25-14.bpo-30441.3Wh9kc.rst +++ /dev/null @@ -1 +0,0 @@ -Fix bug when modifying os.environ while iterating over it diff --git a/Misc/NEWS.d/next/Library/2017-06-29-22-04-44.bpo-30807.sLtjY-.rst b/Misc/NEWS.d/next/Library/2017-06-29-22-04-44.bpo-30807.sLtjY-.rst deleted file mode 100644 index ce6f48a61f..0000000000 --- a/Misc/NEWS.d/next/Library/2017-06-29-22-04-44.bpo-30807.sLtjY-.rst +++ /dev/null @@ -1,6 +0,0 @@ -signal.setitimer() may disable the timer when passed a tiny value. - -Tiny values (such as 1e-6) are valid non-zero values for setitimer(), which -is specified as taking microsecond-resolution intervals. However, on some -platform, our conversion routine could convert 1e-6 into a zero interval, -therefore disabling the timer instead of (re-)scheduling it. diff --git a/Misc/NEWS.d/next/Library/2017-06-30-23-05-47.bpo-30302.itwK_k.rst b/Misc/NEWS.d/next/Library/2017-06-30-23-05-47.bpo-30302.itwK_k.rst deleted file mode 100644 index 927250d04c..0000000000 --- a/Misc/NEWS.d/next/Library/2017-06-30-23-05-47.bpo-30302.itwK_k.rst +++ /dev/null @@ -1 +0,0 @@ -Use keywords in the ``repr`` of ``datetime.timedelta``. diff --git a/Misc/NEWS.d/next/Library/2017-07-04-13-10-52.bpo-30828.CLvEvV.rst b/Misc/NEWS.d/next/Library/2017-07-04-13-10-52.bpo-30828.CLvEvV.rst deleted file mode 100644 index 8924962d07..0000000000 --- a/Misc/NEWS.d/next/Library/2017-07-04-13-10-52.bpo-30828.CLvEvV.rst +++ /dev/null @@ -1 +0,0 @@ -Fix out of bounds write in `asyncio.CFuture.remove_done_callback()`. diff --git a/Misc/NEWS.d/next/Library/2017-07-04-13-48-21.bpo-30319.hg_3TX.rst b/Misc/NEWS.d/next/Library/2017-07-04-13-48-21.bpo-30319.hg_3TX.rst deleted file mode 100644 index 1112d2f373..0000000000 --- a/Misc/NEWS.d/next/Library/2017-07-04-13-48-21.bpo-30319.hg_3TX.rst +++ /dev/null @@ -1 +0,0 @@ -socket.close() now ignores ECONNRESET error. diff --git a/Misc/NEWS.d/next/Library/2017-07-04-22-00-20.bpo-30794.qFwozm.rst b/Misc/NEWS.d/next/Library/2017-07-04-22-00-20.bpo-30794.qFwozm.rst deleted file mode 100644 index d960bd3a30..0000000000 --- a/Misc/NEWS.d/next/Library/2017-07-04-22-00-20.bpo-30794.qFwozm.rst +++ /dev/null @@ -1,2 +0,0 @@ -Added multiprocessing.Process.kill method to terminate using the SIGKILL -signal on Unix. diff --git a/Misc/NEWS.d/next/Library/2017-07-07-02-18-57.bpo-29854.J8wKb_.rst b/Misc/NEWS.d/next/Library/2017-07-07-02-18-57.bpo-29854.J8wKb_.rst deleted file mode 100644 index 5c439087dc..0000000000 --- a/Misc/NEWS.d/next/Library/2017-07-07-02-18-57.bpo-29854.J8wKb_.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix segfault in readline when using readline's history-size option. Patch -by Nir Soffer. diff --git a/Misc/NEWS.d/next/Library/2017-07-10-12-14-22.bpo-30886.nqQj34.rst b/Misc/NEWS.d/next/Library/2017-07-10-12-14-22.bpo-30886.nqQj34.rst deleted file mode 100644 index fedd6cd047..0000000000 --- a/Misc/NEWS.d/next/Library/2017-07-10-12-14-22.bpo-30886.nqQj34.rst +++ /dev/null @@ -1,3 +0,0 @@ -Fix multiprocessing.Queue.join_thread(): it now waits until the thread -completes, even if the thread was started by the same process which created -the queue. diff --git a/Misc/NEWS.d/next/Library/2017-07-17-11-35-00.bpo-25684.usELVx.rst b/Misc/NEWS.d/next/Library/2017-07-17-11-35-00.bpo-25684.usELVx.rst deleted file mode 100644 index 61d6b29caf..0000000000 --- a/Misc/NEWS.d/next/Library/2017-07-17-11-35-00.bpo-25684.usELVx.rst +++ /dev/null @@ -1,2 +0,0 @@ -Change ``ttk.OptionMenu`` radiobuttons to be unique across instances of -``OptionMenu``. diff --git a/Misc/NEWS.d/next/Library/2017-07-17-12-32-47.bpo-30946.DUo-uA.rst b/Misc/NEWS.d/next/Library/2017-07-17-12-32-47.bpo-30946.DUo-uA.rst deleted file mode 100644 index 0d06a7d0ed..0000000000 --- a/Misc/NEWS.d/next/Library/2017-07-17-12-32-47.bpo-30946.DUo-uA.rst +++ /dev/null @@ -1,2 +0,0 @@ -Remove obsolete code in readline module for platforms where GNU readline is -older than 2.1 or where select() is not available. diff --git a/Misc/NEWS.d/next/Library/2017-07-18-13-24-50.bpo-19896.-S0IWu.rst b/Misc/NEWS.d/next/Library/2017-07-18-13-24-50.bpo-19896.-S0IWu.rst deleted file mode 100644 index ce06279440..0000000000 --- a/Misc/NEWS.d/next/Library/2017-07-18-13-24-50.bpo-19896.-S0IWu.rst +++ /dev/null @@ -1 +0,0 @@ -Fix multiprocessing.sharedctypes to recognize typecodes ``'q'`` and ``'Q'``. diff --git a/Misc/NEWS.d/next/Library/2017-07-18-23-47-51.bpo-30961.064jz0.rst b/Misc/NEWS.d/next/Library/2017-07-18-23-47-51.bpo-30961.064jz0.rst deleted file mode 100644 index b89c6d4769..0000000000 --- a/Misc/NEWS.d/next/Library/2017-07-18-23-47-51.bpo-30961.064jz0.rst +++ /dev/null @@ -1 +0,0 @@ -Fix decrementing a borrowed reference in tracemalloc. diff --git a/Misc/NEWS.d/next/Library/2017-07-20-02-29-49.bpo-29403.3RinCV.rst b/Misc/NEWS.d/next/Library/2017-07-20-02-29-49.bpo-29403.3RinCV.rst deleted file mode 100644 index 95bcd1007d..0000000000 --- a/Misc/NEWS.d/next/Library/2017-07-20-02-29-49.bpo-29403.3RinCV.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix ``unittest.mock``'s autospec to not fail on method-bound builtin -functions. Patch by Aaron Gallagher. diff --git a/Misc/NEWS.d/next/Library/2017-07-22-12-12-42.bpo-26732.lYLWBH.rst b/Misc/NEWS.d/next/Library/2017-07-22-12-12-42.bpo-26732.lYLWBH.rst deleted file mode 100644 index cff0f9ad6a..0000000000 --- a/Misc/NEWS.d/next/Library/2017-07-22-12-12-42.bpo-26732.lYLWBH.rst +++ /dev/null @@ -1,4 +0,0 @@ -Fix too many fds in processes started with the "forkserver" method. - -A child process would inherit as many fds as the number of still-running -children. diff --git a/Misc/NEWS.d/next/Library/2017-07-23-11-33-10.bpo-30919.5dYRru.rst b/Misc/NEWS.d/next/Library/2017-07-23-11-33-10.bpo-30919.5dYRru.rst deleted file mode 100644 index 44c3a22bc8..0000000000 --- a/Misc/NEWS.d/next/Library/2017-07-23-11-33-10.bpo-30919.5dYRru.rst +++ /dev/null @@ -1,4 +0,0 @@ -Fix shared memory performance regression in multiprocessing in 3.x. - -Shared memory used anonymous memory mappings in 2.x, while 3.x mmaps actual -files. Try to be careful to do as little disk I/O as possible. diff --git a/Misc/NEWS.d/next/Library/2017-07-26-13-18-29.bpo-5288.o_xEGj.rst b/Misc/NEWS.d/next/Library/2017-07-26-13-18-29.bpo-5288.o_xEGj.rst deleted file mode 100644 index a7eaa06107..0000000000 --- a/Misc/NEWS.d/next/Library/2017-07-26-13-18-29.bpo-5288.o_xEGj.rst +++ /dev/null @@ -1 +0,0 @@ -Support tzinfo objects with sub-minute offsets. diff --git a/Misc/NEWS.d/next/Library/2017-07-27-11-33-58.bpo-30502.GJlfU8.rst b/Misc/NEWS.d/next/Library/2017-07-27-11-33-58.bpo-30502.GJlfU8.rst deleted file mode 100644 index 522bdf669e..0000000000 --- a/Misc/NEWS.d/next/Library/2017-07-27-11-33-58.bpo-30502.GJlfU8.rst +++ /dev/null @@ -1 +0,0 @@ -Fix handling of long oids in ssl. Based on patch by Christian Heimes. diff --git a/Misc/NEWS.d/next/Library/2017-07-30-10-07-58.bpo-30522.gAX1N-.rst b/Misc/NEWS.d/next/Library/2017-07-30-10-07-58.bpo-30522.gAX1N-.rst deleted file mode 100644 index 214f98e101..0000000000 --- a/Misc/NEWS.d/next/Library/2017-07-30-10-07-58.bpo-30522.gAX1N-.rst +++ /dev/null @@ -1,2 +0,0 @@ -Added a ``setStream`` method to ``logging.StreamHandler`` to allow the -stream to be set after creation. diff --git a/Misc/NEWS.d/next/Library/2017-07-30-22-00-12.bpo-30987.228rW0.rst b/Misc/NEWS.d/next/Library/2017-07-30-22-00-12.bpo-30987.228rW0.rst deleted file mode 100644 index de30ea8850..0000000000 --- a/Misc/NEWS.d/next/Library/2017-07-30-22-00-12.bpo-30987.228rW0.rst +++ /dev/null @@ -1 +0,0 @@ -Added support for CAN ISO-TP protocol in the socket module. diff --git a/Misc/NEWS.d/next/Library/2017-08-01-09-32-58.bpo-31061.husAYX.rst b/Misc/NEWS.d/next/Library/2017-08-01-09-32-58.bpo-31061.husAYX.rst deleted file mode 100644 index 650e5f95f9..0000000000 --- a/Misc/NEWS.d/next/Library/2017-08-01-09-32-58.bpo-31061.husAYX.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed a crash when using asyncio and threads. diff --git a/Misc/NEWS.d/next/Library/2017-08-01-15-56-50.bpo-30897.OuT1-Y.rst b/Misc/NEWS.d/next/Library/2017-08-01-15-56-50.bpo-30897.OuT1-Y.rst deleted file mode 100644 index 41a75b805a..0000000000 --- a/Misc/NEWS.d/next/Library/2017-08-01-15-56-50.bpo-30897.OuT1-Y.rst +++ /dev/null @@ -1,3 +0,0 @@ -``pathlib.Path`` objects now include an ``is_mount()`` method (only -implemented on POSIX). This is similar to ``os.path.ismount(p)``. Patch by -Cooper Ry Lees. diff --git a/Misc/NEWS.d/next/Library/2017-08-01-18-26-55.bpo-31080.2CFVCO.rst b/Misc/NEWS.d/next/Library/2017-08-01-18-26-55.bpo-31080.2CFVCO.rst deleted file mode 100644 index afa2d532c5..0000000000 --- a/Misc/NEWS.d/next/Library/2017-08-01-18-26-55.bpo-31080.2CFVCO.rst +++ /dev/null @@ -1 +0,0 @@ -Allow `logging.config.fileConfig` to accept kwargs and/or args. diff --git a/Misc/NEWS.d/next/Library/2017-08-02-12-48-15.bpo-31107.1t2hn5.rst b/Misc/NEWS.d/next/Library/2017-08-02-12-48-15.bpo-31107.1t2hn5.rst deleted file mode 100644 index 3c2a15528d..0000000000 --- a/Misc/NEWS.d/next/Library/2017-08-02-12-48-15.bpo-31107.1t2hn5.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix `copyreg._slotnames()` mangled attribute calculation for classes whose -name begins with an underscore. Patch by Shane Harvey. diff --git a/Misc/NEWS.d/next/Library/2017-08-08-14-44-37.bpo-31135.HH94xR.rst b/Misc/NEWS.d/next/Library/2017-08-08-14-44-37.bpo-31135.HH94xR.rst deleted file mode 100644 index 60068fb648..0000000000 --- a/Misc/NEWS.d/next/Library/2017-08-08-14-44-37.bpo-31135.HH94xR.rst +++ /dev/null @@ -1,4 +0,0 @@ -ttk: fix the destroy() method of LabeledScale and OptionMenu classes. -Call the parent destroy() method even if the used attribute doesn't -exist. The LabeledScale.destroy() method now also explicitly clears label and -scale attributes to help the garbage collector to destroy all widgets. diff --git a/Misc/NEWS.d/next/Library/2017-08-08-15-14-34.bpo-24700.44mvNV.rst b/Misc/NEWS.d/next/Library/2017-08-08-15-14-34.bpo-24700.44mvNV.rst deleted file mode 100644 index a78172e042..0000000000 --- a/Misc/NEWS.d/next/Library/2017-08-08-15-14-34.bpo-24700.44mvNV.rst +++ /dev/null @@ -1,2 +0,0 @@ -Optimize array.array comparison. It is now from 10x up to 70x faster when -comparing arrays holding values of the same integer type.
\ No newline at end of file diff --git a/Misc/NEWS.d/next/Library/2017-08-09-13-45-23.bpo-31072.NLXDPV.rst b/Misc/NEWS.d/next/Library/2017-08-09-13-45-23.bpo-31072.NLXDPV.rst deleted file mode 100644 index 8c96201210..0000000000 --- a/Misc/NEWS.d/next/Library/2017-08-09-13-45-23.bpo-31072.NLXDPV.rst +++ /dev/null @@ -1 +0,0 @@ -Add an ``include_file`` parameter to ``zipapp.create_archive()`` diff --git a/Misc/NEWS.d/next/Library/2017-08-10-13-20-02.bpo-31151.730VBI.rst b/Misc/NEWS.d/next/Library/2017-08-10-13-20-02.bpo-31151.730VBI.rst deleted file mode 100644 index 6eff63653a..0000000000 --- a/Misc/NEWS.d/next/Library/2017-08-10-13-20-02.bpo-31151.730VBI.rst +++ /dev/null @@ -1,2 +0,0 @@ -socketserver.ForkingMixIn.server_close() now waits until all child processes -completed to prevent leaking zombie processes. diff --git a/Misc/NEWS.d/next/Library/2017-08-11-19-30-00.bpo-31185.i6TPgL.rst b/Misc/NEWS.d/next/Library/2017-08-11-19-30-00.bpo-31185.i6TPgL.rst deleted file mode 100644 index bdaa4ea35d..0000000000 --- a/Misc/NEWS.d/next/Library/2017-08-11-19-30-00.bpo-31185.i6TPgL.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed miscellaneous errors in asyncio speedup module. diff --git a/Misc/NEWS.d/next/Library/2017-08-12-09-25-55.bpo-5001.huQi2Y.rst b/Misc/NEWS.d/next/Library/2017-08-12-09-25-55.bpo-5001.huQi2Y.rst deleted file mode 100644 index f157d49a81..0000000000 --- a/Misc/NEWS.d/next/Library/2017-08-12-09-25-55.bpo-5001.huQi2Y.rst +++ /dev/null @@ -1,9 +0,0 @@ -There are a number of uninformative asserts in the `multiprocessing` module, -as noted in issue 5001. This change fixes two of the most potentially -problematic ones, since they are in error-reporting code, in the -`multiprocessing.managers.convert_to_error` function. (It also makes more -informative a ValueError message.) The only potentially problematic change -is that the AssertionError is now a TypeError; however, this should also -help distinguish it from an AssertionError being *reported* by the -function/its caller (such as in issue 31169). - Patch by Allen W. Smith -(drallensmith on github). diff --git a/Misc/NEWS.d/next/Library/2017-08-13-09-17-01.bpo-31183.-2_YGj.rst b/Misc/NEWS.d/next/Library/2017-08-13-09-17-01.bpo-31183.-2_YGj.rst deleted file mode 100644 index ef7a31a8d0..0000000000 --- a/Misc/NEWS.d/next/Library/2017-08-13-09-17-01.bpo-31183.-2_YGj.rst +++ /dev/null @@ -1,2 +0,0 @@ -`dis` now works with asynchronous generator and coroutine objects. Patch by -George Collins based on diagnosis by Luciano Ramalho. diff --git a/Misc/NEWS.d/next/Library/2017-08-16-20-28-06.bpo-18966.mjHWk2.rst b/Misc/NEWS.d/next/Library/2017-08-16-20-28-06.bpo-18966.mjHWk2.rst deleted file mode 100644 index 53bea71012..0000000000 --- a/Misc/NEWS.d/next/Library/2017-08-16-20-28-06.bpo-18966.mjHWk2.rst +++ /dev/null @@ -1,2 +0,0 @@ -Non-daemonic threads created by a multiprocessing.Process are now joined on -child exit. diff --git a/Misc/NEWS.d/next/Library/2017-08-16-21-14-31.bpo-30102.1sPqmc.rst b/Misc/NEWS.d/next/Library/2017-08-16-21-14-31.bpo-30102.1sPqmc.rst deleted file mode 100644 index 13c07e39fd..0000000000 --- a/Misc/NEWS.d/next/Library/2017-08-16-21-14-31.bpo-30102.1sPqmc.rst +++ /dev/null @@ -1,4 +0,0 @@ -The ssl and hashlib modules now call OPENSSL_add_all_algorithms_noconf() on -OpenSSL < 1.1.0. The function detects CPU features and enables optimizations -on some CPU architectures such as POWER8. Patch is based on research from -Gustavo Serra Scalet. diff --git a/Misc/NEWS.d/next/Library/2017-08-17-20-29-45.bpo-31109.7qtC64.rst b/Misc/NEWS.d/next/Library/2017-08-17-20-29-45.bpo-31109.7qtC64.rst deleted file mode 100644 index f023cbc80e..0000000000 --- a/Misc/NEWS.d/next/Library/2017-08-17-20-29-45.bpo-31109.7qtC64.rst +++ /dev/null @@ -1 +0,0 @@ -Convert zipimport to use Argument Clinic. diff --git a/Misc/NEWS.d/next/Library/2017-08-18-17-16-38.bpo-5001.gwnthq.rst b/Misc/NEWS.d/next/Library/2017-08-18-17-16-38.bpo-5001.gwnthq.rst deleted file mode 100644 index 640b801c9b..0000000000 --- a/Misc/NEWS.d/next/Library/2017-08-18-17-16-38.bpo-5001.gwnthq.rst +++ /dev/null @@ -1 +0,0 @@ -Many asserts in `multiprocessing` are now more informative, and some error types have been changed to more specific ones. diff --git a/Misc/NEWS.d/next/Library/2017-08-21-12-31-53.bpo-31238.Gg0LRH.rst b/Misc/NEWS.d/next/Library/2017-08-21-12-31-53.bpo-31238.Gg0LRH.rst deleted file mode 100644 index 3e1cd13010..0000000000 --- a/Misc/NEWS.d/next/Library/2017-08-21-12-31-53.bpo-31238.Gg0LRH.rst +++ /dev/null @@ -1,3 +0,0 @@ -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. diff --git a/Misc/NEWS.d/next/Library/2017-08-21-16-06-19.bpo-23835.da_4Kz.rst b/Misc/NEWS.d/next/Library/2017-08-21-16-06-19.bpo-23835.da_4Kz.rst deleted file mode 100644 index 5e15ed9669..0000000000 --- a/Misc/NEWS.d/next/Library/2017-08-21-16-06-19.bpo-23835.da_4Kz.rst +++ /dev/null @@ -1,4 +0,0 @@ -configparser: reading defaults in the ``ConfigParser()`` constructor is now -using ``read_dict()``, making its behavior consistent with the rest of the -parser. Non-string keys and values in the defaults dictionary are now being -implicitly converted to strings. Patch by James Tocknell. diff --git a/Misc/NEWS.d/next/Library/2017-08-21-17-50-27.bpo-31247.8S3zJp.rst b/Misc/NEWS.d/next/Library/2017-08-21-17-50-27.bpo-31247.8S3zJp.rst deleted file mode 100644 index 6879384eb8..0000000000 --- a/Misc/NEWS.d/next/Library/2017-08-21-17-50-27.bpo-31247.8S3zJp.rst +++ /dev/null @@ -1,2 +0,0 @@ -xmlrpc.server now explicitly breaks reference cycles when using -sys.exc_info() in code handling exceptions. diff --git a/Misc/NEWS.d/next/Library/2017-08-22-12-44-48.bpo-31249.STPbb9.rst b/Misc/NEWS.d/next/Library/2017-08-22-12-44-48.bpo-31249.STPbb9.rst deleted file mode 100644 index f11a66802d..0000000000 --- a/Misc/NEWS.d/next/Library/2017-08-22-12-44-48.bpo-31249.STPbb9.rst +++ /dev/null @@ -1,2 +0,0 @@ -concurrent.futures: WorkItem.run() used by ThreadPoolExecutor now breaks a -reference cycle between an exception object and the WorkItem object. diff --git a/Misc/NEWS.d/next/Library/2017-08-23-00-31-32.bpo-29741.EBn_DM.rst b/Misc/NEWS.d/next/Library/2017-08-23-00-31-32.bpo-29741.EBn_DM.rst deleted file mode 100644 index dce720b193..0000000000 --- a/Misc/NEWS.d/next/Library/2017-08-23-00-31-32.bpo-29741.EBn_DM.rst +++ /dev/null @@ -1,2 +0,0 @@ -Update some methods in the _pyio module to also accept integer types. Patch -by Oren Milman. diff --git a/Misc/NEWS.d/next/Library/2017-08-23.bpo-22536._narf_.rst b/Misc/NEWS.d/next/Library/2017-08-23.bpo-22536._narf_.rst deleted file mode 100644 index bd238f95b8..0000000000 --- a/Misc/NEWS.d/next/Library/2017-08-23.bpo-22536._narf_.rst +++ /dev/null @@ -1,2 +0,0 @@ -The subprocess module now sets the filename when FileNotFoundError -is raised on POSIX systems due to the executable or cwd not being found. diff --git a/Misc/NEWS.d/next/Library/2017-08-24-14-03-14.bpo-27584.r11JHZ.rst b/Misc/NEWS.d/next/Library/2017-08-24-14-03-14.bpo-27584.r11JHZ.rst deleted file mode 100644 index af4c583e18..0000000000 --- a/Misc/NEWS.d/next/Library/2017-08-24-14-03-14.bpo-27584.r11JHZ.rst +++ /dev/null @@ -1,2 +0,0 @@ -``AF_VSOCK`` has been added to the socket interface which allows -communication between virtual machines and their host. diff --git a/Misc/NEWS.d/next/Library/2017-08-28-13-01-05.bpo-10746.nmAvfu.rst b/Misc/NEWS.d/next/Library/2017-08-28-13-01-05.bpo-10746.nmAvfu.rst deleted file mode 100644 index e762563100..0000000000 --- a/Misc/NEWS.d/next/Library/2017-08-28-13-01-05.bpo-10746.nmAvfu.rst +++ /dev/null @@ -1 +0,0 @@ -Fix ctypes producing wrong PEP 3118 type codes for integer types. diff --git a/Misc/NEWS.d/next/Library/2017-08-29-07-14-14.bpo-31281.DcFyNs.rst b/Misc/NEWS.d/next/Library/2017-08-29-07-14-14.bpo-31281.DcFyNs.rst deleted file mode 100644 index 7fc8229cf4..0000000000 --- a/Misc/NEWS.d/next/Library/2017-08-29-07-14-14.bpo-31281.DcFyNs.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix ``fileinput.FileInput(files, inplace=True)`` when ``files`` contain -``pathlib.Path`` objects. diff --git a/Misc/NEWS.d/next/Library/2017-08-30-11-26-14.bpo-27144.PEDJsE.rst b/Misc/NEWS.d/next/Library/2017-08-30-11-26-14.bpo-27144.PEDJsE.rst deleted file mode 100644 index 857fad0c85..0000000000 --- a/Misc/NEWS.d/next/Library/2017-08-30-11-26-14.bpo-27144.PEDJsE.rst +++ /dev/null @@ -1,2 +0,0 @@ -The ``map()`` and ``as_completed()`` iterators in ``concurrent.futures`` -now avoid keeping a reference to yielded objects.
\ No newline at end of file diff --git a/Misc/NEWS.d/next/Library/2017-09-01-18-48-06.bpo-31326.TB05tV.rst b/Misc/NEWS.d/next/Library/2017-09-01-18-48-06.bpo-31326.TB05tV.rst deleted file mode 100644 index ea0ff2b458..0000000000 --- a/Misc/NEWS.d/next/Library/2017-09-01-18-48-06.bpo-31326.TB05tV.rst +++ /dev/null @@ -1,3 +0,0 @@ -concurrent.futures.ProcessPoolExecutor.shutdown() now explicitly closes the -call queue. Moreover, shutdown(wait=True) now also join the call queue -thread, to prevent leaking a dangling thread. diff --git a/Misc/NEWS.d/next/Library/2017-09-04-10-53-06.bpo-1198569.vhh2nY.rst b/Misc/NEWS.d/next/Library/2017-09-04-10-53-06.bpo-1198569.vhh2nY.rst deleted file mode 100644 index 86754191e7..0000000000 --- a/Misc/NEWS.d/next/Library/2017-09-04-10-53-06.bpo-1198569.vhh2nY.rst +++ /dev/null @@ -1,3 +0,0 @@ -``string.Template`` subclasses can optionally define ``braceidpattern`` if -they want to specify different placeholder patterns inside and outside the -braces. If None (the default) it falls back to ``idpattern``. diff --git a/Misc/NEWS.d/next/Library/2017-09-04-16-39-49.bpo-29136.vSn1oR.rst b/Misc/NEWS.d/next/Library/2017-09-04-16-39-49.bpo-29136.vSn1oR.rst deleted file mode 100644 index e76997ef83..0000000000 --- a/Misc/NEWS.d/next/Library/2017-09-04-16-39-49.bpo-29136.vSn1oR.rst +++ /dev/null @@ -1 +0,0 @@ -Add TLS 1.3 cipher suites and OP_NO_TLSv1_3. diff --git a/Misc/NEWS.d/next/Library/2017-09-04-23-41-35.bpo-31170.QGmJ1t.rst b/Misc/NEWS.d/next/Library/2017-09-04-23-41-35.bpo-31170.QGmJ1t.rst deleted file mode 100644 index 2505007dac..0000000000 --- a/Misc/NEWS.d/next/Library/2017-09-04-23-41-35.bpo-31170.QGmJ1t.rst +++ /dev/null @@ -1,3 +0,0 @@ -expat: Update libexpat from 2.2.3 to 2.2.4. Fix copying of partial -characters for UTF-8 input (libexpat bug 115): -https://github.com/libexpat/libexpat/issues/115 diff --git a/Misc/NEWS.d/next/Library/2017-09-05-10-30-48.bpo-31350.dXJ-7N.rst b/Misc/NEWS.d/next/Library/2017-09-05-10-30-48.bpo-31350.dXJ-7N.rst deleted file mode 100644 index 299cf3c9d5..0000000000 --- a/Misc/NEWS.d/next/Library/2017-09-05-10-30-48.bpo-31350.dXJ-7N.rst +++ /dev/null @@ -1 +0,0 @@ -Micro-optimize :func:`asyncio._get_running_loop` to become up to 10% faster. diff --git a/Misc/NEWS.d/next/Library/2017-09-05-14-55-28.bpo-31178.JrSFo7.rst b/Misc/NEWS.d/next/Library/2017-09-05-14-55-28.bpo-31178.JrSFo7.rst deleted file mode 100644 index df018e0c37..0000000000 --- a/Misc/NEWS.d/next/Library/2017-09-05-14-55-28.bpo-31178.JrSFo7.rst +++ /dev/null @@ -1 +0,0 @@ -Fix string concatenation bug in rare error path in the subprocess module diff --git a/Misc/NEWS.d/next/Library/2017-09-05-17-43-00.bpo-14191.vhh2xx.rst b/Misc/NEWS.d/next/Library/2017-09-05-17-43-00.bpo-14191.vhh2xx.rst deleted file mode 100644 index b9e26fb267..0000000000 --- a/Misc/NEWS.d/next/Library/2017-09-05-17-43-00.bpo-14191.vhh2xx.rst +++ /dev/null @@ -1,3 +0,0 @@ -A new function ``argparse.ArgumentParser.parse_intermixed_args`` provides the -ability to parse command lines where there user intermixes options and -positional arguments. diff --git a/Misc/NEWS.d/next/Library/2017-09-06-06-50-41.bpo-27340.GgekV5.rst b/Misc/NEWS.d/next/Library/2017-09-06-06-50-41.bpo-27340.GgekV5.rst deleted file mode 100644 index 2d05e10fc1..0000000000 --- a/Misc/NEWS.d/next/Library/2017-09-06-06-50-41.bpo-27340.GgekV5.rst +++ /dev/null @@ -1,3 +0,0 @@ -SSLSocket.sendall() now uses memoryview to create slices of data. This fixes -support for all bytes-like object. It is also more efficient and avoids -costly copies. diff --git a/Misc/NEWS.d/next/Library/2017-09-06-18-49-16.bpo-28182.hRP8Bk.rst b/Misc/NEWS.d/next/Library/2017-09-06-18-49-16.bpo-28182.hRP8Bk.rst deleted file mode 100644 index d96079f0ae..0000000000 --- a/Misc/NEWS.d/next/Library/2017-09-06-18-49-16.bpo-28182.hRP8Bk.rst +++ /dev/null @@ -1,3 +0,0 @@ -The SSL module now raises SSLCertVerificationError when OpenSSL fails to -verify the peer's certificate. The exception contains more information about -the error. diff --git a/Misc/NEWS.d/next/Library/2017-09-06-19-41-01.bpo-28958.x4-K5F.rst b/Misc/NEWS.d/next/Library/2017-09-06-19-41-01.bpo-28958.x4-K5F.rst deleted file mode 100644 index eb4e206be3..0000000000 --- a/Misc/NEWS.d/next/Library/2017-09-06-19-41-01.bpo-28958.x4-K5F.rst +++ /dev/null @@ -1,2 +0,0 @@ -ssl.SSLContext() now uses OpenSSL error information when a context cannot be -instantiated. diff --git a/Misc/NEWS.d/next/Library/2017-09-07-12-15-56.bpo-27629.7xJXEy.rst b/Misc/NEWS.d/next/Library/2017-09-07-12-15-56.bpo-27629.7xJXEy.rst deleted file mode 100644 index 95a6c2b48b..0000000000 --- a/Misc/NEWS.d/next/Library/2017-09-07-12-15-56.bpo-27629.7xJXEy.rst +++ /dev/null @@ -1,2 +0,0 @@ -Make return types of SSLContext.wrap_bio() and SSLContext.wrap_socket() -customizable. diff --git a/Misc/NEWS.d/next/Library/2017-09-08-14-19-57.bpo-31400.YOTPKi.rst b/Misc/NEWS.d/next/Library/2017-09-08-14-19-57.bpo-31400.YOTPKi.rst deleted file mode 100644 index 1321300dbd..0000000000 --- a/Misc/NEWS.d/next/Library/2017-09-08-14-19-57.bpo-31400.YOTPKi.rst +++ /dev/null @@ -1 +0,0 @@ -Improves SSL error handling to avoid losing error numbers. diff --git a/Misc/NEWS.d/next/Library/2017-09-08-14-31-15.bpo-28638.lfbVyH.rst b/Misc/NEWS.d/next/Library/2017-09-08-14-31-15.bpo-28638.lfbVyH.rst deleted file mode 100644 index 53b809f51c..0000000000 --- a/Misc/NEWS.d/next/Library/2017-09-08-14-31-15.bpo-28638.lfbVyH.rst +++ /dev/null @@ -1,9 +0,0 @@ -Changed the implementation strategy for collections.namedtuple() to -substantially reduce the use of exec() in favor of precomputed methods. As a -result, the *verbose* parameter and *_source* attribute are no longer -supported. The benefits include 1) having a smaller memory footprint for -applications using multiple named tuples, 2) faster creation of the named -tuple class (approx 4x to 6x depending on how it is measured), and 3) minor -speed-ups for instance creation using __new__, _make, and _replace. (The -primary patch contributor is Jelle Zijlstra with further improvements by -INADA Naoki, Serhiy Storchaka, and Raymond Hettinger.) diff --git a/Misc/NEWS.d/next/Library/2017-09-13-02-17-11.bpo-31233.r-IPIu.rst b/Misc/NEWS.d/next/Library/2017-09-13-02-17-11.bpo-31233.r-IPIu.rst deleted file mode 100644 index 5cf75e7c9f..0000000000 --- a/Misc/NEWS.d/next/Library/2017-09-13-02-17-11.bpo-31233.r-IPIu.rst +++ /dev/null @@ -1,2 +0,0 @@ -socketserver.ThreadingMixIn now keeps a list of non-daemonic threads to wait -until all these threads complete in server_close(). diff --git a/Misc/NEWS.d/next/Library/2017-09-13-07-37-20.bpo-31431.dj994R.rst b/Misc/NEWS.d/next/Library/2017-09-13-07-37-20.bpo-31431.dj994R.rst deleted file mode 100644 index 6083fd65bd..0000000000 --- a/Misc/NEWS.d/next/Library/2017-09-13-07-37-20.bpo-31431.dj994R.rst +++ /dev/null @@ -1,2 +0,0 @@ -SSLContext.check_hostname now automatically sets SSLContext.verify_mode to -ssl.CERT_REQUIRED instead of failing with a ValueError. diff --git a/Misc/NEWS.d/next/Library/2017-09-13-13-33-39.bpo-31457.bIVBtI.rst b/Misc/NEWS.d/next/Library/2017-09-13-13-33-39.bpo-31457.bIVBtI.rst deleted file mode 100644 index 153aa42a62..0000000000 --- a/Misc/NEWS.d/next/Library/2017-09-13-13-33-39.bpo-31457.bIVBtI.rst +++ /dev/null @@ -1 +0,0 @@ -LoggerAdapter objects can now be nested. diff --git a/Misc/NEWS.d/next/Library/2017-09-13-18-05-56.bpo-31234.lGkcPg.rst b/Misc/NEWS.d/next/Library/2017-09-13-18-05-56.bpo-31234.lGkcPg.rst deleted file mode 100644 index e522e8e952..0000000000 --- a/Misc/NEWS.d/next/Library/2017-09-13-18-05-56.bpo-31234.lGkcPg.rst +++ /dev/null @@ -1,2 +0,0 @@ -socket.create_connection() now fixes manually a reference cycle: clear the -variable storing the last exception on success. diff --git a/Misc/NEWS.d/next/Library/2017-09-13-19-55-35.bpo-31544.beTh6t.rst b/Misc/NEWS.d/next/Library/2017-09-13-19-55-35.bpo-31544.beTh6t.rst deleted file mode 100644 index 9ea3599ee0..0000000000 --- a/Misc/NEWS.d/next/Library/2017-09-13-19-55-35.bpo-31544.beTh6t.rst +++ /dev/null @@ -1,2 +0,0 @@ -The C accelerator module of ElementTree ignored exceptions raised when -looking up TreeBuilder target methods in XMLParser(). diff --git a/Misc/NEWS.d/next/Library/2017-09-13-23-27-39.bpo-28556.UmTQvv.rst b/Misc/NEWS.d/next/Library/2017-09-13-23-27-39.bpo-28556.UmTQvv.rst deleted file mode 100644 index efc5918ca0..0000000000 --- a/Misc/NEWS.d/next/Library/2017-09-13-23-27-39.bpo-28556.UmTQvv.rst +++ /dev/null @@ -1,2 +0,0 @@ -Speed improvements to the ``typing`` module. Original PRs by Ivan -Levkivskyi and Mitar. diff --git a/Misc/NEWS.d/next/Library/2017-09-14-11-02-56.bpo-28556.EUOiYs.rst b/Misc/NEWS.d/next/Library/2017-09-14-11-02-56.bpo-28556.EUOiYs.rst deleted file mode 100644 index 8464d59a0c..0000000000 --- a/Misc/NEWS.d/next/Library/2017-09-14-11-02-56.bpo-28556.EUOiYs.rst +++ /dev/null @@ -1,2 +0,0 @@ -typing.get_type_hints now finds the right globalns for classes and modules -by default (when no ``globalns`` was specified by the caller). diff --git a/Misc/NEWS.d/next/Library/2017-09-16-01-53-11.bpo-31482.39s5dS.rst b/Misc/NEWS.d/next/Library/2017-09-16-01-53-11.bpo-31482.39s5dS.rst deleted file mode 100644 index ed7a4175cd..0000000000 --- a/Misc/NEWS.d/next/Library/2017-09-16-01-53-11.bpo-31482.39s5dS.rst +++ /dev/null @@ -1 +0,0 @@ -``random.seed()`` now works with bytes in version=1 diff --git a/Misc/NEWS.d/next/Library/2017-09-18-10-57-04.bpo-31499.BydYhf.rst b/Misc/NEWS.d/next/Library/2017-09-18-10-57-04.bpo-31499.BydYhf.rst deleted file mode 100644 index 22af29fdec..0000000000 --- a/Misc/NEWS.d/next/Library/2017-09-18-10-57-04.bpo-31499.BydYhf.rst +++ /dev/null @@ -1 +0,0 @@ -xml.etree: Fix a crash when a parser is part of a reference cycle. diff --git a/Misc/NEWS.d/next/Security/0338.bpo-29591.ExKblw.rst b/Misc/NEWS.d/next/Security/0338.bpo-29591.ExKblw.rst deleted file mode 100644 index 7394ac2ff0..0000000000 --- a/Misc/NEWS.d/next/Security/0338.bpo-29591.ExKblw.rst +++ /dev/null @@ -1,5 +0,0 @@ -.. original section: Library - -Update expat copy from 2.1.1 to 2.2.0 to get fixes of CVE-2016-0718 and -CVE-2016-4472. See https://sourceforge.net/p/expat/bugs/537/ for more -information. diff --git a/Misc/NEWS.d/next/Security/0342.bpo-30500.1VG7R-.rst b/Misc/NEWS.d/next/Security/0342.bpo-30500.1VG7R-.rst deleted file mode 100644 index adf464567b..0000000000 --- a/Misc/NEWS.d/next/Security/0342.bpo-30500.1VG7R-.rst +++ /dev/null @@ -1,6 +0,0 @@ -.. original section: Library - -Fix urllib.parse.splithost() to correctly parse fragments. For example, -``splithost('//127.0.0.1#@evil.com/')`` now correctly returns the -``127.0.0.1`` host, instead of treating ``@evil.com`` as the host in an -authentification (``login@host``). diff --git a/Misc/NEWS.d/next/Security/0344.bpo-30694.WkMWM_.rst b/Misc/NEWS.d/next/Security/0344.bpo-30694.WkMWM_.rst deleted file mode 100644 index ebbd359e63..0000000000 --- a/Misc/NEWS.d/next/Security/0344.bpo-30694.WkMWM_.rst +++ /dev/null @@ -1,10 +0,0 @@ -.. original section: Library - -Upgrade expat copy from 2.2.0 to 2.2.1 to get fixes of multiple security -vulnerabilities including: CVE-2017-9233 (External entity infinite loop -DoS), CVE-2016-9063 (Integer overflow, re-fix), CVE-2016-0718 (Fix -regression bugs from 2.2.0's fix to CVE-2016-0718) and CVE-2012-0876 -(Counter hash flooding with SipHash). Note: the CVE-2016-5300 (Use os- -specific entropy sources like getrandom) doesn't impact Python, since Python -already gets entropy from the OS to set the expat secret using -``XML_SetHashSalt()``. diff --git a/Misc/NEWS.d/next/Security/0347.bpo-30730.rJsyTH.rst b/Misc/NEWS.d/next/Security/0347.bpo-30730.rJsyTH.rst deleted file mode 100644 index 008aa706d4..0000000000 --- a/Misc/NEWS.d/next/Security/0347.bpo-30730.rJsyTH.rst +++ /dev/null @@ -1,4 +0,0 @@ -.. original section: Library - -Prevent environment variables injection in subprocess on Windows. Prevent -passing other environment variables and command arguments. diff --git a/Misc/NEWS.d/next/Security/2017-08-16-16-35-59.bpo-30947.iNMmm4.rst b/Misc/NEWS.d/next/Security/2017-08-16-16-35-59.bpo-30947.iNMmm4.rst deleted file mode 100644 index 3caca9a79b..0000000000 --- a/Misc/NEWS.d/next/Security/2017-08-16-16-35-59.bpo-30947.iNMmm4.rst +++ /dev/null @@ -1,2 +0,0 @@ -Upgrade libexpat embedded copy from version 2.2.1 to 2.2.3 to get security -fixes. diff --git a/Misc/NEWS.d/next/Security/2017-08-23-17-02-55.bpo-29505.BL6Yt8.rst b/Misc/NEWS.d/next/Security/2017-08-23-17-02-55.bpo-29505.BL6Yt8.rst deleted file mode 100644 index 9a0fb16f9e..0000000000 --- a/Misc/NEWS.d/next/Security/2017-08-23-17-02-55.bpo-29505.BL6Yt8.rst +++ /dev/null @@ -1 +0,0 @@ -Add fuzz tests for float(str), int(str), unicode(str); for oss-fuzz. diff --git a/Misc/NEWS.d/next/Security/2017-09-05-15-26-30.bpo-29781.LwYtBP.rst b/Misc/NEWS.d/next/Security/2017-09-05-15-26-30.bpo-29781.LwYtBP.rst deleted file mode 100644 index b9106a5f74..0000000000 --- a/Misc/NEWS.d/next/Security/2017-09-05-15-26-30.bpo-29781.LwYtBP.rst +++ /dev/null @@ -1,2 +0,0 @@ -SSLObject.version() now correctly returns None when handshake over BIO has -not been performed yet. diff --git a/Misc/NEWS.d/next/Tests/0001.bpo-26939.7j_W5R.rst b/Misc/NEWS.d/next/Tests/0001.bpo-26939.7j_W5R.rst deleted file mode 100644 index 1288f34f5a..0000000000 --- a/Misc/NEWS.d/next/Tests/0001.bpo-26939.7j_W5R.rst +++ /dev/null @@ -1,2 +0,0 @@ -Add the support.setswitchinterval() function to fix test_functools hanging -on the Android armv7 qemu emulator. diff --git a/Misc/NEWS.d/next/Tests/0002.bpo-28217.Y37OKV.rst b/Misc/NEWS.d/next/Tests/0002.bpo-28217.Y37OKV.rst deleted file mode 100644 index 90fb8631c1..0000000000 --- a/Misc/NEWS.d/next/Tests/0002.bpo-28217.Y37OKV.rst +++ /dev/null @@ -1 +0,0 @@ -Adds _testconsole module to test console input. diff --git a/Misc/NEWS.d/next/Tests/0003.bpo-28409.Q2IlxJ.rst b/Misc/NEWS.d/next/Tests/0003.bpo-28409.Q2IlxJ.rst deleted file mode 100644 index 27af4a2135..0000000000 --- a/Misc/NEWS.d/next/Tests/0003.bpo-28409.Q2IlxJ.rst +++ /dev/null @@ -1 +0,0 @@ -regrtest: fix the parser of command line arguments. diff --git a/Misc/NEWS.d/next/Tests/0004.bpo-26944.ChZ_BO.rst b/Misc/NEWS.d/next/Tests/0004.bpo-26944.ChZ_BO.rst deleted file mode 100644 index 78384ffb4c..0000000000 --- a/Misc/NEWS.d/next/Tests/0004.bpo-26944.ChZ_BO.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix test_posix for Android where 'id -G' is entirely wrong or missing the -effective gid. diff --git a/Misc/NEWS.d/next/Tests/0005.bpo-23839.zsT_L9.rst b/Misc/NEWS.d/next/Tests/0005.bpo-23839.zsT_L9.rst deleted file mode 100644 index 8cf2627787..0000000000 --- a/Misc/NEWS.d/next/Tests/0005.bpo-23839.zsT_L9.rst +++ /dev/null @@ -1 +0,0 @@ -Various caches now are cleared before running every test file. diff --git a/Misc/NEWS.d/next/Tests/0006.bpo-28666.RtTk-4.rst b/Misc/NEWS.d/next/Tests/0006.bpo-28666.RtTk-4.rst deleted file mode 100644 index ec9830397c..0000000000 --- a/Misc/NEWS.d/next/Tests/0006.bpo-28666.RtTk-4.rst +++ /dev/null @@ -1,2 +0,0 @@ -Now test.support.rmtree is able to remove unwritable or unreadable -directories. diff --git a/Misc/NEWS.d/next/Tests/0007.bpo-26936.XSZSVS.rst b/Misc/NEWS.d/next/Tests/0007.bpo-26936.XSZSVS.rst deleted file mode 100644 index 330399cc4b..0000000000 --- a/Misc/NEWS.d/next/Tests/0007.bpo-26936.XSZSVS.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix the test_socket failures on Android - getservbyname(), getservbyport() -and getaddrinfo() are broken on some Android API levels. diff --git a/Misc/NEWS.d/next/Tests/0008.bpo-28683.Fp-Hdq.rst b/Misc/NEWS.d/next/Tests/0008.bpo-28683.Fp-Hdq.rst deleted file mode 100644 index 2dd5006f2c..0000000000 --- a/Misc/NEWS.d/next/Tests/0008.bpo-28683.Fp-Hdq.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix the tests that bind() a unix socket and raise PermissionError on Android -for a non-root user. diff --git a/Misc/NEWS.d/next/Tests/0009.bpo-28950.1W8Glo.rst b/Misc/NEWS.d/next/Tests/0009.bpo-28950.1W8Glo.rst deleted file mode 100644 index c7421780b2..0000000000 --- a/Misc/NEWS.d/next/Tests/0009.bpo-28950.1W8Glo.rst +++ /dev/null @@ -1 +0,0 @@ -Disallow -j0 to be combined with -T/-l in regrtest command line arguments. diff --git a/Misc/NEWS.d/next/Tests/0010.bpo-24932.XLTzvR.rst b/Misc/NEWS.d/next/Tests/0010.bpo-24932.XLTzvR.rst deleted file mode 100644 index 044e7a40dd..0000000000 --- a/Misc/NEWS.d/next/Tests/0010.bpo-24932.XLTzvR.rst +++ /dev/null @@ -1 +0,0 @@ -Use proper command line parsing in _testembed diff --git a/Misc/NEWS.d/next/Tests/0011.bpo-30197.c5wRfu.rst b/Misc/NEWS.d/next/Tests/0011.bpo-30197.c5wRfu.rst deleted file mode 100644 index 63461bb478..0000000000 --- a/Misc/NEWS.d/next/Tests/0011.bpo-30197.c5wRfu.rst +++ /dev/null @@ -1,5 +0,0 @@ -Enhanced functions swap_attr() and swap_item() in the test.support module. -They now work when delete replaced attribute or item inside the with -statement. The old value of the attribute or item (or None if it doesn't -exist) now will be assigned to the target of the "as" clause, if there is -one. diff --git a/Misc/NEWS.d/next/Tests/0012.bpo-30357.n4CPEa.rst b/Misc/NEWS.d/next/Tests/0012.bpo-30357.n4CPEa.rst deleted file mode 100644 index c7e7b7f242..0000000000 --- a/Misc/NEWS.d/next/Tests/0012.bpo-30357.n4CPEa.rst +++ /dev/null @@ -1,3 +0,0 @@ -test_thread: setUp() now uses support.threading_setup() and -support.threading_cleanup() to wait until threads complete to avoid random -side effects on following tests. Initial patch written by Grzegorz Grzywacz. diff --git a/Misc/NEWS.d/next/Tests/2017-06-30-11-20-20.bpo-30695.lo7FQX.rst b/Misc/NEWS.d/next/Tests/2017-06-30-11-20-20.bpo-30695.lo7FQX.rst deleted file mode 100644 index a57bbe73c2..0000000000 --- a/Misc/NEWS.d/next/Tests/2017-06-30-11-20-20.bpo-30695.lo7FQX.rst +++ /dev/null @@ -1,2 +0,0 @@ -Add the `set_nomemory(start, stop)` and `remove_mem_hooks()` functions to -the _testcapi module. diff --git a/Misc/NEWS.d/next/Tests/2017-07-20-14-29-54.bpo-30822.X0wREo.rst b/Misc/NEWS.d/next/Tests/2017-07-20-14-29-54.bpo-30822.X0wREo.rst deleted file mode 100644 index 53557f66fe..0000000000 --- a/Misc/NEWS.d/next/Tests/2017-07-20-14-29-54.bpo-30822.X0wREo.rst +++ /dev/null @@ -1,5 +0,0 @@ -regrtest: Exclude tzdata from regrtest --all. When running the test suite -using --use=all / -u all, exclude tzdata since it makes test_datetime too -slow (15-20 min on some buildbots) which then times out on some buildbots. -Fix also regrtest command line parser to allow passing -u extralargefile to -run test_zipfile64. diff --git a/Misc/NEWS.d/next/Tests/2017-07-25-15-27-44.bpo-30715.Sp7bTF.rst b/Misc/NEWS.d/next/Tests/2017-07-25-15-27-44.bpo-30715.Sp7bTF.rst deleted file mode 100644 index 88394e585c..0000000000 --- a/Misc/NEWS.d/next/Tests/2017-07-25-15-27-44.bpo-30715.Sp7bTF.rst +++ /dev/null @@ -1,2 +0,0 @@ -Address ALPN callback changes for OpenSSL 1.1.0f. The latest version behaves -like OpenSSL 1.0.2 and no longer aborts handshake. diff --git a/Misc/NEWS.d/next/Tests/2017-09-04-13-03-55.bpo-25674.whVTXh.rst b/Misc/NEWS.d/next/Tests/2017-09-04-13-03-55.bpo-25674.whVTXh.rst deleted file mode 100644 index 383d1b4361..0000000000 --- a/Misc/NEWS.d/next/Tests/2017-09-04-13-03-55.bpo-25674.whVTXh.rst +++ /dev/null @@ -1 +0,0 @@ -Remove sha256.tbs-internet.com ssl test diff --git a/Misc/NEWS.d/next/Tests/2017-09-04-16-21-18.bpo-31346.xni1VR.rst b/Misc/NEWS.d/next/Tests/2017-09-04-16-21-18.bpo-31346.xni1VR.rst deleted file mode 100644 index 87bc8cfaba..0000000000 --- a/Misc/NEWS.d/next/Tests/2017-09-04-16-21-18.bpo-31346.xni1VR.rst +++ /dev/null @@ -1 +0,0 @@ -Prefer PROTOCOL_TLS_CLIENT and PROTOCOL_TLS_SERVER protocols for SSLContext. diff --git a/Misc/NEWS.d/next/Tests/2017-09-05-14-23-35.bpo-31320.JRDHx7.rst b/Misc/NEWS.d/next/Tests/2017-09-05-14-23-35.bpo-31320.JRDHx7.rst deleted file mode 100644 index 8b7163dfe7..0000000000 --- a/Misc/NEWS.d/next/Tests/2017-09-05-14-23-35.bpo-31320.JRDHx7.rst +++ /dev/null @@ -1 +0,0 @@ -Silence traceback in test_ssl diff --git a/Misc/NEWS.d/next/Tests/2017-09-08-15-59-07.bpo-29639.yIZecp.rst b/Misc/NEWS.d/next/Tests/2017-09-08-15-59-07.bpo-29639.yIZecp.rst deleted file mode 100644 index 7f49eb4bab..0000000000 --- a/Misc/NEWS.d/next/Tests/2017-09-08-15-59-07.bpo-29639.yIZecp.rst +++ /dev/null @@ -1,2 +0,0 @@ -test.support.HOST is now "localhost", a new HOSTv4 constant has been added -for your ``127.0.0.1`` needs, similar to the existing HOSTv6 constant. diff --git a/Misc/NEWS.d/next/Tools-Demos/0013.bpo-28102.5fKaek.rst b/Misc/NEWS.d/next/Tools-Demos/0013.bpo-28102.5fKaek.rst deleted file mode 100644 index bfd2f95def..0000000000 --- a/Misc/NEWS.d/next/Tools-Demos/0013.bpo-28102.5fKaek.rst +++ /dev/null @@ -1,2 +0,0 @@ -The zipfile module CLI now prints usage to stderr. Patch by Stephen J. -Turnbull. diff --git a/Misc/NEWS.d/next/Tools-Demos/0014.bpo-15369.bdZ3n-.rst b/Misc/NEWS.d/next/Tools-Demos/0014.bpo-15369.bdZ3n-.rst deleted file mode 100644 index 0d785edcb5..0000000000 --- a/Misc/NEWS.d/next/Tools-Demos/0014.bpo-15369.bdZ3n-.rst +++ /dev/null @@ -1,4 +0,0 @@ -The pybench and pystone microbenchmark have been removed from Tools. Please -use the new Python benchmark suite https://github.com/python/performance -which is more reliable and includes a portable version of pybench working on -Python 2 and Python 3. diff --git a/Misc/NEWS.d/next/Tools-Demos/0015.bpo-28023.4gzSGp.rst b/Misc/NEWS.d/next/Tools-Demos/0015.bpo-28023.4gzSGp.rst deleted file mode 100644 index 515c7175a7..0000000000 --- a/Misc/NEWS.d/next/Tools-Demos/0015.bpo-28023.4gzSGp.rst +++ /dev/null @@ -1 +0,0 @@ -Fix python-gdb.py didn't support new dict implementation. diff --git a/Misc/NEWS.d/next/Tools-Demos/0016.bpo-29367.4dOKL0.rst b/Misc/NEWS.d/next/Tools-Demos/0016.bpo-29367.4dOKL0.rst deleted file mode 100644 index c0dc7d1f97..0000000000 --- a/Misc/NEWS.d/next/Tools-Demos/0016.bpo-29367.4dOKL0.rst +++ /dev/null @@ -1,2 +0,0 @@ -python-gdb.py now supports also ``method-wrapper`` (``wrapperobject``) -objects. diff --git a/Misc/NEWS.d/next/Tools-Demos/0017.bpo-24037.KPFC7o.rst b/Misc/NEWS.d/next/Tools-Demos/0017.bpo-24037.KPFC7o.rst deleted file mode 100644 index 1be5ab30e9..0000000000 --- a/Misc/NEWS.d/next/Tools-Demos/0017.bpo-24037.KPFC7o.rst +++ /dev/null @@ -1,3 +0,0 @@ -Argument Clinic now uses the converter `bool(accept={int})` rather than -`int` for semantical booleans. This avoids repeating the default value for -Python and C and will help in converting to `bool` in future. diff --git a/Misc/NEWS.d/next/Tools-Demos/0018.bpo-29748.6pV6s9.rst b/Misc/NEWS.d/next/Tools-Demos/0018.bpo-29748.6pV6s9.rst deleted file mode 100644 index 2992d06249..0000000000 --- a/Misc/NEWS.d/next/Tools-Demos/0018.bpo-29748.6pV6s9.rst +++ /dev/null @@ -1 +0,0 @@ -Added the slice index converter in Argument Clinic. diff --git a/Misc/NEWS.d/next/Tools-Demos/2017-08-18-17-19-23.bpo-30983.ggGz9z.rst b/Misc/NEWS.d/next/Tools-Demos/2017-08-18-17-19-23.bpo-30983.ggGz9z.rst deleted file mode 100644 index 404263e9ac..0000000000 --- a/Misc/NEWS.d/next/Tools-Demos/2017-08-18-17-19-23.bpo-30983.ggGz9z.rst +++ /dev/null @@ -1,6 +0,0 @@ -gdb integration commands (py-bt, etc.) work on optimized shared builds now, -too. PEP 523 introduced _PyEval_EvalFrameDefault which inlines -PyEval_EvalFrameEx on non-debug shared builds. This broke the ability to -use py-bt, py-up, and a few other Python-specific gdb integrations. The -problem is fixed by only looking for _PyEval_EvalFrameDefault frames in -python-gdb.py. Original patch by Bruno "Polaco" Penteado. diff --git a/Misc/NEWS.d/next/Windows/0074.bpo-28138.pNdv64.rst b/Misc/NEWS.d/next/Windows/0074.bpo-28138.pNdv64.rst deleted file mode 100644 index fb06e8ea32..0000000000 --- a/Misc/NEWS.d/next/Windows/0074.bpo-28138.pNdv64.rst +++ /dev/null @@ -1 +0,0 @@ -Windows ._pth file should allow import site diff --git a/Misc/NEWS.d/next/Windows/0075.bpo-28137.C1uvzY.rst b/Misc/NEWS.d/next/Windows/0075.bpo-28137.C1uvzY.rst deleted file mode 100644 index fd98a660c9..0000000000 --- a/Misc/NEWS.d/next/Windows/0075.bpo-28137.C1uvzY.rst +++ /dev/null @@ -1 +0,0 @@ -Renames Windows path file to ._pth diff --git a/Misc/NEWS.d/next/Windows/0076.bpo-28164.5MfN0J.rst b/Misc/NEWS.d/next/Windows/0076.bpo-28164.5MfN0J.rst deleted file mode 100644 index 83ee2eb8df..0000000000 --- a/Misc/NEWS.d/next/Windows/0076.bpo-28164.5MfN0J.rst +++ /dev/null @@ -1 +0,0 @@ -_PyIO_get_console_type fails for various paths diff --git a/Misc/NEWS.d/next/Windows/0077.bpo-28163.-DUgJw.rst b/Misc/NEWS.d/next/Windows/0077.bpo-28163.-DUgJw.rst deleted file mode 100644 index 0c44499e74..0000000000 --- a/Misc/NEWS.d/next/Windows/0077.bpo-28163.-DUgJw.rst +++ /dev/null @@ -1 +0,0 @@ -WindowsConsoleIO fileno() passes wrong flags to _open_osfhandle diff --git a/Misc/NEWS.d/next/Windows/0078.bpo-28162.3FHPVD.rst b/Misc/NEWS.d/next/Windows/0078.bpo-28162.3FHPVD.rst deleted file mode 100644 index 2568d3676b..0000000000 --- a/Misc/NEWS.d/next/Windows/0078.bpo-28162.3FHPVD.rst +++ /dev/null @@ -1 +0,0 @@ -WindowsConsoleIO readall() fails if first line starts with Ctrl+Z diff --git a/Misc/NEWS.d/next/Windows/0079.bpo-28161.hF91LI.rst b/Misc/NEWS.d/next/Windows/0079.bpo-28161.hF91LI.rst deleted file mode 100644 index 667817a2fd..0000000000 --- a/Misc/NEWS.d/next/Windows/0079.bpo-28161.hF91LI.rst +++ /dev/null @@ -1 +0,0 @@ -Opening CON for write access fails diff --git a/Misc/NEWS.d/next/Windows/0080.bpo-28110.cnkP5F.rst b/Misc/NEWS.d/next/Windows/0080.bpo-28110.cnkP5F.rst deleted file mode 100644 index 174690e49a..0000000000 --- a/Misc/NEWS.d/next/Windows/0080.bpo-28110.cnkP5F.rst +++ /dev/null @@ -1 +0,0 @@ -launcher.msi has different product codes between 32-bit and 64-bit diff --git a/Misc/NEWS.d/next/Windows/0081.bpo-28251.tR_AFs.rst b/Misc/NEWS.d/next/Windows/0081.bpo-28251.tR_AFs.rst deleted file mode 100644 index 16d5ad08d8..0000000000 --- a/Misc/NEWS.d/next/Windows/0081.bpo-28251.tR_AFs.rst +++ /dev/null @@ -1 +0,0 @@ -Improvements to help manuals on Windows. diff --git a/Misc/NEWS.d/next/Windows/0082.bpo-28333.KnpeO4.rst b/Misc/NEWS.d/next/Windows/0082.bpo-28333.KnpeO4.rst deleted file mode 100644 index 564c925e18..0000000000 --- a/Misc/NEWS.d/next/Windows/0082.bpo-28333.KnpeO4.rst +++ /dev/null @@ -1 +0,0 @@ -Enables Unicode for ps1/ps2 and input() prompts. (Patch by Eryk Sun) diff --git a/Misc/NEWS.d/next/Windows/0083.bpo-28402.v9zETJ.rst b/Misc/NEWS.d/next/Windows/0083.bpo-28402.v9zETJ.rst deleted file mode 100644 index cdf17e1685..0000000000 --- a/Misc/NEWS.d/next/Windows/0083.bpo-28402.v9zETJ.rst +++ /dev/null @@ -1 +0,0 @@ -Adds signed catalog files for stdlib on Windows. diff --git a/Misc/NEWS.d/next/Windows/0084.bpo-28522.XHMQa7.rst b/Misc/NEWS.d/next/Windows/0084.bpo-28522.XHMQa7.rst deleted file mode 100644 index 9b91f326d7..0000000000 --- a/Misc/NEWS.d/next/Windows/0084.bpo-28522.XHMQa7.rst +++ /dev/null @@ -1 +0,0 @@ -Fixes mishandled buffer reallocation in getpathp.c diff --git a/Misc/NEWS.d/next/Windows/0085.bpo-28896.qOcBBL.rst b/Misc/NEWS.d/next/Windows/0085.bpo-28896.qOcBBL.rst deleted file mode 100644 index 727830c389..0000000000 --- a/Misc/NEWS.d/next/Windows/0085.bpo-28896.qOcBBL.rst +++ /dev/null @@ -1 +0,0 @@ -Deprecate WindowsRegistryFinder and disable it by default diff --git a/Misc/NEWS.d/next/Windows/0086.bpo-25778.8uKJ82.rst b/Misc/NEWS.d/next/Windows/0086.bpo-25778.8uKJ82.rst deleted file mode 100644 index efe9745815..0000000000 --- a/Misc/NEWS.d/next/Windows/0086.bpo-25778.8uKJ82.rst +++ /dev/null @@ -1 +0,0 @@ -winreg does not truncate string correctly (Patch by Eryk Sun) diff --git a/Misc/NEWS.d/next/Windows/0087.bpo-29579.07B-FQ.rst b/Misc/NEWS.d/next/Windows/0087.bpo-29579.07B-FQ.rst deleted file mode 100644 index 13c5b0d9df..0000000000 --- a/Misc/NEWS.d/next/Windows/0087.bpo-29579.07B-FQ.rst +++ /dev/null @@ -1 +0,0 @@ -Removes readme.txt from the installer. diff --git a/Misc/NEWS.d/next/Windows/0088.bpo-30450.qsaK8y.rst b/Misc/NEWS.d/next/Windows/0088.bpo-30450.qsaK8y.rst deleted file mode 100644 index be003d1a0c..0000000000 --- a/Misc/NEWS.d/next/Windows/0088.bpo-30450.qsaK8y.rst +++ /dev/null @@ -1,4 +0,0 @@ -The build process on Windows no longer depends on Subversion, instead -pulling external code from GitHub via a Python script. If Python 3.6 is not -found on the system (via ``py -3.6``), NuGet is used to download a copy of -32-bit Python. diff --git a/Misc/NEWS.d/next/Windows/2017-06-27-07-04-06.bpo-23451.bl_QOB.rst b/Misc/NEWS.d/next/Windows/2017-06-27-07-04-06.bpo-23451.bl_QOB.rst deleted file mode 100644 index bad4e22d48..0000000000 --- a/Misc/NEWS.d/next/Windows/2017-06-27-07-04-06.bpo-23451.bl_QOB.rst +++ /dev/null @@ -1 +0,0 @@ -Fix socket deprecation warnings in socketmodule.c. Patch by Segev Finer. diff --git a/Misc/NEWS.d/next/Windows/2017-06-28-03-08-22.bpo-30362.XxeVMB.rst b/Misc/NEWS.d/next/Windows/2017-06-28-03-08-22.bpo-30362.XxeVMB.rst deleted file mode 100644 index fb24ec541f..0000000000 --- a/Misc/NEWS.d/next/Windows/2017-06-28-03-08-22.bpo-30362.XxeVMB.rst +++ /dev/null @@ -1 +0,0 @@ -Adds list options (-0, -0p) to py.exe launcher. Contributed by Steve Barnes. diff --git a/Misc/NEWS.d/next/Windows/2017-06-28-03-20-48.bpo-30291.zBpOl6.rst b/Misc/NEWS.d/next/Windows/2017-06-28-03-20-48.bpo-30291.zBpOl6.rst deleted file mode 100644 index 2869823326..0000000000 --- a/Misc/NEWS.d/next/Windows/2017-06-28-03-20-48.bpo-30291.zBpOl6.rst +++ /dev/null @@ -1,2 +0,0 @@ -Allow requiring 64-bit interpreters from py.exe using -64 suffix. Contributed -by Steve (Gadget) Barnes. diff --git a/Misc/NEWS.d/next/Windows/2017-07-13-11-22-53.bpo-30731.nmMDwI.rst b/Misc/NEWS.d/next/Windows/2017-07-13-11-22-53.bpo-30731.nmMDwI.rst deleted file mode 100644 index 8a65a9e022..0000000000 --- a/Misc/NEWS.d/next/Windows/2017-07-13-11-22-53.bpo-30731.nmMDwI.rst +++ /dev/null @@ -1 +0,0 @@ -Add a missing xmlns to python.manifest so that it matches the schema. diff --git a/Misc/NEWS.d/next/Windows/2017-07-15-00-40-12.bpo-30916.BpCrro.rst b/Misc/NEWS.d/next/Windows/2017-07-15-00-40-12.bpo-30916.BpCrro.rst deleted file mode 100644 index c91fd88182..0000000000 --- a/Misc/NEWS.d/next/Windows/2017-07-15-00-40-12.bpo-30916.BpCrro.rst +++ /dev/null @@ -1 +0,0 @@ -Pre-build OpenSSL, Tcl and Tk and include the binaries in the build. diff --git a/Misc/NEWS.d/next/Windows/2017-08-04-10-05-19.bpo-30581.OQhR7l.rst b/Misc/NEWS.d/next/Windows/2017-08-04-10-05-19.bpo-30581.OQhR7l.rst deleted file mode 100644 index 6591fa0df0..0000000000 --- a/Misc/NEWS.d/next/Windows/2017-08-04-10-05-19.bpo-30581.OQhR7l.rst +++ /dev/null @@ -1,2 +0,0 @@ -os.cpu_count() now returns the correct number of processors on Windows -when the number of logical processors is greater than 64. diff --git a/Misc/NEWS.d/next/Windows/2017-09-04-13-19-05.bpo-31340.MbkzLi.rst b/Misc/NEWS.d/next/Windows/2017-09-04-13-19-05.bpo-31340.MbkzLi.rst deleted file mode 100644 index 065596fcc8..0000000000 --- a/Misc/NEWS.d/next/Windows/2017-09-04-13-19-05.bpo-31340.MbkzLi.rst +++ /dev/null @@ -1 +0,0 @@ -Change to building with MSVC v141 (included with Visual Studio 2017) diff --git a/Misc/NEWS.d/next/Windows/2017-09-05-19-46-52.bpo-31358.n1Fjxc.rst b/Misc/NEWS.d/next/Windows/2017-09-05-19-46-52.bpo-31358.n1Fjxc.rst deleted file mode 100644 index 6d95d862c7..0000000000 --- a/Misc/NEWS.d/next/Windows/2017-09-05-19-46-52.bpo-31358.n1Fjxc.rst +++ /dev/null @@ -1,2 +0,0 @@ -zlib is no longer bundled in the CPython source, instead it is downloaded on -demand just like bz2, lzma, OpenSSL, Tcl/Tk, and SQLite. diff --git a/Misc/NEWS.d/next/Windows/2017-09-06-17-14-54.bpo-30389.9Dizrx.rst b/Misc/NEWS.d/next/Windows/2017-09-06-17-14-54.bpo-30389.9Dizrx.rst deleted file mode 100644 index 7c72e31514..0000000000 --- a/Misc/NEWS.d/next/Windows/2017-09-06-17-14-54.bpo-30389.9Dizrx.rst +++ /dev/null @@ -1 +0,0 @@ -Adds detection of Visual Studio 2017 to distutils on Windows. diff --git a/Misc/NEWS.d/next/Windows/2017-09-07-20-09-04.bpo-31392.h92bWF.rst b/Misc/NEWS.d/next/Windows/2017-09-07-20-09-04.bpo-31392.h92bWF.rst deleted file mode 100644 index cc1cb787e5..0000000000 --- a/Misc/NEWS.d/next/Windows/2017-09-07-20-09-04.bpo-31392.h92bWF.rst +++ /dev/null @@ -1 +0,0 @@ -Update Windows build to use OpenSSL 1.1.0f |