@@ -1482,4 +1482,37 @@ and to match the behavior of static type checkers specified in the PEP.
1482
1482
File "<stdin>", line 1, in <module>
1483
1483
TypeError: unhashable type: 'set'
1484
1484
1485
- (Contributed by Yurii Karabas in :issue: `42345 `.)
1485
+ (Contributed by Yurii Karabas in :issue: `42345 `.)
1486
+
1487
+ macOS 11.0 (Big Sur) and Apple Silicon Mac support
1488
+ --------------------------------------------------
1489
+
1490
+ As of 3.9.1, Python now fully supports building and running on macOS 11.0
1491
+ (Big Sur) and on Apple Silicon Macs (based on the ``ARM64 `` architecture).
1492
+ A new universal build variant, ``universal2 ``, is now available to natively
1493
+ support both ``ARM64 `` and ``Intel 64 `` in one set of executables. Binaries
1494
+ can also now be built on current versions of macOS to be deployed on a range
1495
+ of older macOS versions (tested to 10.9) while making some newer OS
1496
+ functions and options conditionally available based on the operating system
1497
+ version in use at runtime ("weaklinking").
1498
+
1499
+ (Contributed by Ronald Oussoren and Lawrence D'Anna in :issue: `41100 `.)
1500
+
1501
+ Notable changes in Python 3.9.2
1502
+ ===============================
1503
+
1504
+ collections.abc
1505
+ ---------------
1506
+
1507
+ :class: `collections.abc.Callable ` generic now flattens type parameters, similar
1508
+ to what :data: `typing.Callable ` currently does. This means that
1509
+ ``collections.abc.Callable[[int, str], str] `` will have ``__args__ `` of
1510
+ ``(int, str, str) ``; previously this was ``([int, str], str) ``. To allow this
1511
+ change, :class: `types.GenericAlias ` can now be subclassed, and a subclass will
1512
+ be returned when subscripting the :class: `collections.abc.Callable ` type.
1513
+ Code which accesses the arguments via :func: `typing.get_args ` or ``__args__ ``
1514
+ need to account for this change. A :exc: `DeprecationWarning ` may be emitted for
1515
+ invalid forms of parameterizing :class: `collections.abc.Callable ` which may have
1516
+ passed silently in Python 3.9.1. This :exc: `DeprecationWarning ` will
1517
+ become a :exc: `TypeError ` in Python 3.10.
1518
+ (Contributed by Ken Jin in :issue: `42195 `.)
0 commit comments