summaryrefslogtreecommitdiff
path: root/docs/differences
diff options
context:
space:
mode:
authorDavid Lechner <david@pybricks.com>2022-11-27 17:02:35 -0600
committerDamien George <damien@micropython.org>2022-12-13 16:31:11 +1100
commit918e0ae1647b5aca0cd79589917e1bb87207342b (patch)
treeeb2d11d9c89f627cea975444d7193d01455f2edf /docs/differences
parentbf49a087b2005e45f7ec5672f5ecd2668e2deb4f (diff)
docs/differences: Update Python 3.9 status.
This marks PEP 584 as complete and notes a few PEPs as not relevant. Signed-off-by: David Lechner <david@pybricks.com>
Diffstat (limited to 'docs/differences')
-rw-r--r--docs/differences/python_39.rst52
1 files changed, 28 insertions, 24 deletions
diff --git a/docs/differences/python_39.rst b/docs/differences/python_39.rst
index 023c6d7c1..f68abc507 100644
--- a/docs/differences/python_39.rst
+++ b/docs/differences/python_39.rst
@@ -11,30 +11,30 @@ and a detailed description of the changes can be found in
.. table::
:widths: 20 60 20
- +--------------------------------------------------------+----------------------------------------------------+--------------+
- | **Features** | | **Status** |
- +--------------------------------------------------------+----------------------------------------------------+--------------+
- | `PEP 573 <https://www.python.org/dev/peps/pep-0573/>`_ | Fast access to module state from methods of C | |
- | | extension types | |
- +--------------------------------------------------------+----------------------------------------------------+--------------+
- | `PEP 584 <https://www.python.org/dev/peps/pep-0584/>`_ | Union operators added to dict | |
- +--------------------------------------------------------+----------------------------------------------------+--------------+
- | `PEP 585 <https://www.python.org/dev/peps/pep-0584/>`_ | Type hinting generics in standard collections | |
- +--------------------------------------------------------+----------------------------------------------------+--------------+
- | `PEP 593 <https://www.python.org/dev/peps/pep-0593/>`_ | Flexible function and variable annotations | |
- +--------------------------------------------------------+----------------------------------------------------+--------------+
- | `PEP 602 <https://www.python.org/dev/peps/pep-0602/>`_ | CPython adopts an annual release cycle. Instead of | |
- | | annual, aiming for two month release cycle | |
- +--------------------------------------------------------+----------------------------------------------------+--------------+
- | `PEP 614 <https://www.python.org/dev/peps/pep-0614/>`_ | Relaxed grammar restrictions on decorators | |
- +--------------------------------------------------------+----------------------------------------------------+--------------+
- | `PEP 615 <https://www.python.org/dev/peps/pep-0615/>`_ | The IANA Time Zone Database is now present in the | |
- | | standard library in the zoneinfo module | |
- +--------------------------------------------------------+----------------------------------------------------+--------------+
- | `PEP 616 <https://www.python.org/dev/peps/pep-0616/>`_ | String methods to remove prefixes and suffixes | |
- +--------------------------------------------------------+----------------------------------------------------+--------------+
- | `PEP 617 <https://www.python.org/dev/peps/pep-0617/>`_ | CPython now uses a new parser based on PEG | |
- +--------------------------------------------------------+----------------------------------------------------+--------------+
+ +--------------------------------------------------------+----------------------------------------------------+----------------------+
+ | **Features** | | **Status** |
+ +--------------------------------------------------------+----------------------------------------------------+----------------------+
+ | `PEP 573 <https://www.python.org/dev/peps/pep-0573/>`_ | Fast access to module state from methods of C | Not relevant |
+ | | extension types | |
+ +--------------------------------------------------------+----------------------------------------------------+----------------------+
+ | `PEP 584 <https://www.python.org/dev/peps/pep-0584/>`_ | Union operators added to dict | Complete [#pep584]_ |
+ +--------------------------------------------------------+----------------------------------------------------+----------------------+
+ | `PEP 585 <https://www.python.org/dev/peps/pep-0584/>`_ | Type hinting generics in standard collections | |
+ +--------------------------------------------------------+----------------------------------------------------+----------------------+
+ | `PEP 593 <https://www.python.org/dev/peps/pep-0593/>`_ | Flexible function and variable annotations | |
+ +--------------------------------------------------------+----------------------------------------------------+----------------------+
+ | `PEP 602 <https://www.python.org/dev/peps/pep-0602/>`_ | CPython adopts an annual release cycle. Instead of | Not relevant |
+ | | annual, aiming for two month release cycle | |
+ +--------------------------------------------------------+----------------------------------------------------+----------------------+
+ | `PEP 614 <https://www.python.org/dev/peps/pep-0614/>`_ | Relaxed grammar restrictions on decorators | |
+ +--------------------------------------------------------+----------------------------------------------------+----------------------+
+ | `PEP 615 <https://www.python.org/dev/peps/pep-0615/>`_ | The IANA Time Zone Database is now present in the | |
+ | | standard library in the zoneinfo module | |
+ +--------------------------------------------------------+----------------------------------------------------+----------------------+
+ | `PEP 616 <https://www.python.org/dev/peps/pep-0616/>`_ | String methods to remove prefixes and suffixes | |
+ +--------------------------------------------------------+----------------------------------------------------+----------------------+
+ | `PEP 617 <https://www.python.org/dev/peps/pep-0617/>`_ | CPython now uses a new parser based on PEG | Not relevant |
+ +--------------------------------------------------------+----------------------------------------------------+----------------------+
Other Language Changes:
@@ -128,3 +128,7 @@ Changes to built-in modules:
| Previously, *sys.stderr* was block-buffered when non-interactive. Now stderr defaults to always being | |
| line-buffered | |
+---------------------------------------------------------------------------------------------------------------+---------------+
+
+.. rubric:: Notes
+
+.. [#pep584] PEP 584 ``dict`` union operator is only available on MicroPython builds with ``MICROPY_CPYTHON_COMPAT`` enabled.