From d3f39d31c8fba14d3cfa56c4a6c19012ddd6e8d1 Mon Sep 17 00:00:00 2001 From: Ned Deily Date: Tue, 6 Dec 2016 18:53:16 -0500 Subject: [PATCH 1/3] Update pydoc topics for 3.6.0rc1 --- Lib/pydoc_data/topics.py | 41 ++++++++++++++++++++++++++++++++++++---- 1 file changed, 37 insertions(+), 4 deletions(-) diff --git a/Lib/pydoc_data/topics.py b/Lib/pydoc_data/topics.py index 36b4c8c19e4..c7fac3395b3 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 Nov 21 23:22:05 2016 +# Autogenerated by Sphinx on Tue Dec 6 18:51:51 2016 topics = {'assert': '\n' 'The "assert" statement\n' '**********************\n' @@ -8503,9 +8503,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 +8536,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 ' From ad2c2d380e7ebbd31712ceb59e87e84b8a7c131d Mon Sep 17 00:00:00 2001 From: Ned Deily Date: Tue, 6 Dec 2016 19:02:30 -0500 Subject: [PATCH 2/3] Version bump for 3.6.0rc1 --- Include/patchlevel.h | 6 +++--- Misc/NEWS | 2 +- README | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Include/patchlevel.h b/Include/patchlevel.h index 2d686383906..e2a9aceb98b 100644 --- a/Include/patchlevel.h +++ b/Include/patchlevel.h @@ -19,11 +19,11 @@ #define PY_MAJOR_VERSION 3 #define PY_MINOR_VERSION 6 #define PY_MICRO_VERSION 0 -#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_BETA -#define PY_RELEASE_SERIAL 4 +#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_GAMMA +#define PY_RELEASE_SERIAL 1 /* Version as a string */ -#define PY_VERSION "3.6.0b4+" +#define PY_VERSION "3.6.0rc1" /*--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 1f472488227..770c8a9623f 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -5,7 +5,7 @@ Python News What's New in Python 3.6.0 release candidate 1 ============================================== -*Release date: XXXX-XX-XX* +*Release date: 2016-12-06* Core and Builtins ----------------- diff --git a/README b/README index 66290ab8201..f833c143cce 100644 --- a/README +++ b/README @@ -1,5 +1,5 @@ -This is Python version 3.6.0 beta 4 -=================================== +This is Python version 3.6.0 release candidate 1 +================================================ Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016 Python Software Foundation. All rights reserved. From 5dd9ca9c315b9c2a08dcaab8583236c6859f1472 Mon Sep 17 00:00:00 2001 From: Ned Deily Date: Tue, 6 Dec 2016 19:04:14 -0500 Subject: [PATCH 3/3] Added tag v3.6.0rc1 for changeset 29a273eee9a5 --- .hgtags | 1 + 1 file changed, 1 insertion(+) diff --git a/.hgtags b/.hgtags index fe20cad52ee..2c4a2c73249 100644 --- a/.hgtags +++ b/.hgtags @@ -174,3 +174,4 @@ f3edf13dc339b8942ae6b309771ab197dd8ce6fa v3.6.0a3 b9fadc7d1c3f9c3c77f32f35afbe1a1cc38070e6 v3.6.0b2 8345e066c0ed713c3e510cbc8fafc1c38d6d306b v3.6.0b3 18496abdb3d5c2730a659b747a89261b2219fecf v3.6.0b4 +29a273eee9a523ee178f6a66c4ac9d317c8fc84f v3.6.0rc1