@@ -5,53 +5,59 @@ Python 3.6
55
66Python 3.6 beta 1 was released on 12 Sep 2016, and a summary of the new features can be found here:
77
8- +-----------------------------------------------------------------------------------------------------------+--------------+
9- | **New Syntax Features: ** | **Status ** |
10- +--------------------------------------------------------+--------------------------------------------------+--------------+
11- | `PEP 498 <https://www.python.org/dev/peps/pep-0498/ >`_ | Literal String Formatting | |
12- +--------------------------------------------------------+--------------------------------------------------+--------------+
13- | `PEP 515 <https://www.python.org/dev/peps/pep-0515/ >`_ | Underscores in Numeric Literals | |
14- +--------------------------------------------------------+--------------------------------------------------+--------------+
15- | `PEP 525 <https://www.python.org/dev/peps/pep-0525/ >`_ | Asynchronous Generators | |
16- +--------------------------------------------------------+--------------------------------------------------+--------------+
17- | `PEP 526 <https://www.python.org/dev/peps/pep-0526/ >`_ | Syntax for Variable Annotations (provisional) | |
18- +--------------------------------------------------------+--------------------------------------------------+--------------+
19- | `PEP 530 <https://www.python.org/dev/peps/pep-0530/ >`_ | Asynchronous Comprehensions | |
20- +--------------------------------------------------------+--------------------------------------------------+--------------+
21- | **New Built-in Features: ** |
22- +--------------------------------------------------------+--------------------------------------------------+--------------+
23- | `PEP 468 <https://www.python.org/dev/peps/pep-0468/ >`_ | Preserving the order of *kwargs * in a function | |
24- +--------------------------------------------------------+--------------------------------------------------+--------------+
25- | `PEP 487 <https://www.python.org/dev/peps/pep-0487/ >`_ | Simpler customization of class creation | |
26- +--------------------------------------------------------+--------------------------------------------------+--------------+
27- | `PEP 520 <https://www.python.org/dev/peps/pep-0520/ >`_ | Preserving Class Attribute Definition Order | |
28- +--------------------------------------------------------+--------------------------------------------------+--------------+
29- | **Standard Library Changes: ** |
30- +--------------------------------------------------------+--------------------------------------------------+--------------+
31- | `PEP 495 <https://www.python.org/dev/peps/pep-0495/ >`_ | Local Time Disambiguation | |
32- +--------------------------------------------------------+--------------------------------------------------+--------------+
33- | `PEP 506 <https://www.python.org/dev/peps/pep-0506/ >`_ | Adding A Secrets Module To The Standard Library | |
34- +--------------------------------------------------------+--------------------------------------------------+--------------+
35- | `PEP 519 <https://www.python.org/dev/peps/pep-0519/ >`_ | Adding a file system path protocol | |
36- +--------------------------------------------------------+--------------------------------------------------+--------------+
37- | **CPython internals: ** |
38- +--------------------------------------------------------+--------------------------------------------------+--------------+
39- | `PEP 509 <https://www.python.org/dev/peps/pep-0509/ >`_ | Add a private version to dict | |
40- +--------------------------------------------------------+--------------------------------------------------+--------------+
41- | `PEP 523 <https://www.python.org/dev/peps/pep-0523/ >`_ | Adding a frame evaluation API to CPython | |
42- +--------------------------------------------------------+--------------------------------------------------+--------------+
43- | **Linux/Window Changes ** |
44- +--------------------------------------------------------+--------------------------------------------------+--------------+
45- | `PEP 524 <https://www.python.org/dev/peps/pep-0524/ >`_ | Make os.urandom() blocking on Linux | |
46- | | (during system startup) | |
47- +--------------------------------------------------------+--------------------------------------------------+--------------+
48- | `PEP 528 <https://www.python.org/dev/peps/pep-0528/ >`_ | Change Windows console encoding to UTF-8 | |
49- +--------------------------------------------------------+--------------------------------------------------+--------------+
50- | `PEP 529 <https://www.python.org/dev/peps/pep-0529/ >`_ | Change Windows filesystem encoding to UTF-8 | |
51- +--------------------------------------------------------+--------------------------------------------------+--------------+
8+ .. table ::
9+ :widths: 30 50 20
10+
11+ +-----------------------------------------------------------------------------------------------------------+-----------------+
12+ | **New Syntax Features ** | **Status ** |
13+ +--------------------------------------------------------+--------------------------------------------------+-----------------+
14+ | `PEP 498 <https://www.python.org/dev/peps/pep-0498/ >`_ | Literal String Formatting | Complete |
15+ +--------------------------------------------------------+--------------------------------------------------+-----------------+
16+ | `PEP 515 <https://www.python.org/dev/peps/pep-0515/ >`_ | Underscores in Numeric Literals | Complete |
17+ +--------------------------------------------------------+--------------------------------------------------+-----------------+
18+ | `PEP 525 <https://www.python.org/dev/peps/pep-0525/ >`_ | Asynchronous Generators | |
19+ +--------------------------------------------------------+--------------------------------------------------+-----------------+
20+ | `PEP 526 <https://www.python.org/dev/peps/pep-0526/ >`_ | Syntax for Variable Annotations (provisional) | Complete |
21+ +--------------------------------------------------------+--------------------------------------------------+-----------------+
22+ | `PEP 530 <https://www.python.org/dev/peps/pep-0530/ >`_ | Asynchronous Comprehensions | |
23+ +--------------------------------------------------------+--------------------------------------------------+-----------------+
24+ | **New Built-in Features ** |
25+ +--------------------------------------------------------+--------------------------------------------------+-----------------+
26+ | `PEP 468 <https://www.python.org/dev/peps/pep-0468/ >`_ | Preserving the order of *kwargs * in a function | |
27+ +--------------------------------------------------------+--------------------------------------------------+-----------------+
28+ | `PEP 487 <https://www.python.org/dev/peps/pep-0487/ >`_ | Simpler customization of class creation | |
29+ +--------------------------------------------------------+--------------------------------------------------+-----------------+
30+ | `PEP 520 <https://www.python.org/dev/peps/pep-0520/ >`_ | Preserving Class Attribute Definition Order | |
31+ +--------------------------------------------------------+--------------------------------------------------+-----------------+
32+ | **Standard Library Changes ** |
33+ +--------------------------------------------------------+--------------------------------------------------+-----------------+
34+ | `PEP 495 <https://www.python.org/dev/peps/pep-0495/ >`_ | Local Time Disambiguation | |
35+ +--------------------------------------------------------+--------------------------------------------------+-----------------+
36+ | `PEP 506 <https://www.python.org/dev/peps/pep-0506/ >`_ | Adding A Secrets Module To The Standard Library | |
37+ +--------------------------------------------------------+--------------------------------------------------+-----------------+
38+ | `PEP 519 <https://www.python.org/dev/peps/pep-0519/ >`_ | Adding a file system path protocol | |
39+ +--------------------------------------------------------+--------------------------------------------------+-----------------+
40+ | **CPython Internals ** |
41+ +--------------------------------------------------------+--------------------------------------------------+-----------------+
42+ | `PEP 509 <https://www.python.org/dev/peps/pep-0509/ >`_ | Add a private version to dict | Won't do |
43+ +--------------------------------------------------------+--------------------------------------------------+-----------------+
44+ | `PEP 523 <https://www.python.org/dev/peps/pep-0523/ >`_ | Adding a frame evaluation API to CPython | |
45+ +--------------------------------------------------------+--------------------------------------------------+-----------------+
46+ | **Linux/Window Changes ** |
47+ +--------------------------------------------------------+--------------------------------------------------+-----------------+
48+ | `PEP 524 <https://www.python.org/dev/peps/pep-0524/ >`_ | Make ``os.urandom() `` blocking on Linux | |
49+ | | (during system startup) | |
50+ +--------------------------------------------------------+--------------------------------------------------+-----------------+
51+ | `PEP 528 <https://www.python.org/dev/peps/pep-0528/ >`_ | Change Windows console encoding to UTF-8 | |
52+ +--------------------------------------------------------+--------------------------------------------------+-----------------+
53+ | `PEP 529 <https://www.python.org/dev/peps/pep-0529/ >`_ | Change Windows filesystem encoding to UTF-8 | |
54+ +--------------------------------------------------------+--------------------------------------------------+-----------------+
5255
5356Other Language Changes:
5457
58+ .. table ::
59+ :widths: 90 10
60+
5561 +-------------------------------------------------------------------------------------------------------------+---------------+
5662 | A *global * or *nonlocal * statement must now textually appear before the first use of the affected name in | |
5763 | the same scope. Previously this was a SyntaxWarning. | |
@@ -71,14 +77,17 @@ Other Language Changes:
7177
7278Changes to built-in modules:
7379
80+ .. table ::
81+ :widths: 90 10
82+
7483 +--------------------------------------------------------------------------------------------------------------+----------------+
7584 | `array <https://docs.python.org/3.6/whatsnew/3.6.html#array >`_ | |
7685 +--------------------------------------------------------------------------------------------------------------+----------------+
7786 | Exhausted iterators of *array.array * will now stay exhausted even if the iterated array is extended. | |
7887 +--------------------------------------------------------------------------------------------------------------+----------------+
7988 | `binascii <https://docs.python.org/3.6/whatsnew/3.6.html#binascii >`_ | |
8089 +--------------------------------------------------------------------------------------------------------------+----------------+
81- | The b2a_base64() function now accepts an optional newline keyword argument to control whether the newline | Completed |
90+ | The b2a_base64() function now accepts an optional newline keyword argument to control whether the newline | Complete |
8291 | character is appended to the return value | |
8392 +--------------------------------------------------------------------------------------------------------------+----------------+
8493 | `cmath <https://docs.python.org/3.6/whatsnew/3.6.html#cmath >`_ | |
@@ -121,7 +130,7 @@ Changes to built-in modules:
121130 +--------------------------------------------------------------------------------------------------------------+----------------+
122131 | `math <https://docs.python.org/3.6/whatsnew/3.6.html#math >`_ |
123132 +--------------------------------------------------------------------------------------------------------------+----------------+
124- | The new math.tau (τ) constant has been added | Completed |
133+ | The new math.tau (τ) constant has been added | Complete |
125134 +--------------------------------------------------------------------------------------------------------------+----------------+
126135 | `os <https://docs.python.org/3.6/whatsnew/3.6.html#os >`_ |
127136 +--------------------------------------------------------------------------------------------------------------+----------------+
@@ -136,7 +145,7 @@ Changes to built-in modules:
136145 | `re <https://docs.python.org/3.6/whatsnew/3.6.html#re >`_ |
137146 +--------------------------------------------------------------------------------------------------------------+----------------+
138147 | Added support of modifier spans in regular expressions. Examples: *'(?i:p)ython' * matches 'python' and | |
139- | 'Python', but not 'PYTHON'; *'(?i)g(?-i:v)r' * matches *'GvR' * and *'gvr' *, but not *'GVR' * . | |
148+ | 'Python', but not 'PYTHON'; *'(?i)g(?-i:v)r' * matches *'GvR' * and *'gvr' *, but not *'GVR' *. | |
140149 +--------------------------------------------------------------------------------------------------------------+----------------+
141150 | Match object groups can be accessed by *__getitem__ *, which is equivalent to *group() *. So *mo['name'] * is | |
142151 | now equivalent to *mo.group('name') *. | |
0 commit comments