From 1e9aba51e20f57c5dd7a0d5f0944e11aad7646ca Mon Sep 17 00:00:00 2001 From: Ned Deily Date: Fri, 16 Dec 2016 16:33:41 -0500 Subject: Update pydoc topics for 3.6.0rc2 --- Lib/pydoc_data/topics.py | 35 ++++++++++++++++++++++++++++++++--- 1 file changed, 32 insertions(+), 3 deletions(-) diff --git a/Lib/pydoc_data/topics.py b/Lib/pydoc_data/topics.py index c7fac33..ad3fa25 100644 --- a/Lib/pydoc_data/topics.py +++ b/Lib/pydoc_data/topics.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Autogenerated by Sphinx on Tue Dec 6 18:51:51 2016 +# Autogenerated by Sphinx on Fri Dec 16 16:33:16 2016 topics = {'assert': '\n' 'The "assert" statement\n' '**********************\n' @@ -2613,7 +2613,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' @@ -7087,7 +7088,14 @@ 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', + '"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': '\n' 'Emulating container types\n' '*************************\n' @@ -11097,6 +11105,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' -- cgit v0.12 From f7b280956df077b90c5983eeabc8accdbb0aeb8d Mon Sep 17 00:00:00 2001 From: Ned Deily Date: Fri, 16 Dec 2016 16:40:10 -0500 Subject: Version bump for 3.6.0rc2 --- 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 f59e12a..1f481b1 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_GAMMA -#define PY_RELEASE_SERIAL 1 +#define PY_RELEASE_SERIAL 2 /* Version as a string */ -#define PY_VERSION "3.6.0rc1+" +#define PY_VERSION "3.6.0rc2" /*--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 26e3486..dc2ac8d4 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -5,7 +5,7 @@ Python News What's New in Python 3.6.0 release candidate 2 ============================================== -*Release date: XXXX-XX-XX* +*Release date: 2016-12-16* Core and Builtins ----------------- diff --git a/README b/README index f833c14..5d19ff1 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -This is Python version 3.6.0 release candidate 1 +This is Python version 3.6.0 release candidate 2 ================================================ Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, -- cgit v0.12 From add9d43e4908f921a367e81d6170a9554cb47461 Mon Sep 17 00:00:00 2001 From: Ned Deily Date: Fri, 16 Dec 2016 16:42:30 -0500 Subject: Added tag v3.6.0rc2 for changeset 800a67f7806d --- .hgtags | 1 + 1 file changed, 1 insertion(+) diff --git a/.hgtags b/.hgtags index 2c4a2c7..f49b483 100644 --- a/.hgtags +++ b/.hgtags @@ -175,3 +175,4 @@ b9fadc7d1c3f9c3c77f32f35afbe1a1cc38070e6 v3.6.0b2 8345e066c0ed713c3e510cbc8fafc1c38d6d306b v3.6.0b3 18496abdb3d5c2730a659b747a89261b2219fecf v3.6.0b4 29a273eee9a523ee178f6a66c4ac9d317c8fc84f v3.6.0rc1 +800a67f7806de45a7abd5273359e704bf147c079 v3.6.0rc2 -- cgit v0.12