From 46b0a3247dd09bb572aec3de828b7c88c17516f3 Mon Sep 17 00:00:00 2001 From: Ned Deily Date: Mon, 15 Aug 2016 16:12:59 -0400 Subject: Update pydoc topics for 3.6.0a4 --- Lib/pydoc_data/topics.py | 132 +++++++++++++++++++++++++++++++++++++---------- 1 file changed, 105 insertions(+), 27 deletions(-) diff --git a/Lib/pydoc_data/topics.py b/Lib/pydoc_data/topics.py index 7378dc9..590f613 100644 --- a/Lib/pydoc_data/topics.py +++ b/Lib/pydoc_data/topics.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Autogenerated by Sphinx on Mon Jul 11 15:30:24 2016 +# Autogenerated by Sphinx on Mon Aug 15 16:11:20 2016 topics = {'assert': '\n' 'The "assert" statement\n' '**********************\n' @@ -569,6 +569,14 @@ topics = {'assert': '\n' '*instance* of the\n' ' owner class.\n' '\n' + 'object.__set_name__(self, owner, name)\n' + '\n' + ' Called at the time the owning class *owner* is ' + 'created. The\n' + ' descriptor has been assigned to *name*.\n' + '\n' + ' New in version 3.6.\n' + '\n' 'The attribute "__objclass__" is interpreted by the ' '"inspect" module as\n' 'specifying the class where this object was defined ' @@ -1338,13 +1346,12 @@ topics = {'assert': '\n' '\n' 'A class definition is an executable statement. The inheritance ' 'list\n' - 'usually gives a list of base classes (see Customizing class ' - 'creation\n' - 'for more advanced uses), so each item in the list should evaluate ' - 'to a\n' - 'class object which allows subclassing. Classes without an ' - 'inheritance\n' - 'list inherit, by default, from the base class "object"; hence,\n' + 'usually gives a list of base classes (see Metaclasses for more\n' + 'advanced uses), so each item in the list should evaluate to a ' + 'class\n' + 'object which allows subclassing. Classes without an inheritance ' + 'list\n' + 'inherit, by default, from the base class "object"; hence,\n' '\n' ' class Foo:\n' ' pass\n' @@ -1377,16 +1384,14 @@ topics = {'assert': '\n' ' @f2\n' ' class Foo: pass\n' '\n' - 'is equivalent to\n' + 'is roughly equivalent to\n' '\n' ' class Foo: pass\n' ' Foo = f1(arg)(f2(Foo))\n' '\n' 'The evaluation rules for the decorator expressions are the same as ' 'for\n' - 'function decorators. The result must be a class object, which is ' - 'then\n' - 'bound to the class name.\n' + 'function decorators. The result is then bound to the class name.\n' '\n' "**Programmer's note:** Variables defined in the class definition " 'are\n' @@ -2312,11 +2317,15 @@ topics = {'assert': '\n' ' @f2\n' ' def func(): pass\n' '\n' - 'is equivalent to\n' + 'is roughly equivalent to\n' '\n' ' def func(): pass\n' ' func = f1(arg)(f2(func))\n' '\n' + 'except that the original function is not temporarily bound to ' + 'the name\n' + '"func".\n' + '\n' 'When one or more *parameters* have the form *parameter* "="\n' '*expression*, the function is said to have "default parameter ' 'values."\n' @@ -2440,13 +2449,12 @@ topics = {'assert': '\n' '\n' 'A class definition is an executable statement. The inheritance ' 'list\n' - 'usually gives a list of base classes (see Customizing class ' - 'creation\n' - 'for more advanced uses), so each item in the list should ' - 'evaluate to a\n' - 'class object which allows subclassing. Classes without an ' - 'inheritance\n' - 'list inherit, by default, from the base class "object"; hence,\n' + 'usually gives a list of base classes (see Metaclasses for more\n' + 'advanced uses), so each item in the list should evaluate to a ' + 'class\n' + 'object which allows subclassing. Classes without an inheritance ' + 'list\n' + 'inherit, by default, from the base class "object"; hence,\n' '\n' ' class Foo:\n' ' pass\n' @@ -2482,16 +2490,15 @@ topics = {'assert': '\n' ' @f2\n' ' class Foo: pass\n' '\n' - 'is equivalent to\n' + 'is roughly equivalent to\n' '\n' ' class Foo: pass\n' ' Foo = f1(arg)(f2(Foo))\n' '\n' 'The evaluation rules for the decorator expressions are the same ' 'as for\n' - 'function decorators. The result must be a class object, which ' - 'is then\n' - 'bound to the class name.\n' + 'function decorators. The result is then bound to the class ' + 'name.\n' '\n' "**Programmer's note:** Variables defined in the class definition " 'are\n' @@ -3776,7 +3783,7 @@ topics = {'assert': '\n' '\n' 'interact\n' '\n' - ' Start an interative interpreter (using the "code" module) ' + ' Start an interactive interpreter (using the "code" module) ' 'whose\n' ' global namespace contains all the (global and local) names ' 'found in\n' @@ -5296,11 +5303,15 @@ topics = {'assert': '\n' ' @f2\n' ' def func(): pass\n' '\n' - 'is equivalent to\n' + 'is roughly equivalent to\n' '\n' ' def func(): pass\n' ' func = f1(arg)(f2(func))\n' '\n' + 'except that the original function is not temporarily bound to ' + 'the name\n' + '"func".\n' + '\n' 'When one or more *parameters* have the form *parameter* "="\n' '*expression*, the function is said to have "default parameter ' 'values."\n' @@ -6032,7 +6043,7 @@ topics = {'assert': '\n' 'expression"\n' 'yields a function object. The unnamed object behaves like a ' 'function\n' - 'object defined with\n' + 'object defined with:\n' '\n' ' def (arguments):\n' ' return expression\n' @@ -7964,6 +7975,14 @@ topics = {'assert': '\n' 'of the\n' ' owner class.\n' '\n' + 'object.__set_name__(self, owner, name)\n' + '\n' + ' Called at the time the owning class *owner* is created. ' + 'The\n' + ' descriptor has been assigned to *name*.\n' + '\n' + ' New in version 3.6.\n' + '\n' 'The attribute "__objclass__" is interpreted by the "inspect" ' 'module as\n' 'specifying the class where this object was defined (setting ' @@ -8188,6 +8207,65 @@ topics = {'assert': '\n' 'Customizing class creation\n' '==========================\n' '\n' + 'Whenever a class inherits from another class, ' + '*__init_subclass__* is\n' + 'called on that class. This way, it is possible to write ' + 'classes which\n' + 'change the behavior of subclasses. This is closely related ' + 'to class\n' + 'decorators, but where class decorators only affect the ' + 'specific class\n' + 'they\'re applied to, "__init_subclass__" solely applies to ' + 'future\n' + 'subclasses of the class defining the method.\n' + '\n' + 'classmethod object.__init_subclass__(cls)\n' + '\n' + ' This method is called whenever the containing class is ' + 'subclassed.\n' + ' *cls* is then the new subclass. If defined as a normal ' + 'instance\n' + ' method, this method is implicitly converted to a class ' + 'method.\n' + '\n' + ' Keyword arguments which are given to a new class are ' + 'passed to the\n' + ' parent\'s class "__init_subclass__". For compatibility ' + 'with other\n' + ' classes using "__init_subclass__", one should take out ' + 'the needed\n' + ' keyword arguments and pass the others over to the base ' + 'class, as\n' + ' in:\n' + '\n' + ' class Philosopher:\n' + ' def __init_subclass__(cls, default_name, ' + '**kwargs):\n' + ' super().__init_subclass__(**kwargs)\n' + ' cls.default_name = default_name\n' + '\n' + ' class AustralianPhilosopher(Philosopher, ' + 'default_name="Bruce"):\n' + ' pass\n' + '\n' + ' The default implementation "object.__init_subclass__" ' + 'does nothing,\n' + ' but raises an error if it is called with any arguments.\n' + '\n' + ' Note: The metaclass hint "metaclass" is consumed by the ' + 'rest of\n' + ' the type machinery, and is never passed to ' + '"__init_subclass__"\n' + ' implementations. The actual metaclass (rather than the ' + 'explicit\n' + ' hint) can be accessed as "type(cls)".\n' + '\n' + ' New in version 3.6.\n' + '\n' + '\n' + 'Metaclasses\n' + '-----------\n' + '\n' 'By default, classes are constructed using "type()". The ' 'class body is\n' 'executed in a new namespace and the class name is bound ' -- cgit v0.12 From b87d6000f38e6158bbe1d9df5c6136f27aeace12 Mon Sep 17 00:00:00 2001 From: Ned Deily Date: Mon, 15 Aug 2016 16:21:29 -0400 Subject: Version bump for 3.6.0a4 --- Include/patchlevel.h | 4 ++-- Misc/NEWS | 2 +- README | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Include/patchlevel.h b/Include/patchlevel.h index 1f2ad19..589a543 100644 --- a/Include/patchlevel.h +++ b/Include/patchlevel.h @@ -20,10 +20,10 @@ #define PY_MINOR_VERSION 6 #define PY_MICRO_VERSION 0 #define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_ALPHA -#define PY_RELEASE_SERIAL 3 +#define PY_RELEASE_SERIAL 4 /* Version as a string */ -#define PY_VERSION "3.6.0a3+" +#define PY_VERSION "3.6.0a4" /*--end constants--*/ /* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2. diff --git a/Misc/NEWS b/Misc/NEWS index affaffd..9356dee 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -5,7 +5,7 @@ Python News What's New in Python 3.6.0 alpha 4 ================================== -*Release date: XXXX-XX-XX* +*Release date: 2016-08-15* Core and Builtins ----------------- diff --git a/README b/README index 318c5e7..2fc5e81 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -This is Python version 3.6.0 alpha 3 +This is Python version 3.6.0 alpha 4 ==================================== Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, -- cgit v0.12 From a2bd5ccce17c1dfc474e445a6f4964e07f5c216c Mon Sep 17 00:00:00 2001 From: Ned Deily Date: Mon, 15 Aug 2016 16:21:52 -0400 Subject: Added tag v3.6.0a4 for changeset 017cf260936b --- .hgtags | 1 + 1 file changed, 1 insertion(+) diff --git a/.hgtags b/.hgtags index a070bea..176902c 100644 --- a/.hgtags +++ b/.hgtags @@ -169,3 +169,4 @@ cc15d736d860303b9da90d43cd32db39bab048df v3.5.0rc2 5896da372fb044e38595fb74495de1e1e7c8fb3c v3.6.0a1 37889342355223e2fc1438de3dc7ffcd625c60f7 v3.6.0a2 f3edf13dc339b8942ae6b309771ab197dd8ce6fa v3.6.0a3 +017cf260936b444788c9b671d195b7bfd83dbd25 v3.6.0a4 -- cgit v0.12 From ac7974f778dd5d6933c44e4601637c016649a9ae Mon Sep 17 00:00:00 2001 From: Ned Deily Date: Mon, 15 Aug 2016 22:32:43 -0400 Subject: Start 3.6.0bb1 --- Include/patchlevel.h | 2 +- Misc/NEWS | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/Include/patchlevel.h b/Include/patchlevel.h index 589a543..d2263d8 100644 --- a/Include/patchlevel.h +++ b/Include/patchlevel.h @@ -23,7 +23,7 @@ #define PY_RELEASE_SERIAL 4 /* Version as a string */ -#define PY_VERSION "3.6.0a4" +#define PY_VERSION "3.6.0a4+" /*--end constants--*/ /* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2. diff --git a/Misc/NEWS b/Misc/NEWS index 9356dee..55fa6b5 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -2,6 +2,18 @@ Python News +++++++++++ +What's New in Python 3.6.0 beta 1 +================================= + +*Release date: XXXX-XX-XX* + +Core and Builtins +----------------- + +Library +------- + + What's New in Python 3.6.0 alpha 4 ================================== -- cgit v0.12