Skip to content

Commit 34214de

Browse files
committed
v3.8.0rc1
1 parent bfe1f74 commit 34214de

File tree

137 files changed

+1415
-311
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

137 files changed

+1415
-311
lines changed

Include/patchlevel.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@
1919
#define PY_MAJOR_VERSION 3
2020
#define PY_MINOR_VERSION 8
2121
#define PY_MICRO_VERSION 0
22-
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_BETA
23-
#define PY_RELEASE_SERIAL 4
22+
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_GAMMA
23+
#define PY_RELEASE_SERIAL 1
2424

2525
/* Version as a string */
26-
#define PY_VERSION "3.8.0b4+"
26+
#define PY_VERSION "3.8.0rc1"
2727
/*--end constants--*/
2828

2929
/* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.

Lib/pydoc_data/topics.py

Lines changed: 61 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# Autogenerated by Sphinx on Thu Aug 29 23:57:58 2019
2+
# Autogenerated by Sphinx on Tue Oct 1 14:53:09 2019
33
topics = {'assert': 'The "assert" statement\n'
44
'**********************\n'
55
'\n'
@@ -5375,30 +5375,34 @@
53755375
'the result |\n'
53765376
' | | formatted with presentation type "\'e\'" '
53775377
'and precision "p-1" |\n'
5378-
' | | would have exponent "exp". Then if "-4 <= '
5379-
'exp < p", the |\n'
5380-
' | | number is formatted with presentation type '
5381-
'"\'f\'" and |\n'
5382-
' | | precision "p-1-exp". Otherwise, the '
5383-
'number is formatted |\n'
5384-
' | | with presentation type "\'e\'" and '
5385-
'precision "p-1". In both |\n'
5386-
' | | cases insignificant trailing zeros are '
5387-
'removed from the |\n'
5378+
' | | would have exponent "exp". Then, if "m <= '
5379+
'exp < p", where |\n'
5380+
' | | "m" is -4 for floats and -6 for '
5381+
'"Decimals", the number is |\n'
5382+
' | | formatted with presentation type "\'f\'" '
5383+
'and precision |\n'
5384+
' | | "p-1-exp". Otherwise, the number is '
5385+
'formatted with |\n'
5386+
' | | presentation type "\'e\'" and precision '
5387+
'"p-1". In both cases |\n'
5388+
' | | insignificant trailing zeros are removed '
5389+
'from the |\n'
53885390
' | | significand, and the decimal point is also '
53895391
'removed if |\n'
53905392
' | | there are no remaining digits following '
5391-
'it. Positive and |\n'
5392-
' | | negative infinity, positive and negative '
5393-
'zero, and nans, |\n'
5394-
' | | are formatted as "inf", "-inf", "0", "-0" '
5395-
'and "nan" |\n'
5396-
' | | respectively, regardless of the '
5397-
'precision. A precision of |\n'
5398-
' | | "0" is treated as equivalent to a '
5399-
'precision of "1". The |\n'
5400-
' | | default precision is '
5401-
'"6". |\n'
5393+
'it, unless the |\n'
5394+
' | | "\'#\'" option is used. Positive and '
5395+
'negative infinity, |\n'
5396+
' | | positive and negative zero, and nans, are '
5397+
'formatted as |\n'
5398+
' | | "inf", "-inf", "0", "-0" and "nan" '
5399+
'respectively, |\n'
5400+
' | | regardless of the precision. A precision '
5401+
'of "0" is |\n'
5402+
' | | treated as equivalent to a precision of '
5403+
'"1". The default |\n'
5404+
' | | precision is '
5405+
'"6". |\n'
54025406
' '
54035407
'+-----------+------------------------------------------------------------+\n'
54045408
' | "\'G\'" | General format. Same as "\'g\'" except '
@@ -7048,6 +7052,9 @@
70487052
'| Operator | '
70497053
'Description |\n'
70507054
'|=================================================|=======================================|\n'
7055+
'| ":=" | '
7056+
'Assignment expression |\n'
7057+
'+-------------------------------------------------+---------------------------------------+\n'
70517058
'| "lambda" | '
70527059
'Lambda expression |\n'
70537060
'+-------------------------------------------------+---------------------------------------+\n'
@@ -7104,10 +7111,10 @@
71047111
'| "x(arguments...)", "x.attribute" | '
71057112
'attribute reference |\n'
71067113
'+-------------------------------------------------+---------------------------------------+\n'
7107-
'| "(expressions...)", "[expressions...]", "{key: | '
7108-
'Binding or tuple display, list |\n'
7109-
'| value...}", "{expressions...}" | '
7110-
'display, dictionary display, set |\n'
7114+
'| "(expressions...)", "[expressions...]", "{key: | '
7115+
'Binding or parenthesized expression, |\n'
7116+
'| value...}", "{expressions...}" | list '
7117+
'display, dictionary display, set |\n'
71117118
'| | '
71127119
'display |\n'
71137120
'+-------------------------------------------------+---------------------------------------+\n'
@@ -7475,7 +7482,11 @@
74757482
' estimated length for the object (which may be greater '
74767483
'or less than\n'
74777484
' the actual length). The length must be an integer ">=" '
7478-
'0. This\n'
7485+
'0. The\n'
7486+
' return value may also be "NotImplemented", which is '
7487+
'treated the\n'
7488+
' same as if the "__length_hint__" method didn’t exist at '
7489+
'all. This\n'
74797490
' method is purely an optimization and is never required '
74807491
'for\n'
74817492
' correctness.\n'
@@ -9199,7 +9210,11 @@
91999210
' estimated length for the object (which may be greater or '
92009211
'less than\n'
92019212
' the actual length). The length must be an integer ">=" 0. '
9202-
'This\n'
9213+
'The\n'
9214+
' return value may also be "NotImplemented", which is '
9215+
'treated the\n'
9216+
' same as if the "__length_hint__" method didn’t exist at '
9217+
'all. This\n'
92039218
' method is purely an optimization and is never required '
92049219
'for\n'
92059220
' correctness.\n'
@@ -12149,6 +12164,11 @@
1214912164
'therefore,\n'
1215012165
' custom mapping types should support too):\n'
1215112166
'\n'
12167+
' list(d)\n'
12168+
'\n'
12169+
' Return a list of all the keys used in the dictionary '
12170+
'*d*.\n'
12171+
'\n'
1215212172
' len(d)\n'
1215312173
'\n'
1215412174
' Return the number of items in the dictionary *d*.\n'
@@ -12317,11 +12337,21 @@
1231712337
'the\n'
1231812338
' documentation of view objects.\n'
1231912339
'\n'
12340+
' An equality comparison between one "dict.values()" '
12341+
'view and\n'
12342+
' another will always return "False". This also applies '
12343+
'when\n'
12344+
' comparing "dict.values()" to itself:\n'
12345+
'\n'
12346+
" >>> d = {'a': 1}\n"
12347+
' >>> d.values() == d.values()\n'
12348+
' False\n'
12349+
'\n'
1232012350
' Dictionaries compare equal if and only if they have the '
1232112351
'same "(key,\n'
12322-
' value)" pairs. Order comparisons (‘<’, ‘<=’, ‘>=’, ‘>’) '
12323-
'raise\n'
12324-
' "TypeError".\n'
12352+
' value)" pairs (regardless of ordering). Order comparisons '
12353+
'(‘<’,\n'
12354+
' ‘<=’, ‘>=’, ‘>’) raise "TypeError".\n'
1232512355
'\n'
1232612356
' Dictionaries preserve insertion order. Note that '
1232712357
'updating a key\n'

0 commit comments

Comments
 (0)