Skip to content

Commit 802eb67

Browse files
committed
Python 3.8.3rc1
1 parent d9e9049 commit 802eb67

File tree

91 files changed

+952
-230
lines changed

Some content is hidden

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

91 files changed

+952
-230
lines changed

Include/patchlevel.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818
/*--start constants--*/
1919
#define PY_MAJOR_VERSION 3
2020
#define PY_MINOR_VERSION 8
21-
#define PY_MICRO_VERSION 2
22-
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_FINAL
23-
#define PY_RELEASE_SERIAL 0
21+
#define PY_MICRO_VERSION 3
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.2+"
26+
#define PY_VERSION "3.8.3rc1"
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: 62 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# Autogenerated by Sphinx on Mon Feb 24 21:52:17 2020
2+
# Autogenerated by Sphinx on Wed Apr 29 19:18:01 2020
33
topics = {'assert': 'The "assert" statement\n'
44
'**********************\n'
55
'\n'
@@ -1475,8 +1475,8 @@
14751475
' | starred_and_keywords ["," '
14761476
'keywords_arguments]\n'
14771477
' | keywords_arguments\n'
1478-
' positional_arguments ::= ["*"] expression ("," ["*"] '
1479-
'expression)*\n'
1478+
' positional_arguments ::= positional_item ("," positional_item)*\n'
1479+
' positional_item ::= assignment_expression | "*" expression\n'
14801480
' starred_and_keywords ::= ("*" expression | keyword_item)\n'
14811481
' ("," "*" expression | "," '
14821482
'keyword_item)*\n'
@@ -1872,9 +1872,9 @@
18721872
' value is false. A counter-intuitive implication is that '
18731873
'not-a-number\n'
18741874
' values are not equal to themselves. For example, if "x =\n'
1875-
' float(\'NaN\')", "3 < x", "x < 3", "x == x", "x != x" are '
1876-
'all false.\n'
1877-
' This behavior is compliant with IEEE 754.\n'
1875+
' float(\'NaN\')", "3 < x", "x < 3" and "x == x" are all '
1876+
'false, while "x\n'
1877+
' != x" is true. This behavior is compliant with IEEE 754.\n'
18781878
'\n'
18791879
'* "None" and "NotImplemented" are singletons. **PEP 8** '
18801880
'advises\n'
@@ -2186,8 +2186,8 @@
21862186
'\n'
21872187
'The "if" statement is used for conditional execution:\n'
21882188
'\n'
2189-
' if_stmt ::= "if" expression ":" suite\n'
2190-
' ("elif" expression ":" suite)*\n'
2189+
' if_stmt ::= "if" assignment_expression ":" suite\n'
2190+
' ("elif" assignment_expression ":" suite)*\n'
21912191
' ["else" ":" suite]\n'
21922192
'\n'
21932193
'It selects exactly one of the suites by evaluating the '
@@ -2210,7 +2210,7 @@
22102210
'an\n'
22112211
'expression is true:\n'
22122212
'\n'
2213-
' while_stmt ::= "while" expression ":" suite\n'
2213+
' while_stmt ::= "while" assignment_expression ":" suite\n'
22142214
' ["else" ":" suite]\n'
22152215
'\n'
22162216
'This repeatedly tests the expression and, if it is true, '
@@ -3136,7 +3136,7 @@
31363136
'\n'
31373137
'When a description of an arithmetic operator below uses the '
31383138
'phrase\n'
3139-
'“the numeric arguments are converted to a common type,” this '
3139+
'“the numeric arguments are converted to a common type”, this '
31403140
'means\n'
31413141
'that the operator implementation for built-in types works as '
31423142
'follows:\n'
@@ -4402,8 +4402,8 @@
44024402
'\n'
44034403
'The "if" statement is used for conditional execution:\n'
44044404
'\n'
4405-
' if_stmt ::= "if" expression ":" suite\n'
4406-
' ("elif" expression ":" suite)*\n'
4405+
' if_stmt ::= "if" assignment_expression ":" suite\n'
4406+
' ("elif" assignment_expression ":" suite)*\n'
44074407
' ["else" ":" suite]\n'
44084408
'\n'
44094409
'It selects exactly one of the suites by evaluating the expressions '
@@ -4819,7 +4819,7 @@
48194819
'[","]\n'
48204820
' starred_expression ::= expression | (starred_item ",")* '
48214821
'[starred_item]\n'
4822-
' starred_item ::= expression | "*" or_expr\n'
4822+
' starred_item ::= assignment_expression | "*" or_expr\n'
48234823
'\n'
48244824
'Except when part of a list or set display, an expression list\n'
48254825
'containing at least one comma yields a tuple. The length of '
@@ -5129,11 +5129,11 @@
51295129
'only\n'
51305130
'supported by the numeric types.\n'
51315131
'\n'
5132-
'A general convention is that an empty format string ("""") '
5132+
'A general convention is that an empty format specification '
51335133
'produces\n'
51345134
'the same result as if you had called "str()" on the value. '
51355135
'A non-empty\n'
5136-
'format string typically modifies the result.\n'
5136+
'format specification typically modifies the result.\n'
51375137
'\n'
51385138
'The general form of a *standard format specifier* is:\n'
51395139
'\n'
@@ -5939,19 +5939,18 @@
59395939
'convention.\n'
59405940
'\n'
59415941
'"__*__"\n'
5942-
' System-defined names. These names are defined by the '
5943-
'interpreter\n'
5944-
' and its implementation (including the standard library). '
5945-
'Current\n'
5946-
' system names are discussed in the Special method names '
5947-
'section and\n'
5948-
' elsewhere. More will likely be defined in future versions '
5949-
'of\n'
5950-
' Python. *Any* use of "__*__" names, in any context, that '
5951-
'does not\n'
5952-
' follow explicitly documented use, is subject to breakage '
5953-
'without\n'
5954-
' warning.\n'
5942+
' System-defined names, informally known as “dunder” names. '
5943+
'These\n'
5944+
' names are defined by the interpreter and its '
5945+
'implementation\n'
5946+
' (including the standard library). Current system names are\n'
5947+
' discussed in the Special method names section and '
5948+
'elsewhere. More\n'
5949+
' will likely be defined in future versions of Python. *Any* '
5950+
'use of\n'
5951+
' "__*__" names, in any context, that does not follow '
5952+
'explicitly\n'
5953+
' documented use, is subject to breakage without warning.\n'
59555954
'\n'
59565955
'"__*"\n'
59575956
' Class-private names. Names in this category, when used '
@@ -6087,19 +6086,19 @@
60876086
'convention.\n'
60886087
'\n'
60896088
'"__*__"\n'
6090-
' System-defined names. These names are defined by the '
6091-
'interpreter\n'
6092-
' and its implementation (including the standard library). '
6093-
'Current\n'
6094-
' system names are discussed in the Special method names '
6095-
'section and\n'
6096-
' elsewhere. More will likely be defined in future versions '
6097-
'of\n'
6098-
' Python. *Any* use of "__*__" names, in any context, that '
6099-
'does not\n'
6100-
' follow explicitly documented use, is subject to breakage '
6101-
'without\n'
6102-
' warning.\n'
6089+
' System-defined names, informally known as “dunder” names. '
6090+
'These\n'
6091+
' names are defined by the interpreter and its '
6092+
'implementation\n'
6093+
' (including the standard library). Current system names '
6094+
'are\n'
6095+
' discussed in the Special method names section and '
6096+
'elsewhere. More\n'
6097+
' will likely be defined in future versions of Python. '
6098+
'*Any* use of\n'
6099+
' "__*__" names, in any context, that does not follow '
6100+
'explicitly\n'
6101+
' documented use, is subject to breakage without warning.\n'
61036102
'\n'
61046103
'"__*"\n'
61056104
' Class-private names. Names in this category, when used '
@@ -6114,8 +6113,8 @@
61146113
'\n'
61156114
'The "if" statement is used for conditional execution:\n'
61166115
'\n'
6117-
' if_stmt ::= "if" expression ":" suite\n'
6118-
' ("elif" expression ":" suite)*\n'
6116+
' if_stmt ::= "if" assignment_expression ":" suite\n'
6117+
' ("elif" assignment_expression ":" suite)*\n'
61196118
' ["else" ":" suite]\n'
61206119
'\n'
61216120
'It selects exactly one of the suites by evaluating the expressions '
@@ -6984,7 +6983,7 @@
69846983
'program is represented by objects or by relations between '
69856984
'objects. (In\n'
69866985
'a sense, and in conformance to Von Neumann’s model of a “stored\n'
6987-
'program computer,” code is also represented by objects.)\n'
6986+
'program computer”, code is also represented by objects.)\n'
69886987
'\n'
69896988
'Every object has an identity, a type and a value. An object’s\n'
69906989
'*identity* never changes once it has been created; you may think '
@@ -9012,7 +9011,7 @@
90129011
'\n'
90139012
'If the metaclass has no "__prepare__" attribute, then the '
90149013
'class\n'
9015-
'namespace is initialised as an empty "dict()".\n'
9014+
'namespace is initialised as an empty ordered mapping.\n'
90169015
'\n'
90179016
'See also:\n'
90189017
'\n'
@@ -11432,6 +11431,16 @@
1143211431
' then they can be used interchangeably to index the same\n'
1143311432
' dictionary entry.\n'
1143411433
'\n'
11434+
' Dictionaries preserve insertion order, meaning that keys will '
11435+
'be\n'
11436+
' produced in the same order they were added sequentially over '
11437+
'the\n'
11438+
' dictionary. Replacing an existing key does not change the '
11439+
'order,\n'
11440+
' however removing a key and re-inserting it will add it to '
11441+
'the\n'
11442+
' end instead of keeping its old place.\n'
11443+
'\n'
1143511444
' Dictionaries are mutable; they can be created by the "{...}"\n'
1143611445
' notation (see section Dictionary displays).\n'
1143711446
'\n'
@@ -11440,6 +11449,13 @@
1144011449
'"collections"\n'
1144111450
' module.\n'
1144211451
'\n'
11452+
' Changed in version 3.7: Dictionaries did not preserve '
11453+
'insertion\n'
11454+
' order in versions of Python before 3.6. In CPython 3.6,\n'
11455+
' insertion order was preserved, but it was considered an\n'
11456+
' implementation detail at that time rather than a language\n'
11457+
' guarantee.\n'
11458+
'\n'
1144311459
'Callable types\n'
1144411460
' These are the types to which the function call operation (see\n'
1144511461
' section Calls) can be applied:\n'
@@ -13589,7 +13605,7 @@
1358913605
'The "while" statement is used for repeated execution as long as an\n'
1359013606
'expression is true:\n'
1359113607
'\n'
13592-
' while_stmt ::= "while" expression ":" suite\n'
13608+
' while_stmt ::= "while" assignment_expression ":" suite\n'
1359313609
' ["else" ":" suite]\n'
1359413610
'\n'
1359513611
'This repeatedly tests the expression and, if it is true, executes '

0 commit comments

Comments
 (0)